Location via proxy:   [ UP ]  
[Report a bug]   [Manage cookies]                
Skip to content

Gophercar is a DIY platform for self-driving miniature cars using the Go programming language.

Notifications You must be signed in to change notification settings

hybridgroup/gophercar

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

18 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Gophercar

Gophercar FPV

Gophercar is a DIY platform for self-driving miniature cars like Donkeycar (http://www.donkeycar.com/), but is written in the Go programming language. The idea is to make Gophercar able to run on any of the supported Donkeycar cars/hardware without any modification.

How it works

Arch

Car and Controller Hardware

Car OS Software

The following needs to be installed on a bootable SD card for the Raspi:

  • Raspbian Stretch OS
  • Go v1.10+
  • OpenCV 3.4.2
  • SDL2 v2.0.8+
  • Movidius NCS SDK (optional)

The following OS features must be enabled:

  • I2C
  • Camera

You will also need to update the kernel on the Raspbian Pi to v4.14+

sudo rpi-update

Current workflow

  • Edit your car in a sub-directory of the cars directory.
  • To transfer your code to the car, compile it on the car, and then run it: ./runner.sh hello 192.168.1.42

This copies the code to the Raspberry Pi, compiles it on the Pi, and then executes it.

Future workflow

  • Install the Gophercar Docker container to cross-compiling for Raspian easier, due to using binary libaries such as OpenCV/GoCV
  • Compile the code to run on your car
  • Copy the compiled executable to your car's controller using scp
  • Execute the car code on the car controller
  • Drive!

Cars

The cars directory will contain various car controller programs. Choose one to compile and put on your car controller.

Gophercon 2018

About

Gophercar is a DIY platform for self-driving miniature cars using the Go programming language.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published