DonkeyCar for JetRacer ROS Tutorial VII: Autonomous Driving
From Waveshare Wiki
DonkeyCar for JetRacer ROS Tutorial
- DonkeyCar for JetRacer ROS Tutorial I: Install Jetson Nano
- DonkeyCar for JetRacer ROS Tutorial II: Setup Linux PC
- DonkeyCar for JetRacer ROS Tutorial III: Web Control
- DonkeyCar for JetRacer ROS Tutorial IV: Joystick Control
- DonkeyCar for JetRacer ROS Tutorial V: Collect Data
- DonkeyCar for JetRacer ROS Tutorial VI: Training Data
- DonkeyCar for JetRacer ROS Tutorial VII: Autonomous Driving
Autonomous Driving
- Open the terminal on the Jetson Nano and enter the following commands to run the program.
jetson@jetson:~$ source ~/env/bin/activate (env) jetson@jetson:~$ cd mycar/ (env) jetson@jetson:~/mycar$ python manage.py drive --model ~/mycar/models/mypilot.h5
- Enter http://<jetbot_ip_address>:8887 on the browser to connect the WEB control interface of the car.
- Put the car on the map, choose Full Auto in Pilot Mode, and the car will autonomously drive along the line.