Cargo Bot

Create a small obstacle course for rovers to drive through whilst carrying cargo on top. Students need to program their rover motors carefully to navigate through the course with as much cargo on board as possible. This is a simple exercise to help students practice using rover motors and understand how to regulate speed.

Setup

This exercise is about students learning that slow and steady often works better. To construct the course we recommend placing some books down for the rover to drive over. Try not to make the course too difficult. For cargo we use common stationary, about 3-4 items that all fit on the rover is best. Avoid using cargo that will be damaged if caught in the rover tracks.

 

Some Useful Blocks

Example code

The correct answer for this challenge will change depending on the obstacle course.

The blocks to the right are some of the different type of ways you can program a rover to move and turn. We encourage students to try and experiment with different movement blocks to learn how to determine what blocks are useful in what scenarios.

We let students use fixed distance blocks in this exercise as the aim is to help them understand the important of choosing the right motor speed. You can add your own rules to introduce concepts like branching and iteration with sensors depending on the obstacle course.

 

Related Posts

Previous
Previous

Random Bug Bot 2

Next
Next

Dance Dance Rover-lution