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 guidance

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 guidance

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 guidance

  • callTime: The clock time at which the function was called (nanoseconds)

struct dvExecutionData

Public Members

uint32_t burnExecuting

[-] Flag indicating whether burn is executing

uint32_t burnComplete

[-] Flag indicating whether the burn is complete

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

char inputNavDataName[MAX_STAT_MSG_LENGTH]
char inputBurnDataName[MAX_STAT_MSG_LENGTH]
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

int32_t inputNavID

(-) ID for the incoming IMU data message

int32_t inputBurnCmdID

[-] ID for the incoming burn command data

BSKLogger *bskLogger

BSK Logging.