scenario_AttSteering#

Overview#

This script sets up a 6-DOF spacecraft orbiting Earth. The goal of this tutorial is to demonstrate how to configure and use the mrpSteering module with a rate sub-servo system the new BSK_Sim architecture.

The script is found in the folder xmera/examples/BskSim/scenarios and executed by using:

python3 scenario_AttSteering.py

The simulation mimics the basic simulation simulation in the earlier tutorial in scenarioAttitudeSteering.

The simulation layout is shown in the following illustration.

../../../_images/test_scenario_AttSteering.svg

The initial conditions for the scenario are the same as found within scenario_FeedbackRW.

Custom Dynamics Configurations Instructions#

The dynamics setup is the same as in scenario_FeedbackRW.

Custom FSW Configurations Instructions#

To configure the desired “steeringRW” FSW mode the user must add the following modules to BSK_FSW.py.

Illustration of Simulation Results#

showPlots = True
_images/Scenarios/scenario_AttSteering_attitudeErrorNorm.svg _images/Scenarios/scenario_AttSteering_rwMotorTorque.svg _images/Scenarios/scenario_AttSteering_rateError.svg _images/Scenarios/scenario_AttSteering_rwSpeed.svg