Skip to content

Thalassic reference

Thalassic is the ROS 2 software stack for AVBotz’s Marlin V3 AUV. It targets ROS 2 Jazzy (from RoboStack, via pixi) and uses Stonefish for physics simulation. The code is at avbotz/thalassic. If you are new, begin with Start here.

Page What it covers
Setup and build The pixi workflow, formatting, tests and CI, DDS discovery, GPUs, launch arguments, the workspace layout
Architecture Packages, nodes, topics, the TF tree
Control system Trajectory generator, model-based control law, thrust allocation and thruster failure, command interface, safety, tuning
Mission system sub_mission: trees and missions, the competition run, running and monitoring a mission, every behavior tree node, the control interface, how a run ends
Vision system sub_vision: topics, model loading and weights, detections, post-processors, align/orient/sweep
Foxglove Connecting, the extensions, the layouts (teleop, tuning, autonomy)
Simulation Scenario generation, sim nodes, sensor bridges, performance, the course layout
Recording A run’s MCAP bag (record:=true): what it holds, its size, replay
Networking Vehicle addresses, changing the subnet, MTU, time
Deployment Jetson provisioning and OS configuration, udev rules, running on the vehicle, updates and rollbacks
Decisions The rationale for the tooling and design choices
Terminal window
git clone --recurse-submodules https://github.com/avbotz/thalassic.git
cd thalassic
scripts/install.sh # first-time setup: pixi, the environment, the build, the models
pixi run up # the simulation
pixi shell # an interactive shell with ROS 2 and the workspace

pixi task list shows them all.

Command Does
pixi run build colcon build with the repo defaults (symlink + merge install), after removing the dangling symlinks that deleted files leave in build/ and install/
pixi run up Launch the simulation. Launch arguments go after --: pixi run up -- mission:=pid_tuning
pixi run -e jetson up pool_test Launch with real hardware (on the vehicle, in its own environment)
pixi run preflight Check the running stack before it goes in the water (--sim for the simulator)
pixi run test Every package’s tests, including a headless-simulator run of the whole stack
pixi run format Format Python (ruff), C/C++ (clang-format) and shell (shfmt)
pixi run lint Check formatting and lint without rewriting
pixi run clean Delete build/ install/ log/
pixi run reset Stop stray ROS processes and clear stale Fast DDS shared memory
pixi run fetch-weights Download the models in weights/manifest.toml
pixi run sync-mission Test the mission trees and copy them to the vehicle
Repository What it is
maritime Firmware for the board that drives the thrusters (reference)
foxglove-extensions The Foxglove panels for driving, tuning and vision
remora Turns bags into labelled datasets and trained models (private: ask a software lead for access)
stonefish, stonefish_ros2 Our forks of the simulator and its ROS 2 bridge
waterlinked_dvl Our fork of the DVL driver
software-docs This website and its diagrams