Hello! Total newbie here. I just got the Mindstorm EV3 for my 10-year old son and am trying to learn the basics in order to guide him. But I am not a technically minded person, and I know almost nothing about the software features. So, my question here is very simple: How do I program the robot to react immediately
when the infrared sensor detects an obstacle?
I'm using the Track3r robot that my son built right out of the box. All I'm trying to do is get it to go forward, right 30º, and left 60º, over and over in a wide circle until the infrared sensor detects an obstacle, at which point it should back up and turn left.
It works, but the problem I have is that it runs through the whole forward cycle (forward, right, left) before backing up. I want it to react as soon as it detects an obstacle, i.e., if it turns right only 5º and detects a chair leg, I want it to back up immediately.
Here is a screenshot of how I programmed it. (The preview pane doesn't show the image. If it doesn't appear, I'll re-post it below.)