Module: imuComm¶
This module simulates the response of an IMU unit.
Functions
- 
void SelfInit_imuProcessTelem(IMUConfigData *configData, int64_t moduleID)¶
- This method initializes the configData for theIMU 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 IMU sensor interface
- moduleID: The ID associated with the configData
 
 
- 
void CrossInit_imuProcessTelem(IMUConfigData *configData, int64_t moduleID)¶
- This method performs the second stage of initialization for the IMU 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 IMU interface
- moduleID: The ID associated with the configData
 
 
- 
void Update_imuProcessTelem(IMUConfigData *configData, uint64_t callTime, int64_t moduleID)¶
- This method takes the raw sensor data from the coarse sun sensors and converts that information to the format used by the IMU nav. - Return
- void 
- Parameters
- configData: The configuration data associated with the IMU interface
- callTime: The clock time at which the function was called (nanoseconds)
- moduleID: The ID associated with the configData
 
 
- 
struct IMUConfigData¶
- #include <imuComm.h>module configuration message Public Members - 
double dcm_BP[9]¶
- Row major platform 2 bdy 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 
 - 
IMUSensorBodyFswMsg LocalOutput¶
- Output data structure 
 - 
BSKLogger *bskLogger¶
- BSK Logging. 
 
- 
double