test_unitFacetDrag
- test_unitFacetDrag.facetDragComp(dens, areas, coeffs, normals, vel, att)[source]
Reference facet drag force in body frame using inertial velocity.
- test_unitFacetDrag.test_facetDragAtmosphereRelativeVelocityWhenWindLinked()[source]
Test that drag uses atmosphere-relative velocity when wind message is linked.
Two simulation steps are needed: step 1 populates windInData via ReadInputs(); step 2’s computeForceTorque uses that cached wind velocity. The force at step 2 is compared against facetDragComp using step-1 cached density/wind and step-2 velocity/attitude.