- Software Stack
- Os Dependencies
- Gpsd
- Python3
- Platformio
- Other Utilities
- boatd
- Driver
- Behaviour
- Arduino Interface
- Os Dependencies
- Electronics
- Captain H. Morgan
- Power Setup
- Rowind Interface
- Rigging
- Catamaran
- High Wind
- Low Wind
- Catamaran
- Hull
Gpsd is an open source GPS interface daemon that provides a standard interface to many GPS modules. We use it to talk to the A2200-A on captian morgan over Serial.
sudo apt install gpsd
Python is the primary language our control system is writen in, we use python 3 so we need to get the python3 and python3-dev packages
sudo apt install python3 python3-dev
Platformio is the software we use to deploy code to the Arduino.
pip install -U platformio
There are several other useful tools and Utilities used on the boats.
- tmux: tmux allows for session persistence and multiple concurrent shell sessions, acting like a simple window manager.
- fish: fish is a very convenient shell that allows for case insensitive tab completion and other quality of life tweaks.
- dtrx: dtrx or "do the right extraction" is a useful extraction utility that allows the use of one command to extract many types of archives.
- htop: htop is a powerful resource manager, similar to task manager in windoes.
Confiure a raspbian image with for use inside kitty.
This sets up networking to act as an access point, installs config
files and sets up udev rules for the GPS
and wind sensor.
With this configuration, the gps appears on /dev/gps
, the RO Wind on
/dev/rowind
and the Arduino on /dev/arduino
.
$ git clone https://github.com/abersailbot/kitty-arduino.git
$ cd kitty-arduino
$ git submodule init
$ git submodule update
Now, if ino tool is installed correctly (if you're using kitty-provisioner this is done for you), you can compile with:
$ ino build
$ ino upload
Alternately, use make for all the previous steps:
$ make install
Do the following:
$ git clone https://github.com/abersailbot/kitty-provisioner.git
$ cd kitty-provisioner
Edit password
and change the password, then run
$ sudo ./provision
Code to run on kitty's arduino.
Depends on CMPS10 to interact with the compass.
- Rudder Power (7.2v)
- Rudder Ground
- Rudder Servo Data
- N/C
- N/C
- Multiplexor Power (6v)
- Sail Winch Ground
- Sail Winch Live (7.2v)
- Sail Winch Data
- N/C
- Multiplexor Ground
- N/C
- Wifi Ground
- Wifi Data-
- Wifi Data+
- Wifi Power (5v)
- N/C
- Compass SDA
- Compass Ground
- Rowind Data
- Rowind Ground
- Rowind Power (14.4v)
- Compass SCL
- Compass Power (5v)
Kitty's sails, made using Sailcut. Currently two sails planned:
heavy_air.saildef
- for heavy windslight_air.saildef
- for light winds
The sails wrap around the mast, so add an extra 83mm (circumference of the mast) + 40mm (leech hem) from the mast edge of the sail.
Output formats for printing are stored in output.
Files relating to Kitty's hardware
This currently contains:
Unless specified otherwise, the files contained within are licenced under CC BY 4.0. See COPYING for the full licence.
Weights:
- Boat with most of the stuff in - 13 kilos
- Keel - 15 kilos
- box:a
- base > 29 kilos
- lid 19 kilos
- 2.09m x 0.72m x 0.60m