|Douglas Gore 8adfb78a11 Reshuffle the code to bring in the logic manager and seperate responsibilities. We should now be almost ready to introduce an autonomous mode of operation.||6 days ago|
|rubustitan||6 days ago|
|system||1 week ago|
|.gitattributes||1 year ago|
|.gitignore||7 months ago|
|LICENSE||1 year ago|
|Makefile||1 month ago|
|README.md||6 months ago|
|requirements.txt||1 month ago|
|setup.py||1 month ago|
This is a very simple Python based robot project for the Raspberry Pi designed for use with the Cam Jam 3 robotics kit. Using gpiozero and CherryPy the program will host it's own web page which can be used to control the robot.
We've made installing everything you need to get started with our browser controlled robot easy!
git clone https://codedin.wales/picymru/webbot.git cd webbot make install
Running the project is easy. From your Raspberry Pi command line, run the following:
Once running, the software will display a web address for you to connect to. By default, and for security purposes, the software will only initially allow connections from the web browser running on the Raspberry Pi by visiting http://localhost:5000
If you know what you're doing, and would like to expose the interface to all devices running on your network, then run the software using the following:
python3 webbot.py -i 0.0.0.0
This will allow you to control the robot from any device on the same network as your Raspberry Pi at http://raspberrypi.lan:5000
Once connected in your browser, by default, you can use the following keys on your keyboard to control the robot:
This project has been developed by PiCymru as part of our education and learning programme. This project is hereby released under the terms of the MIT License, and is included below
MIT License Copyright (c) 2016 PiCymru Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions: The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
Have a question? Need assistance? Don't stay stuck! If you do use this project or have any feedback we would love to hear from you, you can add an issue to our issue tracker, tweet us at @PiCymru or drop us an e-mail
A big thanks to Tim Richardson & Mike Horne for the fantastic CamJam 3 and Ben Nuttall and the gpiozero team for such a simple library.