Module: sunSafeACS¶
This method takes the estimated body-observed sun vector and computes the current attitude/attitude rate errors to pass on to control.
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
- Return
void
- Parameters
configData
: The configuration data associated with the sun safe controlmoduleID
: The ID associated with the configData
-
void
CrossInit_sunSafeACS
(sunSafeACSConfig *configData, int64_t moduleID)¶ This method performs the second stage of initialization for the sun safe ACS 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 sun safe ACS controlmoduleID
: The ID associated with the configData
-
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.
- Return
void
- Parameters
configData
: The configuration data associated with the sun safe ACS controlcallTime
: The clock time at which the function was called (nanoseconds)moduleID
: The ID associated with the configData
-
struct
sunSafeACSConfig
¶ - #include <sunSafeACS.h>
module configuration message
Public Members
-
ThrustGroupData
thrData
¶ Collection of thruster configuration data
-
char
inputControlName
[MAX_STAT_MSG_LENGTH
]¶ The name of the Input message
-
int32_t
inputMsgID
¶ ID for the incoming guidance errors
-
BSKLogger *
bskLogger
¶ BSK Logging.
-
ThrustGroupData