Module: sunSafeACS¶
Executive Summary¶
This method takes the estimated body-observed sun vector and computes the current attitude/attitude rate errors to pass on to control.
Message Connection Descriptions¶
The following table lists all the module input and output messages. The module msg connection 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 |
---|---|---|
cmdTorqueBodyInMsg |
attitude reference output message |
|
thrOnTimeOutMsg |
thruster on-time output message |
Functions
-
void SelfInit_sunSafeACS(sunSafeACSConfig *configData, int64_t moduleID)¶
This method initializes the configData for the sun safe ACS control. It checks to ensure that the inputs are sane and then creates the output message
- Parameters
configData – The configuration data associated with the sun safe control
moduleID – The ID associated with the configData
- Returns
void
-
void Update_sunSafeACS(sunSafeACSConfig *configData, uint64_t callTime, int64_t moduleID)¶
This method takes the estimated body-observed sun vector and computes the current attitude/attitude rate errors to pass on to control.
- Parameters
configData – The configuration data associated with the sun safe ACS control
callTime – The clock time at which the function was called (nanoseconds)
moduleID – The ID associated with the configData
- Returns
void
-
void Reset_sunSafeACS(sunSafeACSConfig *configData, uint64_t callTime, int64_t moduleID)¶
This method resets the module.
- Parameters
configData – The configuration data associated with the sun safe ACS control
callTime – The clock time at which the function was called (nanoseconds)
moduleID – The ID associated with the configData
- Returns
void
-
struct sunSafeACSConfig¶
- #include <sunSafeACS.h>
module configuration message
Public Members
-
ThrustGroupData thrData¶
Collection of thruster configuration data
-
CmdTorqueBodyMsg_C cmdTorqueBodyInMsg¶
The name of the Input message
-
BSKLogger *bskLogger¶
BSK Logging.
-
ThrustGroupData thrData¶