Module: hillPoint¶
This attitude guidance module computes the orbital Hill reference frame states.
The orbit can be any type of Keplerian motion, including circular, elliptical or hyperbolic.
The module
PDF Description
contains further information on this module’s function,
how to run it, as well as testing.
Functions
-
void
SelfInit_hillPoint
(hillPointConfig *configData, int64_t moduleID)¶ This method creates the module output message of type AttRefFswMsg.
- Return
void
- Parameters
configData
: The configuration data associated with RW null space modelmoduleID
: The ID associated with the configData
-
void
CrossInit_hillPoint
(hillPointConfig *configData, int64_t moduleID)¶ This method performs the second stage of initialization interface. This module has two messages to subscribe to of type EphemerisIntMsg and NavTransIntMsg.
- Return
void
- Parameters
configData
: The configuration data associated with this modulemoduleID
: The ID associated with the configData
-
void
Update_hillPoint
(hillPointConfig *configData, uint64_t callTime, int64_t moduleID)¶ This method creates a orbit hill frame reference message. The desired orientation is defined within the module.
- Return
void
- Parameters
configData
: The configuration data associated with the null space controlcallTime
: The clock time at which the function was called (nanoseconds)moduleID
: The ID associated with the configData
-
void
Reset_hillPoint
(hillPointConfig *configData, uint64_t callTime, int64_t moduleID)¶ This method performs the module reset capability. This module has no actions.
- Return
void
- Parameters
configData
: The configuration data associated with this modulemoduleID
: The ID associated with the configData
-
void
computeHillPointingReference
(hillPointConfig *configData, double r_BN_N[3], double v_BN_N[3], double celBdyPositonVector[3], double celBdyVelocityVector[3], AttRefFswMsg *attRefOut)¶
-
struct
hillPointConfig
¶ - #include <hillPoint.h>
Data structure for module to compute the Hill-frame pointing navigation solution.
Public Members
-
char
outputDataName
[MAX_STAT_MSG_LENGTH
]¶ The name of the output message.
-
int32_t
outputMsgID
¶ (-) ID for the outgoing message
The name of the incoming attitude command.
(-) ID for the incoming IMU data message
-
char
inputCelMessName
[MAX_STAT_MSG_LENGTH
]¶ The name of the celestial body message.
-
int32_t
inputCelID
¶ (-) ID for the planet input message
-
char