Skip to content

Commit

Permalink
Merge pull request #629 from AVSLab/feature/bsk-611-solar-array-deplo…
Browse files Browse the repository at this point in the history
…yment-scenario

Feature/bsk 611 solar array deployment scenario
  • Loading branch information
leahkiner authored Mar 8, 2024
2 parents 6f12949 + 4f3a62a commit 2ef7f5b
Show file tree
Hide file tree
Showing 8 changed files with 771 additions and 2 deletions.
2 changes: 2 additions & 0 deletions docs/source/Support/bskReleaseNotes.rst
Original file line number Diff line number Diff line change
Expand Up @@ -59,6 +59,8 @@ Version |release|
- Created a :ref:`prescribedRotation1DOF` dynamics module to profile a prescribed 1 DOF rotation for a secondary
rigid body connected to the spacecraft hub. This new module deprecates the ``prescribedRot1DOF`` fsw module.
To simulate the rotation, this module must be connected to the :ref:`prescribedMotionStateEffector` dynamics module.
- Created a new example scenario :ref:`scenarioDeployingSolarArrays` demonstrating how to simulate hub-relative
multi-body prescribed motion.

Version 2.2.1 (Dec. 22, 2023)
-----------------------------
Expand Down
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
1 change: 1 addition & 0 deletions examples/_default.rst
Original file line number Diff line number Diff line change
Expand Up @@ -208,6 +208,7 @@ Complex Spacecraft Dynamics Simulations
Hinged Panel Deployment <scenarioDeployingPanel>
MSM Simulation of Charged Spacecraft <scenarioTwoChargedSC>
Spacecraft with 1- or 2-DOF Panel using single effector <scenarioSpinningBodiesTwoDOF>
Prescribed Motion Rotational Solar Array Deployment <scenarioDeployingSolarArrays>

Mission Simulations
---------------------------------------
Expand Down
24 changes: 24 additions & 0 deletions examples/dataForExamples/triangularPanel.obj
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
# Apple ModelIO OBJ File: triangularPanel
mtllib triangularPanel.mtl
g
v 1.9021 0 -0.05
v -1.9021 -1.23605 -0.05
v -1.9021 1.23605 -0.05
v 1.9021 0 0.05
v -1.9021 1.23605 0.05
v -1.9021 -1.23605 0.05
vn 0 0 -1
vn 0 0 1
vn 1 1 0
vn 1 -1 0
vn -1 0 0
usemtl material_1
f 1//1 2//1 3//1
f 4//2 5//2 6//2
f 1//3 3//3 5//3
f 1//3 5//3 4//3
f 1//4 4//4 2//4
f 2//4 4//4 6//4
f 2//5 6//5 3//5
f 3//5 6//5 5//5
s off
736 changes: 736 additions & 0 deletions examples/scenarioDeployingSolarArrays.py

Large diffs are not rendered by default.

Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,8 @@ meaning that the module defaults to the bang-bang acceleration profile with no c
.. important::
To use this module for prescribed motion, it must be connected to the :ref:`PrescribedMotionStateEffector`
dynamics module. This ensures the spinning body's states are correctly incorporated into the spacecraft dynamics.
See the example script :ref:`scenarioDeployingSolarArrays` for more information about how to set up hub-relative
multi-body prescribed motion using the state effector module together with this profiler module.

Message Connection Descriptions
-------------------------------
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,9 @@ be connected to this module's :ref:`PrescribedTranslationMsgPayload` and :ref:`P
input messages to profile the prescribed body's states as a function of time. These message connections are required
to provide the prescribed body's states to this dynamics module. Note that either a single profiler can be connected to
these input messages or two separate profiler modules can be used; where one profiles the prescribed body's
translational states and the other profiles the prescribed body's rotational states.
translational states and the other profiles the prescribed body's rotational states. See the example script
:ref:`scenarioDeployingSolarArrays` for more information about how to set up hub-relative
multi-body prescribed motion using this state effector module and the associated kinematic profiler modules.

Message Connection Descriptions
-------------------------------
Expand Down Expand Up @@ -128,6 +130,7 @@ default.

unitTestSim.AddModelToTask(unitTaskName, platform)


See the example script :ref:`scenarioDeployingSolarArrays` for more information about how to set up hub-relative
multi-body prescribed motion using this state effector module and the associated kinematic profiler modules.


1 change: 1 addition & 0 deletions src/tests/test_scenarioTest.py
Original file line number Diff line number Diff line change
Expand Up @@ -65,6 +65,7 @@
, 'scenarioRendezVous'
, 'scenarioSensorThermal'
, 'scenarioHaloOrbit'
, 'scenarioDeployingSolarArrays'
])
@pytest.mark.scenarioTest
def test_scenarioBskScenarios(show_plots, scenarioCase):
Expand Down

0 comments on commit 2ef7f5b

Please sign in to comment.