Rubus TITAN (more details to follow)

Douglas Gore ea5d174625 Correct servo controls and store wheel configurations 2 months ago
rubustitan ea5d174625 Correct servo controls and store wheel configurations 2 months ago
system d095ae9ca0 Initial work towards an installable service 5 months ago
utils d7c7a498fc Add shutdown support, other cleanups 2 months ago
.gitattributes f8983bf967 :confetti_ball: Added .gitattributes & .gitignore files 1 year ago
.gitignore cbee49cb07 This is a major cleanup, and refactor using bottle. 1 year ago
LICENSE 31047b72d0 Added documentation improvements, code improvements, and simples! 1 year ago
MANIFEST.in 3ebcc7599c Commit the (hopefully) final straight line code. Also add a manifest for packaging up the sounds and web content. 2 months ago
Makefile 687739d2dd Merge branch 'master' of https://codedin.wales/doug/rubustitan 7 months ago
README.md 2290ce2dd8 Add browser control into the code by reusing webbot's interface but upgraded to utilising Websockets. 4 months ago
lowpower.sh 1734bb3a19 A few more enhancements for compatibility and performance 2 months ago
requirements.txt 0a19a6555f Another series of improvements and corrections including: 2 months ago
setup.py 8e9ef75bbc More Python package prep 7 months ago

README.md

Rubus TITAN

Rubus TITAN is a competitor in the PiWars 4.0 competition to be held in Cambridge in April 2018. This is the source code for the robot which is designed to become an educational robotics platform after the competition.

Supported hardware

  • Raspberry Pi (all models)
  • 4tronix Picon Zero
  • Speaker pHAT
  • Xbox One controller (optional)
  • Official Raspberry Pi Camera (optional but recommended)

Experimental/untested support (needs validation)

  • Explorer pHAT / HAT

Development platforms

  • Windows

Installation

Basic installation is straightforward, just enter the following:

git clone https://codedin.wales/doug/rubustitan
cd rubustitan
pip3 install -r requirements.txt
pip3 install .

Usage

Running the project is easy. From your Raspberry Pi command line, run the following:

rubustitan

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:8080

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

Control

Once connected in your browser, by default, you can use the following keys on your keyboard to control the robot:

  • Arrow keys for forwards, backwards, left turn and right turn
  • 'c' key to capture and display an image from the camera if connected
  • 'u' key to turn on/off an ultrasonic distance measurement every 2 seconds

License

This project has been developed by Douglas Gore and 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) 2018 Douglas Gore / 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.

Support

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

Acknowledgements

Coming soon