Module: dvExecuteGuidance¶
This method takes its own internal variables and creates an output attitude command to use for burn execution. It also flags whether the burn should be happening or not.
Functions
-
void
SelfInit_dvExecuteGuidance
(dvExecuteGuidanceConfig *configData, int64_t moduleID)¶ This method initializes the configData for the nominal delta-V maneuver guidance. 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 delta-V maneuver guidancemoduleID
: The ID associated with the configData
-
void
CrossInit_dvExecuteGuidance
(dvExecuteGuidanceConfig *configData, int64_t moduleID)¶ This method performs the second stage of initialization for the delta-V maneuver 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 attitude maneuver guidancemoduleID
: The ID associated with the configData
-
void
Update_dvExecuteGuidance
(dvExecuteGuidanceConfig *configData, uint64_t callTime, int64_t moduleID)¶ This method takes its own internal variables and creates an output attitude command to use for burn execution. It also flags whether the burn should be happening or not.
- Return
void
- Parameters
configData
: The configuration data associated with the delta-V maneuver guidancecallTime
: The clock time at which the function was called (nanoseconds)moduleID
: The ID associated with the configData
-
struct
dvExecutionData
¶ - #include <dvExecuteGuidance.h>
DV executation data structure.
-
struct
dvExecuteGuidanceConfig
¶ - #include <dvExecuteGuidance.h>
Top level structure for the nominal delta-V guidance.
Public Members
-
char
outputDataName
[MAX_STAT_MSG_LENGTH
]¶ [-] The name of the output message
[-] The name of the incoming attitude command
-
char
inputBurnDataName
[MAX_STAT_MSG_LENGTH
]¶ [-] Input message that configures the vehicle burn
-
char
outputThrName
[MAX_STAT_MSG_LENGTH
]¶ [-] Output thruster message name
-
double
dvInit
[3]¶ (m/s) DV reading off the accelerometers at burn start
-
uint32_t
burnExecuting
¶ (-) Flag indicating whether the burn is in progress or not
-
uint32_t
burnComplete
¶ (-) Flag indicating that burn has completed successfully
-
int32_t
outputMsgID
¶ (-) ID for the outgoing body estimate message
-
int32_t
outputThrID
¶ [-] ID for the outgoing thruster command message
(-) ID for the incoming IMU data message
-
int32_t
inputBurnCmdID
¶ [-] ID for the incoming burn command data
-
BSKLogger *
bskLogger
¶ BSK Logging.
-
char