Waveshare AlphaBot 2 User Manual page 36

Table of Contents

Advertisement

AlphaBot 2 User Manual
Then, open the browser, and enter the IP address of RPi and the port number: 8000
into the address bar. (Notices: the port number here is 8000, other than 8080.) The
image captured by the camera will be shown in the website. Clicking the direction
icon on the website can control the action of the robot.
Configure boot-up option:
Replace the file config
cd ~/AlphaBot2/mjpg-AlphaBot
sudo cp config /etc/webiopi/config
Run the command below to set the webiopi to be started up on boot.
sudo update-rc.d webiopi defaults
Open the file /etc/rc.local with your editor to add the following commands:
!
If you cannot enter this webpage, we recommend
you to use the Chrome browser or the Firefox browser.
Furthermore, please make sure the current directory of
Raspberry Pi is:
~/AlphaBot2/mjpg-AlphaBot/mjpg-AlphaBot
since there is a file index.html under this directory. And
then, input the code:
sudo webiopi -c config
to enter the index.html. Or else, you will go to the
WebIOPi Main Menu webpage.
36
share awesome hardware

Hide quick links:

Advertisement

Table of Contents
loading

Related Products for Waveshare AlphaBot 2

Table of Contents