dvAttEffect#

Executive Summary#

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.

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.

Module I/O Messages#

Msg Variable Name

Msg Type

Description

cmdTorqueBodyInMsg

CmdTorqueBodyMsgPayload

attitude reference output message

thrOnTimeOutMsg

THRArrayOnTimeCmdMsgPayload

thruster on-time output message for each thruster group

Class DvAttEffect#

class DvAttEffect : public SysModel#

module configuration message

Public Functions

void reset(uint64_t callTime) override#

This method resets the module.

Parameters:

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

Returns:

void

void updateState(uint64_t callTime) override#

This method takes the estimated body-observed sun vector and computes the current attitude/attitude rate errors to pass on to control.

Parameters:

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

Returns:

void

Public Members

ReadFunctor<CmdTorqueBodyMsgPayload> cmdTorqueBodyInMsg#

  • The name of the Input message

uint32_t numThrGroups#

  • Count on the number of thrusters groups available

ThrustGroupData thrGroups[MAX_NUM_THR_GROUPS]#

  • Thruster grouping container

BSKLogger bskLogger = {}#

BSK Logging.