In this task, we equip our robot with an ultrasonic sensor to help the robot detect obstacles. NASA wants us to demonstrate our robot ability to detect such obstacle and navigate away from them. Morgan and I programmed the robot to not physically touch these obstacles and move away from them.
The most difficult part of this challenge was creating the program with the ultrasonic sensor and determining how to connect it with the wait block. Once we figured this out, it was easy to make the robot complete the task.
We got about solving the problem by using the wait block in connection with the ultrasonic sensor. Then we investigated how the sensor worked with "wait for > change and wait for > compare. Once we got the ultrasonic sensor to detect the bottle and turn around, we had to program it to move the bottle.

No comments:
Post a Comment