test_atmoDrag

test_atmoDrag.run(show_plots, orbitCase, planetCase)[source]

Call this routine directly to run the tutorial scenario.

test_atmoDrag.test_dragInertialVelocity()[source]

Verify drag uses inertial velocity when no wind message is linked.

test_atmoDrag.test_drag_wind_velocity_automatic_usage()[source]

Verify drag initializes and runs without error when no wind message is linked.

test_atmoDrag.test_drag_wind_velocity_with_wind_message()[source]

Verify drag uses atmosphere-relative velocity when wind message is linked.

Two simulation steps are needed: step 1 populates windInData via UpdateState/ReadInputs; step 2’s computeForceTorque uses that cached wind velocity. The force at step 2 is compared against cannonballDragComp using step-1 cached density/wind and step-2 velocity/attitude.

test_atmoDrag.test_scenarioDragOrbit()[source]

This function is called by the py.test environment.