This is a management software of the donkey car software that provides rest-based API to support Donkey Car mobile app. This software currenly supports RPI 4B only. We welcome any contribution to make it work with Jetson Nano / Xavier NX.
-
clone the repo under ~
-
Go into that folder
-
Create a new virtual environment
python3 -m virtualenv -p python3 ~/env_dc --system-site-packages
source ~/env_dc/bin/activate
- Install dependencies
pip install -r requirements/production.txt
- Test the installation by running the server directly
python manage.py migrate
python manage.py runserver 0.0.0.0:8000
- Add the app as systemd service
sudo ln -s gunicorn.service /etc/systemd/system/gunicorn.service
- Edit myconfig.py in your carapp
Add this parameter to myconfig.py
(likely under ~/mycar)
AUTO_CREATE_NEW_TUB=True
Pls don't use m$ windows
wget get https://repo.anaconda.com/archive/Anaconda3-2021.05-Linux-x86_64.sh
./Anaconda*-*-Linux-x86_64.sh
q
conda create -n dconsole python=3.7
conda activate dconsole
pip install -r requirements/production.txt
git clone git@github.com:robocarstore/donkeycar.git
cd donkeycar
pip install -e .[pc]
cd ../
This project use git LFS to manage testing data. If you don't want to download the testing data(which is kind of big), you can skip them by doing
GIT_LFS_SKIP_SMUDGE=1 git clone git@github.com:robocarstore/donkeycar-console.git
Modify .env_pc_v4 and .env_pc_v3 files if neccessary
python manage.py runserver 0.0.0.0:8000
- Change .env_pc according to your PC.
pytest -s -v dkconsole/data/test_service.py -k test_xxx
pytest -s -v dkconsole/train/test_integration.py -k test_submit_job --runslow
pytest -s -v dkconsole/train/test_integration.py -k test_refresh_jobs --runslow
2/11/2020
- return device id as "docker" if running in docker mode
If you intend to use this project for making money, you must obtain our consent before you do so. Contact us at sales@robocarstore.com