Repository navigation
This maintenance release fixes vessel dynamics, guidance and control, and WAMIT import. It also standardizes ocean-current modeling and updates simulation examples.
Fixes
- Added
oceanCurrents.mfor constant and bounded stochastic currents, and updated several craft models to use the full vessel attitude when transforming currents into body coordinates. The vertical current input toremus100,npsauv, andlauvMarieis now a positive-down NED velocity. - Updated
EKF_5states.mto return the prediction for samplek+1after processing measurements at samplek, and corrected the latitude–longitude Jacobian. Call the filter at the end of each simulation step and use its output at the next step. - Corrected the 3-D path-frame rotation, wrapped the yaw error before integrating it in the nonlinear PID controller, and fixed the midpoint inserted by
order3.mandorder5.mwhen given two waypoints. [#90](#90), [#91](#91) - Updated
LOSobserver.mto use critically damped angle and rate dynamics, and applied the desired turn-rate limit in the Otter LOS path-following modes. - Corrected the REMUS 100 propeller reaction torque, depth-control acceleration state, and propeller-speed ramp. Corrected the NPS AUV cross-flow pitch moment and used beam as the strip width for heave and pitch in
crossFlowDrag.m. [#87](#87), [#88](#88), [#90](#90) - Fixed WAMIT
.frcformat detection for light vessels and added an optional water density for FRC alternative 1. [#92](#92) - Corrected wind-load handling for mirrored wind angles, enforced the wind-sea and swell parameter limits in the Torsethaugen spectrum, and updated the WGS 84 normal-gravity coefficients. [#93](#93)
Examples and documentation
- Added
exMovingMass.mto demonstrate AUV pitch control using an internal moving mass. - Updated the Otter course-control example as
exOtterEKF.m. It uses the MSS-Capytaine Otter model and illustrates EKF behavior at low speed. TheexOttercommand still launches the example. - Updated
nomoto.mandexNomoto.mto compute Bode plots directly in base MATLAB and GNU Octave. - Updated the passive wave-filter and quaternion attitude-estimation examples, the CRAFT, GNC, and General Library documentation, and the MSS Quick Reference.