GLOBAL SITE AUSTRALIAN SITE

EdVenture 5 – What IF?

Give Edison the power to make decisions

The introduction said that a robot can think or make decisions on its own and act on those decisions. Well, now were going to see how that happens using the IF icon.

Create the program and download it to Edison. Place him next to a thick black line on a white surface and press the play button. He will follow the line.

robot line tracking program

How the program works

The first thing the program does is turn on the line tracking LED. Next, the program enters an endless loop. In the loop is the, all important, IF icon. The IF icon asks: Is the line tracker on a reflective surface (white)? If the answer is YES, then the program follows the tick path out of the top of the IF icon. The dual drive icon turns Edison right. This drives him onto the black line. But, if the answer is NO, then the program follows the cross path out of the bottom of the IF icon. This dual drive icon turns Edison left and drives Edison off the line. The program then loops around again, and again, and…  

Edison is in a constant battle with himself. When he’s on the line, he wants to get off it. When he’s off the line he wants to get on it. Frustrated movement by movement he moves forward. 

EdFact

This program is very simple, but demonstrates the principal of ‘artificial’ decision making (intelligence). Scientist still don’t fully understand how the human brain works and are now using computer scientists to help make sense of their research. Do you think your brain is a giant computer?

<a onclick = "window.location.href='../drive-a-robot/'" class="su-button su-button-style-flat su-button-wide" style="color:#ffffff;background-color:#ff7000;border-color:#cccccc;border-radius:9px;-moz-border-radius:9px;-webkit-border-radius:9px" target="_blank"><span style="color:#ffffff;padding:8px 24px;font-size:18px;line-height:27px;border-color:#ffffff;border-radius:9px;-moz-border-radius:9px;-webkit-border-radius:9px;text-shadow:none;-moz-text-shadow:none;-webkit-text-shadow:none;cursor:pointer"><< EdVenture 4</span></a>
<a onclick = "window.location.href='../clap-sensing-robot/'" class="su-button su-button-style-flat su-button-wide" style="color:#ffffff;background-color:#ff7000;border-color:#cccccc;border-radius:9px;-moz-border-radius:9px;-webkit-border-radius:9px" target="_blank"><span style="color:#ffffff;padding:8px 24px;font-size:18px;line-height:27px;border-color:#ffffff;border-radius:9px;-moz-border-radius:9px;-webkit-border-radius:9px;text-shadow:none;-moz-text-shadow:none;-webkit-text-shadow:none;cursor:pointer">EdVenture 6 >></span></a>
  • Keep up with Edison

    Sign up for our newsletter to get all things Edison delivered straight to your inbox.

  • This field is for validation purposes and should be left unchanged.

Heads up

The Australian Federal Parliament has passed a law that extends goods and services tax (GST) to low value imports of physical goods imported by consumers from 1 July 2018.

This means that all customers purchasing Edison robots and accessories with an Australian shipping address must now pay GST. The GST will be automatically added to your purchase and show as a line item on your invoice.

We've detected that you are in Australia, so we wanted to let you know that we have changed your settings to view our Australian site, which displays GST inclusive pricing.

You can change back to the GLOBAL SITE at any time using the link in the top left of the page.

OK got it!    Take me to the GLOBAL SITE instead

Pin It on Pinterest

Share This