Objective: To familiarize with the Handy Board microprocessor and with the IC language.
Write a program that allows a robot to follow a black line.
If time allows, modify your program so that the robot can change its course every time it bumps on an obstacle.
You can either use your own robot or use one of the ready made robot assigned to you by the TA.
Use the specifications below to know which ports to use in your programs.
THE RED GRASS-HOPPERTHE SCORPION
Motors: Left is port 0, right is port 1. Bumpers: Left is port 7, right is port 8. Light sensors : Left is port 0, right is port 1.Note: If you're using this robot start with part two of the mission, since this robot can't follow a line. If you finish this part, program the robot to tell you which color the obstacle is every time it hits one. Motors: Left is port 0, right is port 1. Bumpers: Left is port 15, middle is port 13, right is port 14. Light sensors : Middle sensor is port 6.
You are not allowed to modify the robot's body in any way.