An open-source MATLAB library for ships, autonomous underwater vehicles, uncrewed surface vehicles and floating structures. Explore editable simulation examples, hydrodynamic models, and guidance, navigation and control algorithms, with M-files compatible with GNU Octave.
Load an MSS-compatible vessel MAT-file from MSS-Capytaine or WAMIT, review the settings and controller gains in the hydrodynamic model test window, and run a 6-DOF simulation. Adapt the editable template to a ship, USV, AUV or floating structure.
Configure irregular seas, wave spectra and directional spreading, first-order wave forces, ocean currents, and heading-autopilot or dynamic-positioning control.
Use Load vessel MAT-file to test an export directly from MSS-Capytaine. The generic model implements the 12-state, nonlinear 6-DOF equations of motion.
Updated Otter simulation
SIMotter
The new default Otter model combines MSS-Capytaine power-based added mass, radiation damping and hydrostatic restoring with nonlinear maneuvering, payload dynamics, twin-pontoon cross-flow drag and propeller thrust.
Choose PID heading control, ALOS/ILOS waypoint guidance or ALOS Hermite-spline path following. One setup window configures currents, optional directional waves, duration and time step.
Waves are initially disabled. Select the legacy-model checkbox to use otter_legacy.m; first-order wave loads are available with either model.
Dedicated AUV model
LAUV Marie
The standalone LAUV Marie model combines MSS-Capytaine hydrodynamic data with vehicle-specific nonlinear terms, calibratable viscous and friction terms, and a power-based seakeeping/maneuvering formulation.
Simulate currents, directional JONSWAP waves with depth-attenuated first-order loads, depth/heading control and ALOS guidance for 3-D path following.
The idealized bare-hull data provide a starting point for calibration against experiments.
Generate your own hydrodynamic data
MSS-Capytaine 1.2 reads CSV hull sections, MGF hull geometry, GDF panels and STL meshes, then computes hydrodynamic data with Capytaine. Explore eight example cases, including Otter twin hulls, supply vessel, S175 and tanker.
The bundled Capytaine catalogue contains testShip, LAUV Marie, supply vessel, Wigley, S175 and both Otter load conditions. The WAMIT catalogue contains tanker, FPSO and semisubmersible data. Load the included MAT-files without Python; use MSS-Capytaine to generate or regenerate data.
Craft models & editable simulations
CRAFT catalogue
Models and simulation scripts are organized under /MSS/CRAFT/AUV/, /MSS/CRAFT/USV/ and /MSS/CRAFT/SHIP/. Open any filename to view its source on GitHub. The generic hydrodynamic model and simulator are located directly in /MSS/CRAFT/.
Unified 6-DOF maneuvering and seakeeping model of the 2 m Maritime Robotics Otter, with Capytaine hydrodynamics, a setup window and optional wave loads.
The /MSS/INS/ library combines high-rate IMU data with lower-rate aiding measurements. Its five editable examples cover aided inertial navigation, heave estimation and quaternion attitude estimation using error-state Kalman filters and nonlinear observers.
Euler-angle aided INS
Compare ESKF architectures using compass, position, optional velocity, or an external AHRS.
Supporting functions in /MSS/INS/functions/ also provide repeatable IMU test signals, static attitude calculations, accelerometer-based roll and pitch, a WGS-84 gravity model, and demonstration magnetic-field references.
After installation, use mssHelp for the toolbox overview and mssCraft to list craft models, companion simulations and hydrodynamic MAT-files. In MATLAB, run mssPath from the MSS root to update the search path, then launch SIMotter, SIMlauvMarie, SIMhydroVessel or an INS example.