DonkeyCar for Pi-Setup Linux PC
From Waveshare Wiki
Guide of DonkeyCar
- Setup Raspberry Pi
- Setup Linux PC
- WEB Control
- Calibrate DonkeyCar
- Teleoperation
- Data Collection
- Train Data
- Auto-Driving
- WiKi of PiRacer Pro | WiKi of PiRacer
Install Linux PC
- Install Ubuntu 18.04 LTS in your PC (Virtual)
- Open termnial and install minconda Python 3.7 64bit
wget https://repo.anaconda.com/miniconda/Miniconda3-latest-Linux-x86_64.sh bash ./Miniconda3-latest-Linux-x86_64.sh
- Create directory for project
mkdir projects cd projects
- Clone souce codes of DonkeyCar from Github
git clone https://github.com/waveshare/donkeycar cd donkeycar git checkout master
- If you are not the first time to install Donkey, please update Conda and remove the old donkey
conda update -n base -c defaults conda conda env remove -n donkey
- Build anaconda environment
conda env create -f install/envs/ubuntu.yml conda activate donkey pip install -e .[pc]
- Install Tensorflow
Note: Herein we use the Tensorflow CPU version.
conda install tensorflow==1.13.1
- Create local directory
donkey createcar --path ~/mycar
Note:Re-Open the terminal and run conda activate donkey command to enter the donkey virtual