test_atmoDrag

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

Call this routine directly to run the tutorial scenario.

test_atmoDrag.test_dragAtmosphereRelativeVelocityDisabled()[source]

Verify nominal drag behavior is unchanged when useAtmosphereRelativeVelocity is False.

test_atmoDrag.test_dragAtmosphereRelativeVelocityEnabled()[source]

Verify drag uses v_rel = v_sc - omega x r when enabled.

test_atmoDrag.test_dragAtmosphereRelativeVelocityNearZero()[source]

Verify near-zero relative velocity does not produce invalid normalization behavior.

test_atmoDrag.test_dragAtmosphereRelativeVelocityPositionStateOptional()[source]

Verify position state is only required when atmosphere-relative velocity is enabled.

test_atmoDrag.test_dragAtmosphereRelativeVelocityResetGuardPosition()[source]

Verify Reset emits BSK_ERROR when relative velocity is enabled without a valid position state.

test_atmoDrag.test_scenarioDragOrbit()[source]

This function is called by the py.test environment.