Plan First, Then Drive
Guide a robot through a maze.
What you'll learn in this level
- How a robot plans a route before it sets off
- Why the order of the commands decides everything
- Why fewer commands are better
The Way to the Goal
Robot navigation is how robots move from one place to another while avoiding obstacles.
It's like giving a robot a map and instructions to follow so it can reach its destination safely and efficiently.
How a Robot Finds Its Way
- 1
Planning the Route
A robot plans a route from its own spot to the goal. While it does that, it looks at what stands around it.
- 2
Giving Commands
A robot follows fixed commands. For example: drive forward, turn left, stop. That is how it drives its planned route.
- 3
Going Around Obstacles
Sensors show the robot what is in the way. Then it changes its route. That way it never bumps into anything.
- 4
In Real Life
This is inside self-driving cars and warehouse robots. Vacuum robots and Mars rovers find their way like this too.
Here you program a robot. It has to drive through a grid and reach the goal.
Guess first, then experiment
You give the robot your whole command list and press start. Halfway through you see it: one command was wrong. What does it do?