University of Northampton: Junkbots

Task 5

 

 

 

Build and program a robot that can take a junk that starts just in front of the robot into a containment area, which is marked with a black line, and move the robot back behind the safety line.

Move the junk in a straight line and stop the robot when the junk is in the containment area. Move the robot back to the beginning.  The code to do this has being started on the following page.

Your task is to add instructions (see in two pages time) in place of the lines marked with // to control the robot and put the ‘junk’ into the containment area marked.

 

As part of this task you might want to add extras  to the robot to control where the junk goes. No arms, scoops, etc are provided, you need to use junk lying around to add to these to the robot if you wish.