Let's code the robot in gear up and gear down mechanism
In this chapter, you will not be learning about any new programming blocks. Instead, you will be using the programming blocks you learned about previously in this book and carrying out some fun activities with your BOOST robot. Before you get started with these activities, you will need to set up the following:
- A clear path for your robot to move around – at least 3 feet long.
- Fix the starting point of the robot. Mark it with a clear demarcation. You will be starting your robot from this position in every activity.
- A measuring tape.
Now let's perform a few activities.
Activity 1
Program your robot to move forward for five rotations at 70% speed. You can change the brick's light if you wish. Measure the time taken, and distance traveled, and then fill in the following table:
The sample...