This task uses the touch sensor, an activator and simple loop program to move your robot and negotiate collisions. This program can also be adapted to rescue objects in the rescue robot competition or strike the ball in robot soccer.
ROLES OF EACH MEMBER
Programmed robot to move 50 cm
Description: In the first move function, the direction was changed to reverse as the touch sensor was located at the back of the robot.
Description: A move function was added at the end so that the robot will turn before colliding with a wall or object.
Description: Steering direction has changed so the robot will turn a different direction when it moves forward from a collision.
Description: The duration of the last move function was changed from one rotation to three seconds so the only turn for that time before looping.
SUMMARY: The whole activity took five trials in order to complete it, stated in the flowchart below.