Controlling The Robot Using The Ultrasonic Sensor

So you’ve got the robot driving around on the black and white table. Now let’s try using the ultrasonic sensor to control the robot. You can go off road for this exercise, no need for the table.

Example Code:

 

Experiments:

How good is the robot at avoiding obstacles? Which situations cause it to crash?

How could you make it better?

 

 

This entry was posted in Tutorial and tagged , , , , . Bookmark the permalink.

1 Response to Controlling The Robot Using The Ultrasonic Sensor

  1. Pingback: Blanchardstown Library 3 Day Workshop | RoboJAM!

Leave a Reply

Your email address will not be published. Required fields are marked *