Files
vinihcrosaandClaude Opus 4.8 7847c01879 feat(world): match wave forces to MATLAB Dynamics reference
Bring WaveForces in line with VesselFastTime.m waveForce (D2 gap):

- Apply the [0 0 1 1 1 0] excitation DOF mask: drop 1st-order
  surge/sway/yaw excitation, keep heave/roll/pitch.
- Add 2nd-order mean drift on surge/sway/yaw (a^2 * D(w,b)).
- Add slow drift via difference-frequency Newman approximation
  (zero for a single regular component).
- Add wave-drift damping at the amplitude^2-weighted mean incidence,
  driven by body velocity relative to current.

Config gains meanDriftCoeff and driftDampingBw/Br tables; drops the
unused qtf/driftDampingCoeff/RAO-filter state.

Tests: assert the mask zeroes surge/sway/yaw excitation and that
mean drift is a non-zero steady force in a regular wave. All 257
ctest cases green.

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
2026-06-29 21:37:54 -03:00
..