Autonomous Remote Controlled (toy) car using deep learning. Raspberry Pi, PiCar, Python
Switch branches/tags
Nothing to show
Clone or download
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
autorc transform jpeg to imgarr Aug 17, 2018
docs mobilenet still slow, must find another way Aug 17, 2018
.gitignore Add engine node Jul 27, 2018
LICENSE Create LICENSE Aug 1, 2018
README.md Add prfile option Aug 16, 2018
manage.py Show profile info before start Aug 7, 2018
requirements.txt Better implement of pygame cam Aug 4, 2018

README.md

autoRC

Street is danger, why not making autonomous toy?

Autonomous Remote Controlled (toy) car using deep learning. Raspberry Pi, PiCar, Python

You can find hardware on here, I'm too lazy to build from scratch.

PiCar

Design

Inspired by Robot Operating System (ROS) each components is a Node and run in it own process. A Node can be sensors, controller, motion planner, camera, Deep Learning pilot... which talk to each other via pub/sub like system.

PiCar

Current implementation using Python's built in multiprocessing manager that allow sharing objects, data between Processes. Pros: Utilize CPU cores, avoid PIL, run nodes over network from different machine. Cons: Data are being pickle/unpickle multiple time and send over network which is slower than thread. May consider using more decend message queue like Redis.

Images

First attempt Second attempt
Paper road Duct tape border

Control UI

Requirement

  • Raspberry Model 2/3 or greater
  • Python 3.5
  • OpenCV (optional) or PyGame camera (just for capture video)
  • SD card 8gb or more
  • Car kit (robot HAT, mortor controller... mine just use picar)
  • Webcam or Picamera

Documents

  1. Setup Hardware
  1. Setup software
  2. Run, record
  3. Training
  1. Autopilot

Run

cd noahcar
. env/bin/activate
python manage.py start
# Or
./manage.py -p <profile_name> start