Book
Day 1 - Section 2 - Robot driving
Day 1 - Section 2 - Robot driving
Completion requirements
View
After the completion of this section the students will be able to:
- drive the robot forward
- drive the robot backward
- drive the robot first forward and then backward
- adjust the speed of the robot in order to make precise moves
Chapter 2.3 - Forward and then backward
Write the following program to drive the Edison robot forward and then backward. Use the activity sheet as start and stop markers.
Set the ‘Seconds pass’ (replace?) to an amount of time in seconds to have the robot start from behind the start line and stop before the finish line, then drive backwards and stop before the start line.
Minimum amount of time is 0.01 seconds.
Maximum amount of time is 327.67 seconds.
Try different amounts of time until your robot drives forwards and backwards and stops just before the start line.