Controller Setup
The boat is controlled from a python script called controller.py, which can also be found in the cyberboat_controls repo.
Install this on the raspberry pi controlling the boat.
Dependencies
pigpio
The pigpio is a library for the Raspberry, which allows control of the General Purpose Input Outputs (GPIO). I followed these instructions to download and install pigpio.
readchar
The readchar library is used to read single chars and keystrokes.
pip3 install readchar
Run
If all of your wiring is done correctly, all you should have to do is run controller.py on the Pi to start driving the boat! You can run this script directly from the Pi, or from an external computer by an SSH session. See usage page for instructions for operating the boat.
Last updated