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/environment/spacecraftLocation/spacecraftLocation.rst
+13-3Lines changed: 13 additions & 3 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -3,14 +3,16 @@ Executive Summary
3
3
-----------------
4
4
This module determines if one satellite has a line of sight vector to another satellite. An oblate planet is modeled through the equatorial and the polar radius. If the line of sight vector between two satellites is above this surface, then the output access message is set to true. The module has a primary spacecraft which determines access to `N` other spacecraft orbiting the same planet.
5
5
6
-
Further, the module tracks a body-fixed location `L` on the primary spacecraft (i.e. location where an antenna is attached), and you can specify an optional sensor/communication bore sight axis :math:`\hat{\bf a}` and an center-to-edge sensor/communication cone angle :math:`\theta`. In this case the access message is true if the line of sight vector between spacecraft is above the surface and the relative position vector to the other spacecraft is within this cone.
6
+
Further, the module tracks a body-fixed location `L` on the primary spacecraft (i.e. location where an antenna is attached), and you can specify an optional sensor/communication bore sight axis :math:`\hat{\bf a}` and a center-to-edge sensor/communication cone angle :math:`\theta`. In this case the access message is true if the line of sight vector between spacecraft is above the surface and the relative position vector to the other spacecraft is within this cone.
7
7
8
-
Finaly, if the other spacecraft is accessable, the range to the other satellite is stored in the output message.
8
+
Lighting conditions are also considered. If `theta_solar` is set, the module will check that the normal :math:`\hat{\bf a}` is illuminated by the sun with at most that incidence angle.
9
+
10
+
Finally, if the other spacecraft is accessible, the range to the other satellite is stored in the output message.
9
11
10
12
11
13
Module Assumptions and Limitations
12
14
----------------------------------
13
-
This module assumes all spacecraft are orbiting the same planet. The planet shape is assumed to be an ellipoid specified through the equatorial and polar radius. To account for a planet's atmosphere, increase these radii to account for the atmospheric height.
15
+
This module assumes all spacecraft are orbiting the same planet. The planet shape is assumed to be an ellipsoid specified through the equatorial and polar radius. To account for a planet's atmosphere, increase these radii to account for the atmospheric height.
14
16
15
17
Message Connection Descriptions
16
18
-------------------------------
@@ -34,6 +36,9 @@ provides information on what this message is used for.
34
36
* - scStateInMsgs
35
37
- :ref:`SCStatesMsgPayload`
36
38
- vector of other spacecraft state input messages. These are set through ``addSpacecraftToModel()``
39
+
* - sunInMsg
40
+
- :ref:`SpicePlanetStateMsgPayload`
41
+
- (optional) sun state input message. Used for illumination checking if the message is connected and `theta_solar` is set.
37
42
* - accessOutMsgs
38
43
- :ref:`AccessMsgPayload`
39
44
- output vector of ground location access messages
@@ -108,7 +113,12 @@ If this :math:`\hat{\bf a}` is considered, then the access output message sets t
108
113
109
114
\text{elevation} = \frac{\pi}{2} - \phi
110
115
116
+
Determining Solar Illumination
117
+
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
118
+
If the ``sunInMsg`` is connected and :math:`\theta_{\text{solar,max}}` is set, the illumination of the surface is considered, treating :math:`\hat{\bf a}` as the surface normal. Taking :math:`\hat{\bf s}` as the sun vector, the illumination incidence condition is met if
0 commit comments