tamComm#
Executive Summary#
This module reads in a message of type TAMSensorBodyMsgPayload, outputs the magnetometer measurement vector in vehicle’s body coordinates tam_B
to the output message tamOutMsg
.
Module Assumptions and Limitations#
No assumptions are made.
Message Connection Descriptions#
The following table lists the module input and output messages. The module msg variable name is set by the user from python. The msg type contains a link to the message structure definition, while the description provides information on what this message is used for.
Msg Variable Name |
Msg Type |
Description |
---|---|---|
tamInMsg |
TAMSensorMsgPayload |
TAM sensor interface input message |
tamOutMsg |
TAMSensorBodyMsgPayload |
TAM sensor interface output message |
User Guide#
In order to transform the tam_S
vector of TAMSensorMsgPayload from sensor to body frame, dcm_BS
should be defined.
Class TamComm#
-
class TamComm : public SysModel#
module configuration message definition
Public Functions
-
void updateState(uint64_t callTime) override#
This method takes the sensor data from the magnetometers and converts that information to the format used by the TAM nav.
- Parameters:
callTime – The clock time at which the function was called (nanoseconds)
- Returns:
void
-
void reset(uint64_t callTime) override#
This method performs a complete reset of the module. Local module variables that retain time varying states between function calls are reset to their default values.
- Parameters:
callTime – The clock time at which the function was called (nanoseconds)
- Returns:
void
Public Members
-
double dcm_BS[9]#
[T] Row - Sensor to Body DCM
-
ReadFunctor<TAMSensorMsgPayload> tamInMsg#
[-] TAM interface input message
-
Message<TAMSensorBodyMsgPayload> tamOutMsg#
[-] TAM interface output message
-
TAMSensorBodyMsgPayload tamLocalOutput#
[-] buffer of TAM output data structure
-
BSKLogger bskLogger = {}#
BSK Logging.
-
void updateState(uint64_t callTime) override#