This docker image works on Jetson Xavier NX/AGX, it comes built with OpenCV 4.10 and Tensorflow 2.14 with CUDA 11.4 built with Python 3.11
git clone https://github.com/Triton-AI/donkeycontainer.git &&
cd donkeycontainer &&
sudo chmod +x run.sh
git clone https://github.com/JetsonHacksNano/installSwapfile
cd installSwapfile
./installSwapfile.sh -s 8
reboot
git clone https://github.com/autorope/donkeycar
cd donkeycar
git checkout main
pip install -e .[nano] && pip install --force-reinstall pillow
donkey createcar --path /home/projects/mycars/deep_learning_car
That creates a car using the default deep learning template. You can also create a car that uses the gps path follow template;
donkey createcar --template=path_follow --path /home/projects/mycars/gps_path_follow_car
You can also create a car that uses the computer vision template
donkey createcar --template=cv_control --path /home/projects/mycars/cv_car
You can name your car folder anything you want.
After that change to the directory of the created car and make changes to myconfig.py as per your car's specifications
cd mycars