Python Program Control¶
Python Example Program is in the examples folder.
You can run them by using Python3.
After running the example, press「W」, 「A」, 「S」, 「D」, and you can get the car going ahead, back, left, right. And the keys「4」and「6」can increase or decrease the power of the motor.
Run it by using the following command.
After running the example, the car goes ahead automatically.
It can also turn right to get around the obstacles if there is anything obstructive ahead.
If you paste a black lane (width: around 2.5cm) on the white floor, the car will move along the lane.
When the example runs, the car will follow the object ahead.