This project is the software that does the sailcode for the Sailbot sailboat.
- Install Python
- Install the PlatformIO Core
- Install the PlatformIO Plugin (Settings -> Plugins -> Search for PlatformIO)
- Restart CLion
- Open the Project (This can be done directly from Github, File -> New -> Project from Version Control -> Github)
- Clone the repo from GitHub.
- Install the recommended extensions.
- Restart Visual Studio Code.
The project is structured as follows:
src/: The source code for the project.include/: The header files for the project.lib/: The libraries for the project.test/: The tests for the project.platformio.ini: The configuration file for the project.
As of 4/6/2026, Pins:
- SparkfunICM20948 Magnetometer: 'Wire'
- GPS: 'Wire1'
- These ones are in the Electronics Manager:
- WinchServo = new Servos::WinchServo: 'pin 9'
- MinLimitSwitchWinch = new InterruptLimitSwitchWithCallbacks: 'pin 2'
- MaxLimitSwitchWinch = new InterruptLimitSwitchWithCallbacks: 'pin 3'
- JibWinchServo = new Servos::ArduinoServo: 'pin 11'
- RudderServo = new Servos::ArduinoServo: 'pin 10'
- WindSensor = new WindSensors::FancyWindSensor: 'Serial3, 115200 baud'
You should just be able to click the play button in your IDE.

