Clear Two Enclosure Walls

Create an algorithm to use [Drive for], [Drive], [Turn to heading], and [Turn for] blocks, the Down Eye Sensor, the Front Eye Sensor, and the GPS Sensor to drive the VR Robot to clear two enclosure walls from the Castle Crasher + playground without crashing the castle. Clear as many kilograms of the walls as possible. The heaviest weight wins!
- Select the Castle Crasher + Playground.
- Code the VR Robot to clear two enclosure walls from the playground.
- Use the hidden tool to help the robot to clear the walls.
- Use the Down Eye sensor and a conditional loop to code the VR Robot to drive to the red border to clear a piece of wall.
- Use the GPS sensor and a conditional loop to navigate the VR Robot to drive along the X-axis to a specific position, and get ready to clear the next piece of wall.
- Use a loop to code the VR Robot to repeat the actions for a set number of times to clear two enclosure walls from the playground.
Helpful Hints
- To ensure that the VR Robot will not crash the castle while clearing walls, drive the robot to break the surrounding walls to create an entrance that allows the robot to move in to drive between the wall and the castle.
- Use the Down Eye sensor to detect the red border to avoid falling off the side of the playground.
Use the Reporter blocks from the Sensing category to get positional values from the GPS Sensor.
Matching Python command:
gps.x_position(MM) gps.y_position(MM)
Use the repeat until block from the Control category to code the VR Robot to repeat the blocks contained inside until the Boolean condition is reported to be true.
Matching Python command:
while condition: wait(5, MSEC)