Posted on Tuesday, April 22, 2008 • Category: Robots
The robot is controlled by a NXT-G program that listens to Bluetooth messages that tell it what to do. Normally, the commands are movement commands. These commands control the speed of the robot, whether it will go straight or turn left or right, or whether it will stop. It can also receive a command to do a radar-style scan with the ultrasonic sendor. When it gets such a command, it stops moving, and performs a sequence of ultrasonic measurements while rotating the sensor. It sends these measurements, along with data about what angle the sensor was looking at, back to the PC. When the scan ends, the robot starts responding to movement commands again.
Circuit-Zone.com © 2018. All Rights Reserved.