Create a robot that can move forward, move backward and turn a set number of degrees.
Have the robot detect the contour of the surface that it traverses.
Have the robot detect if it is about to fall of a steep slope (i.e. a cliff).
Program the leJOS robot to be able to move in any given direction. Implement a function that allows the robot to stop and/or change direction if told to do so.
Implement a function that can detect the elevation of the land that the robot traverses, and can issue motor commands based on the readings gained from the sensor that detects the elevation of the land.
Let the robot continue to execute the program until the number of cliffs it is supposed to find is met.
The ultra-sonic sensor takes 30 milliseconds to issue a ping and read the reflections that are returned from the ping. Take this into account.
Rotation of both motors simultaneously allow for faster turning speeds. The program should not tell one motor to rotate, wait for it to finish, and then tell the other motor to rotate to change the direction of the robot.
If done correctly, this program should not require threading and/or synchronization.
reu/cliff_watcher_project.txt · Last modified: 2009/02/03 08:47 by jtk