Module: dvExecuteGuidance
Executive Summary
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.
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 |
---|---|---|
attRefOutMsg |
attitude reference output message |
|
burnDataInMsg |
Input message that configures the vehicle burn |
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
- Parameters:
configData – The configuration data associated with the delta-V maneuver guidance
moduleID – The ID associated with the configData
- Returns:
void
-
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.
- Parameters:
configData – The configuration data associated with the delta-V maneuver guidance
callTime – The clock time at which the function was called (nanoseconds)
moduleID – The ID associated with the configData
- Returns:
void
-
void Reset_dvExecuteGuidance(dvExecuteGuidanceConfig *configData, uint64_t callTime, int64_t moduleID)
This resets the module.
- Parameters:
configData – The configuration data associated with this module
callTime – The clock time at which the function was called (nanoseconds)
moduleID – The unique module identifier
- Returns:
void
-
struct dvExecuteGuidanceConfig
- #include <dvExecuteGuidance.h>
Top level structure for the nominal delta-V guidance.
Public Members
-
DvExecutionDataMsg_C burnExecOutMsg
[-] The name of burn execution output message
[-] The name of the incoming attitude command
-
DvBurnCmdMsg_C burnDataInMsg
[-] Input message that configures the vehicle burn
-
THRArrayOnTimeCmdMsg_C thrCmdOutMsg
[-] 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
-
BSKLogger *bskLogger
BSK Logging.
-
DvExecutionDataMsg_C burnExecOutMsg