test_smallBodyWaypointFeedback

test_smallBodyWaypointFeedback.smallBodyWaypointFeedbackTestFunction1()[source]

This test checks for a large force return when far away from the waypoint

test_smallBodyWaypointFeedback.smallBodyWaypointFeedbackTestFunction2()[source]

This test checks that the force output is near zero when at the waypoint

test_smallBodyWaypointFeedback.test_smallBodyWaypointFeedback(show_plots)[source]

Validation Test Description

This test checks two things: a large force output when the spacecraft is far from the waypoint, and a small force output when the spacecraft is at the waypoint.

Test Parameters

:param : param show_plots: flag if plots should be shown.

Description of Variables Being Tested

In this test, the forceRequestBody variable in the CmdForceBodyMsgPayload output by the module is tested. When far away from the waypoint, the force request should be larger than 1 N. When close to the waypoint, the force request should only account for third body perturbations and SRP.