You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: src/simulation/dynamics/facetedSRPEffector/facetedSRPEffector.rst
+10-2Lines changed: 10 additions & 2 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -48,6 +48,9 @@ provides information on what each message is used for.
48
48
* - facetProjectedAreaInMsgs
49
49
- :ref:`ProjectedAreaMsgPayload`
50
50
- Input message vector containing pre-computed per-facet projected areas
51
+
* - sunEclipseInMsg
52
+
- :ref:`EclipseMsgPayload`
53
+
- (Optional) Input msg for the Sun eclipse data. If connected, the SRP force and torque are scaled by the illumination factor (0 = full shadow, 1 = full sunlight)
51
54
52
55
53
56
Module Functions
@@ -77,13 +80,14 @@ The unit test for this module is located in :ref:`test_facetedSRPEffector`. The
77
80
correctly computes the aggregate SRP force and torque acting on the spacecraft due to impinging photons
78
81
from the Sun. The test sets up a simulation with a faceted spacecraft modeled as a cubic hub with two attached
79
82
circular solar arrays. Six square facets represent the cubic hub and four circular facets represent the two solar
80
-
arrays. The test varies the initial state information of both the spacecraft and the Sun. Specifically, the test
81
-
parameterizes:
83
+
arrays. The test varies the initial state information of the spacecraft, the initial state information of the Sun,
84
+
and the Sun illumination factor. Specifically, the test parameterizes:
82
85
83
86
- Spacecraft initial inertial position
84
87
- Sun inertial position
85
88
- Spacecraft initial attitude
86
89
- Spacecraft initial angular velocity
90
+
- Sun visibility (illumination) factor
87
91
88
92
The test checks that the computed SRP forces and torques at each timestep match the values output from the module.
89
93
@@ -189,6 +193,10 @@ The following steps are required to set up the ``facetedSRPEffector`` module in
#. Optionally, connect an eclipse message to account for shadow conditions. If connected, the computed SRP force and torque are scaled by the illumination factor (0.0 = full shadow, 1.0 = full sunlight)::
0 commit comments