Repository navigation
This maintenance release adds second-order mean wave-drift loads and fixes guidance and control, inertial navigation, reference models, and AUV/USV simulations.
Wave-drift modeling
- Added
waveDriftRAO.mfor signed second-order mean wave-drift loads in surge, sway, and yaw. The function supports long- and short-crested irregular seas using the same frequency and relative-heading conventions aswaveForceRAO.m. - Extended
waveInitialization.mto validate and interpolatevessel.driftcoefficients. Mean drift uses the zero-speed coefficient tables and squared wave-component amplitudes. - Added optional depth attenuation for submerged vehicles. Second-order contributions use
exp(-2kΔd), consistent with their dependence on squared incident-wave amplitude. - Updated
SIMhydroVessel,SIMotter, andSIMlauvMarieto include first-order and second-order wave loads. Otter loads are transformed from the hydrodynamic-data CG to the dynamics origin, while LAUV Marie applies depth attenuation. - Added wave-drift plots, documentation, and regression tests for signed coefficients, directional interpolation, depth attenuation, reference-point transformations, and missing-data handling.
Fixes
- Corrected Hermite-path cross-track error to use perpendicular distance to the path tangent. Improved polynomial path generation by preserving derivative signs and solving the cubic coefficient system without an explicit matrix inverse. #97
- Corrected scalar-compass injection in
quatObserver.mto apply the wrapped yaw error about the NED down axis. #98 - Added Gauss–Markov decay of nominal accelerometer and angular-rate biases across the INS and attitude estimators. Corrected propagation of the optional sea-level integral state and its covariance in the multiplicative EKFs. #99
- Initialized nonlinear PID and heading-reference states from the measured position and heading instead of zero. Added actuator saturation and anti-windup to the heading controllers, and improved velocity limiting in the reference models. #101
- Updated the REMUS 100 depth loops with desired vertical-velocity feedforward, a third-order depth reference model, pitch-limit anti-windup, and softer heading-observer tuning. Added the missing desired depth-rate feedforward to LAUV Marie. #103
- Corrected the legacy Otter cross-flow calculation to sum the contributions from both pontoons. #94
- Added validation of the LOS observer gain and corrected vector-time handling in
refModelPolyExp.m.