Instructions

Students will create a program that turns their robot into a true rover. 

8. Rover Exploration Routine

Next, you need to decide how long you would like the GoPiGo rover to drive around before taking another temperature and humidity reading. To do this, you will use a loop block found under the Loops tab.  You can have the program repeat for a certain amount of time or a particular number of times.  

The example below has the GoPiGo rover drive around, avoiding obstacles, for 15 seconds using a repeat for the next (15) (seconds) block. You can change the amount of time the blocks repeat for and the unit of time (seconds, minutes, or hours).