Skip to content

Latest commit

 

History

History
25 lines (22 loc) · 926 Bytes

README.md

File metadata and controls

25 lines (22 loc) · 926 Bytes

PiCar

Some scripts + a webinterface to control a remote car with a raspberry pi

Requirements

Installation

  • clone this repository to $HOME on your raspberry pi
    • $ git clone https://github.com/foodev/picar.git $HOME/picar
  • compile picar.hs as picar (you can use the build.sh script for that)
    • $ mkdir $HOME/picar/bin
    • $ bash $HOME/picar/build.sh
  • add the $HOME/picar/bin to your PATH variable
    • $ echo 'PATH="$HOME/picar/bin:$PATH"' >> $HOME/.profile
    • $ source $HOME/.profile
  • initialize the pins and start the webserver
    • picar --export
    • picar --init
    • picar --http
  • navigate your browser to http://localhost:8080
    • to access the webinterface from another pc, replace localhost with the ip of the raspberry pi
  • :)