Module: dvAttEffect¶
This module implements a DV attitude effector management algorithm. This algorithm is used to control both the RCS and DV thrusters when executing a trajectory adjustment.
Defines
-
MAX_NUM_THR_GROUPS
¶
Functions
-
void
SelfInit_dvAttEffect
(dvAttEffectConfig *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 control
-
void
CrossInit_dvAttEffect
(dvAttEffectConfig *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 control
-
void
Update_dvAttEffect
(dvAttEffectConfig *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)
-
void
Reset_dvAttEffect
(dvAttEffectConfig *configData, uint64_t callTime, int64_t moduleID)¶
-
void
computeSingleThrustBlock
(ThrustGroupData *thrData, uint64_t callTime, CmdTorqueBodyIntMsg *contrReq, int64_t moduleID)¶
-
struct
effPairs
¶
-
struct
dvAttEffectConfig
¶ - #include <dvAttEffect.h>
module configuration message
Public Members
-
char
inputControlName
[MAX_STAT_MSG_LENGTH
]¶ The name of the Input message
-
int32_t
inputMsgID
¶ ID for the incoming guidance errors
-
uint32_t
numThrGroups
¶ Count on the number of thrusters groups available
-
ThrustGroupData
thrGroups
[MAX_NUM_THR_GROUPS
]¶ Thruster grouping container
-
char