Instructions

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

5. Programming Movement

Now, you need to program the GoPiGo rover to traverse the planet, without running into

obstacles, while collecting temperature and humidity data. There are different ways to accomplish this, one is using a drive (forward) (while) block. 

 

Attach block(s) to tell the GoPiGo under what circumstances it should drive forward. Again, this can be accomplished in different ways.  One way is to connect a distance sensor block from the true/false category.

Change the inequality symbol and distance values to reflect under what conditions you want the GoPiGo to continue to move forward.