navAggregate#
Executive Summary#
This module takes in a series of navigation messages and constructs a navigation output message using a select subset of information from the input messages. For more information see the
PDF Description
.
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.
Figure 1: navAggregate()
Module I/O Illustration#
Msg Variable Name |
Msg Type |
Description |
---|---|---|
navAttOutMsg |
NavAttMsgPayload |
blended attitude navigation output message |
navTransOutMsg |
NavTransMsgPayload |
blended translation navigation output message |
navAttInMsg |
NavAttMsgPayload |
attitude navigation input message stored inside the |
navTransInMsg |
NavTransMsgPayload |
translation navigation input message stored inside the |
Class NavAggregate#
-
class NavAggregate : public SysModel#
Top level structure for the aggregated navigation message module.
Public Functions
-
void updateState(uint64_t callTime) override#
This method takes the navigation message snippets created by the various navigation components in the FSW and aggregates them into a single complete navigation message.
- Parameters:
callTime – The clock time at which the function was called (nanoseconds)
- Returns:
void
-
void reset(uint64_t callTime) override#
This resets the module to original states.
- Parameters:
callTime – The clock time at which the function was called (nanoseconds)
- Returns:
void
Public Members
-
AggregateAttInput attMsgs[MAX_AGG_NAV_MSG]#
[-] The incoming nav message buffer
-
AggregateTransInput transMsgs[MAX_AGG_NAV_MSG]#
[-] The incoming nav message buffer
-
Message<NavAttMsgPayload> navAttOutMsg#
blended attitude navigation output message
-
Message<NavTransMsgPayload> navTransOutMsg#
blended translation navigation output message
-
uint32_t attTimeIdx#
[-] The index of the message to use for attitude message time
-
uint32_t transTimeIdx#
[-] The index of the message to use for translation message time
-
uint32_t attIdx#
[-] The index of the message to use for inertial MRP
-
uint32_t rateIdx#
[-] The index of the message to use for attitude rate
-
uint32_t posIdx#
[-] The index of the message to use for inertial position
-
uint32_t velIdx#
[-] The index of the message to use for inertial velocity
-
uint32_t dvIdx#
[-] The index of the message to use for accumulated DV
-
uint32_t sunIdx#
[-] The index of the message to use for sun pointing
-
uint32_t attMsgCount#
[-] The total number of messages available as inputs
-
uint32_t transMsgCount#
[-] The total number of messages available as inputs
-
BSKLogger bskLogger = {}#
BSK Logging.
-
void updateState(uint64_t callTime) override#