DonkeyCar for Jetson Nano-Teleoperation
From Waveshare Wiki
Guides of DonkeyCar
- Setup Jetson Nano
- Setup Linux PC
- WEB Control
- Calibrate DonkeyCar
- Teleoperation
- Data Collection
- Train Data
- Auto-Driving
- JetRacer AI Kit WIKI
Teleoperation
- Open the ~/mycar/config.py file and find the following section to see if the CONTROLLER_TYPE is xbox, if not, change it to xbox. The game joystick delivered by the package is similar to the xbox. If you use other remote controls, set it according to the actual situation.
- Plug the gamepad receiver into the jetson nano, [Note] The receiver should be connected to the jetson nano instead of the USB port of the computer
- Run the following command to start the joystick control car.
cd ~/mycar python manage.py drive --js
- If you want to start the game joystick by default and don't want to add --js every time, please modify config.py and change the value of USE_JOYSTICK_AS_DEFAULT to True.
Joystick Control
- Left analog stick - adjust steering left and right.
- Right analog stick - increases forward throttle forward.
- Pull the analog back to the right twice to reverse.
- Whenever the throttle is not zero, driving data will be recorded as long as you are in user mode!
- Select button to switch modes - "User, Local Angle, Local(angle and throttle)"
- Triangle - increase max throttle
- X - lower max throttle
- Loop - Toggle Recording (Disabled by default. Throttle autorecording enabled by default)
- dpad up - increase throttle ratio
- dpad down - decrease throttle ratio
- dpad left - increase steering ratio
- dpad right - decrease steering ratio
- start - toggle constant throttle. Set to max throttle (modified by X and Triangle)