test_locationPointing

test_locationPointing.locationPointingTestFunction(show_plots, r_LS_NIn, locationType, use3DRate, accuracy)[source]

Test method

test_locationPointing.test_locationPointing(show_plots, r_LS_N, locationType, use3DRate, accuracy)[source]

Validation Test Description

This unit test ensures that the Attitude Guidance and Attitude Reference messages content are properly computed for a series of desired inertial target locations

Test Parameters

Discuss the test parameters used.

Parameters
  • r_LS_N (float) – position vector of location relative to spacecraft

  • locationType (int) – choose whether to use locationInMsg, celBodyInMsg or scTargetInMsg

  • use3DRate (bool) – choose between 2D or 3D rate control

  • accuracy (float) – absolute accuracy value used in the validation tests

Description of Variables Being Tested

The script checks the attitude and rate outputs.