- :-

Program Review: Cargo Retrieval

  • The program shown below is a sample solution to the Cargo Retrieval Mini-Challenge. The program makes the robot move forward and retrieve a cargo box 50 cm away, then return home with it.
Hover on any block in the program to view a detailed explanation.
Medium Motor Block On for Rotations Turns the Medium Motor forward 0.25 rotations (90 degrees). Raises the robot's arm.
Move Steering Block On for Rotations Moves the robot forward 2.84 rotations (approx. 50cm) at 50% power. The robot drives to the cargo block.
Medium Motor Block On for Rotations Turns the Medium Motor backward 0.25 rotations(90 degrees). Lowers the robot's arm.
Move Steering Block On for Rotations Moves the robot backward 2.84 rotations (approx. 50cm) at 50% power. The robot drives back to its starting location.