Module: stComm¶
This module takes the raw sensor data from the star tracker and converts that information to the format used by the ST nav.
Functions
-
void
SelfInit_stProcessTelem
(STConfigData *configData, int64_t moduleID)¶ This method initializes the configData for theST sensor interface. It checks to ensure that the inputs are sane and then creates the output message
- Return
void
- Parameters
configData
: The configuration data associated with the ST sensor interface
-
void
CrossInit_stProcessTelem
(STConfigData *configData, int64_t moduleID)¶ This method performs the second stage of initialization for the ST sensor interface. It’s primary function is to link the input messages that were created elsewhere.
- Return
void
- Parameters
configData
: The configuration data associated with the ST interface
-
void
Update_stProcessTelem
(STConfigData *configData, uint64_t callTime, int64_t moduleID)¶ This method takes the raw sensor data from the star tracker and converts that information to the format used by the ST nav.
- Return
void
- Parameters
configData
: The configuration data associated with the ST interfacecallTime
: The clock time at which the function was called (nanoseconds)
-
struct
STConfigData
¶ - #include <stComm.h>
Module configuration message.
Public Members
-
double
dcm_BP
[9]¶ Row major platform 2 body DCM
-
char
InputDataName
[MAX_STAT_MSG_LENGTH
]¶ The name of the input message
-
char
InputPropsName
[MAX_STAT_MSG_LENGTH
]¶ The name of the ADCS config data message
-
char
OutputDataName
[MAX_STAT_MSG_LENGTH
]¶ The name of the output message
-
int32_t
SensorMsgID
¶ Sensor IDs tied to the input name
-
int32_t
PropsMsgID
¶ Sensor ID tied to the ADCS config data message
-
int32_t
OutputMsgID
¶ Message ID for the output port
-
STAttFswMsg
LocalOutput
¶ Output data structure
-
double