DonkeyCar for Pi-WEB Control

From Waveshare Wiki
Jump to: navigation, search

Guide of DonkeyCar

WEB Controlling

  • Open the terminal and run the follow commands:
pi@raspberrypi:~$ source ~/env/bin/activate
(env) pi@raspberrypi:~$ cd mycar/
(env) pi@raspberrypi:~/mycar$ python manage.py drive

Note that you cannot use sudo in front of the command python manage.py drive, otherwise it cannot be run successfully.

  • Open the Chrome in host pc and go to https://<raspberrypi_ip_address>:8887 which is the WEB control page of Donkeycar
DonkeyCar for Jetson Nano 3-1.png

Choose the Max speed for the Max Throttle option. Click the right joystick windows and drag it to move the PiRacer. The Angle & Throttle bars will display the steering angle and the motor speed. You can click the Start Recording button to capture images and save to path ~/mycar/data

  • You can also go into the WEB page by your telephone.
DonkeyCar for Jetson Nano 3-2.png
  • You can also control the car by keyboard
Space: Stop Moving/Recording
R: Recording
I: Speed up
K: Slow down
J: Turn left
L: Turn right