scenarioSmallBodyFeedbackControl#
Overview#
This scenario demonstrates how to use the smallBodyWaypointFeedback() module for waypoint to waypoint motion about a
small body. In this scenario, the spacecraft holds an inertial pointing attitude while it moves to a waypoint defined in the small
body’s Hill frame. The simpleNav and planetNav moduels provide measurements to the control law in the form
of NavTransMsgPayload, NavAttMsgPayload, and EphemerisMsgPayload input messages. The control law
outputs a CmdForceBodyMsgPayload, which is read in by extForceTorque.
The control output in the spacecraft body frame can be found in the following plot:
The difference between the spacecraft position and velocity and associated references may be found in the figures below:
Finally, the attitude and attitude rate is given in the plots below.
The script is found in the folder xmera/examples and executed by using:
python3 scenarioSmallBodyFeedbackControl.py