You are now going to use all of your coding skills to programme the mBot to be an autonomous car.
Definition. An autonomous car is a vehicle capable of sensing its environment and operating without human involvement. A human passenger is not required to take control of the vehicle at any time.
React to a key being pressed on the remote control by moving forward onto the black line.
Follow the black line, indicating when it is turning either left or right.
Stopping when an obstacle is put in front of it.
Making a warning sound when an obstacle is put in front of it.
Make a note of all the changes that you do - take screen shots and write notes about what you changed / fixed and what effect your changes had.