sunlineEphem#

Executive Summary#

This module computes an ephemeris-based sunline heading.

More information can be found in 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.

Module I/O Messages#

Msg Variable Name

Msg Type

Description

navStateOutMsg

NavAttMsgPayload

name of the navigation output message containing the estimated states

sunPositionInMsg

EphemerisMsgPayload

name of the sun ephemeris input message

scPositionInMsg

NavTransMsgPayload

name of the spacecraft ephemeris input message

scAttitudeInMsg

NavAttMsgPayload

name of the spacecraft attitude input message

Class SunlineEphem#

class SunlineEphem : public SysModel#

Top level structure for the sub-module routines.

Public Functions

void updateState(uint64_t callTime) override#

Updates the sun heading based on ephemeris data. Returns the heading as a unit vector in the body frame.

Parameters:

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

Returns:

void

Public Members

Message<NavAttMsgPayload> navStateOutMsg#

The name of the output message

ReadFunctor<EphemerisMsgPayload> sunPositionInMsg#

The name of the sun ephemeris input message.

ReadFunctor<NavTransMsgPayload> scPositionInMsg#

The name of the spacecraft ephemeris input message.

ReadFunctor<NavAttMsgPayload> scAttitudeInMsg#

The name of the spacecraft attitude input message.

BSKLogger bskLogger = {}#

BSK Logging.