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 Module: mrpSteering module with a rate sub-servo system the new BSK_Sim architecture.

The script is found in the folder basilisk/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/scenario_AttSteering_attitudeErrorNorm.svg../../../_images/scenario_AttSteering_rwMotorTorque.svg../../../_images/scenario_AttSteering_rateError.svg../../../_images/scenario_AttSteering_rwSpeed.svg
scenario_AttSteering.run(showPlots)[source]

The scenarios can be run with the followings setups parameters:

Parameters

showPlots (bool) – Determines if the script should display plots

class scenario_AttSteering.scenario_AttitudeSteeringRW[source]

Bases: BSK_masters.BSKSim, BSK_masters.BSKScenario

configure_initial_conditions()[source]

Developer must override this method in their BSK_Scenario derived subclass.

log_outputs()[source]

Developer must override this method in their BSK_Scenario derived subclass.

pull_outputs(showPlots)[source]

Developer must override this method in their BSK_Scenario derived subclass.