Skip to content

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

License

Notifications You must be signed in to change notification settings

james4388/noahcar

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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 Hit record button while driving. A pair of image and json file including steering angle, speed will be produce for each frame. Record folder located at noahcar/autorc/training-set/ copy to your PC for training.
  1. Autopilot

Run

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

About

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

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published