Self Driving Toy Car

Self-driving Toy Cars #

I have a Donkey Car S1, bought from www.robocarstore.com in September 2021.

Community docs: https://docs.donkeycar.com/

Install code #

This is not using the monorepo’s Bazel build system at the moment. The donkeycar library doesn’t distribute a wheel, and I’m wary of installing it from source.

cd "$(git rev-parse --show-toplevel)/machine_learning/applications/self_driving_toy_car"
python3 -m venv .venv
source .venv/bin/activate
python3 -m pip install -r requirements.txt

Development #

cd "$(git rev-parse --show-toplevel)/machine_learning/applications/self_driving_toy_car"
source .venv/bin/activate

Logging onto the Donkey Car #

I first had to go through this setup to get the Raspberry Pi available on my WiFi. Then it was just a matter of grabbing the IP address and running:

ssh [email protected]

It prompts for a password, which for the pi user is raspberry (⚠ security risk to leave default pw)️.

The terminal looks like:

(env) pi@donkey-c98b3c:~ $

Useful documentation #