Sample nodejs code to pilot a simple raspberrypi robot
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
docs
src
.babelrc
.eslintignore
.eslintrc.js
.gitignore
.npmignore
LICENSE
README.md
_config.yml
package.json

README.md

Phil05

This is a demo project aimed to give life to an old toy, implanting a raspberrypi inside.

front

Demo Video

Demo Video

Hardware

The hardware I used for this project is:

Software

The software runs on a Raspbian 8 (jessie). The code is developed in nodejs, a promising, popular and fast serverside version of javascript. It just contains two sub-project:

  • a manual driving via keyboard
  • an autopilot test code using the sonar

Installation

git clone https://github.com/dynamick/phil05
cd phil05
sudo npm install

Make sure to have motion up and running so you could see what raspicam is viewing in real-time.

Running

You could choose the manual driving mode launching:

sudo npm run manual

... or you could try the autopilot using:

sudo npm run autopilot

... or you could launch both on two console to ibrid command your robot.