Getting Started
- Choose a Level. You may jump to any level at any time.
- Choose a command in the Program pane, enter its value, and click Add.
- Use ▲ and ▼ to reorder commands, or ✕ to delete one.
- Use Step to test one command at a time. Use Run to execute the whole program.
- If something goes wrong, use Stop or Reset Rover. Clear Program removes all commands.
- The challenge is complete when the rover finishes completely inside the green target.
Commands
Drive Forward/Reverse use millimeters. Turn Left/Right use degrees. Set Drive Speed and Set Turn Speed use percentages. Wait pauses the program. Repeat Previous Command repeats the command directly above it.
Sensor levels add special commands. Drive Until Bumper keeps driving until the front bumper touches something. Drive Until Distance keeps driving until the front distance sensor reads the distance you enter.
Level 1 - First Drive
Goal: Drive straight into the target.
- Add Drive Forward.
- Try 1200 mm.
- Press Run.
| # | Example program |
|---|---|
| 1 | Drive Forward 1200 mm |
Experiment: change the distance by 100 mm and see where the rover stops.
Level 2 - Make a Turn
Goal: Combine straight driving with a 90° turn.
| # | Example program |
|---|---|
| 1 | Drive Forward 650 mm |
| 2 | Turn Right 90° |
| 3 | Drive Forward 1200 mm |
Use Step first. Notice that turning changes the rover's direction but not its location.
Level 3 - Obstacle Course
Goal: Plan a route around multiple obstacles.
| # | Example program |
|---|---|
| 1 | Drive Forward 300 mm |
| 2 | Turn Left 90° |
| 3 | Drive Forward 840 mm |
| 4 | Turn Right 90° |
| 5 | Drive Forward 1020 mm |
This level teaches route planning. Try to find a different successful route.
Level 4 - Meet the Bumper
Goal: Use the bumper switch to find the wall, then back away and park.
| # | Example program |
|---|---|
| 1 | Drive Until Bumper |
| 2 | Drive Reverse 200 mm |
| 3 | Turn Right 90° |
| 4 | Drive Forward 300 mm |
Watch the Bumper status while the rover touches the wall.
Level 5 - Bumper Navigation
Goal: Use a wall as a known reference point, then navigate around the barriers.
| # | Example program |
|---|---|
| 1 | Drive Until Bumper |
| 2 | Drive Reverse 100 mm |
| 3 | Turn Left 90° |
| 4 | Drive Forward 940 mm |
| 5 | Turn Right 90° |
| 6 | Drive Forward 1150 mm |
| 7 | Turn Right 90° |
| 8 | Drive Forward 150 mm |
The bumper lets the program establish a physical reference instead of relying only on a guessed travel distance.
Level 6 - Distance Stop
Goal: Approach the wall without touching it, then turn toward the target.
| # | Example to start with |
|---|---|
| 1 | Drive Until Distance 200 mm |
| 2 | Turn Right 90° |
| 3 | Drive Forward 300 mm |
Run or Step through the program and watch the distance value fall as the rover approaches the wall. Adjust the final drive distance if needed to center the rover in the target.
Level 7 - Sensor Challenge
Goal: Use distance readings to navigate the tighter course without a collision.
- Before adding commands, look at the blue sensor line and the live distance reading.
- Use Drive Until Distance to stop safely before a barrier.
- Turn so the sensor points along the next safe path.
- Use another sensor-controlled drive when approaching the next obstacle.
- Use Step frequently and adjust your distances and turns.
| # | Example strategy |
|---|---|
| 1 | Drive Until Distance 150 mm |
| 2 | Turn Left 90° |
| 3 | Drive Until Distance 150 mm |
| 4+ | Continue turning and sensing to find a safe route to the target. |
Unlike the earlier examples, this challenge is intended for experimentation. There can be more than one successful program.
Debugging Tips
- If the rover hits a wall, press Reset Rover and reduce the distance or use a sensor command.
- If it turns the wrong direction, switch Turn Left and Turn Right.
- If it stops beside the target, change only one distance at a time.
- Use Step to identify exactly which command causes the problem.
- Changing speed changes how fast the simulation runs, not the requested travel distance.