Ride on a table without worry
It has probably already happened to you. mBot is riding on a table and it almost falls to the ground!
You can program mBot so that it automatically rides on the table without falling. You can use the line tracking sensor for this. We already got to know these in this exercise about sensors.
Now try it out for yourself! To make it more difficult for yourself, you can also make the mBot avoid obstacles.
Other mBot to follow
Can you program the mBot to follow another mBot? You can only do this with straight driving, curves are too difficult.
If you want to make it more difficult for yourself, you can also slow down your mBot as soon as it gets closer to the other mBot.