A person following robot demo by using node-realsense
and DFRobot HCR JavaScript API.
Operating System: Ubuntu 16.04 LTS is recommended.
Alternative install: Ubuntu Desktop 16.04 LTS
. A direct (but temporary) link to *.iso image.Build Environment: Please refer to this tutorial for details introduction.
# You know what they are
sudo apt-get install nodejs npm
# An optional workaround of "Node not found" error
sudo ln -s /usr/bin/nodejs /usr/bin/node
# Install the build tool for Node.js C++ add-on
npm install -g node-gyp
Connect Joule to a wireless LAN network and open terminal via SSH
Install application on Joule board
$ cd /path/to/follow_me.js (this project)
$ npm install
$ node main.js
Open web browser and navigate to the http://Device_IP:8000/index.html
.
Press the FOLLOW ME
to start.