chebyPosEphem#

Executive Summary#

This module allows the user to specify a set of Chebyshev coefficients to fit a space ephemeris trajectory. Next the input time is used to determine where a given body is in space.

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

posFitOutMsg

EphemerisMsgPayload

output navigation message for pos/vel

clockCorrInMsg

TDBVehicleClockCorrelationMsgPayload

clock correlation input message

Class ChebyPosEphem#

class ChebyPosEphem : public SysModel#

Top level structure for the Chebyshev position ephemeris fit system. e.

Public Functions

void updateState(uint64_t callTime) override#

This method takes the current time and computes the state of the object using that time and the stored Chebyshev coefficients. If the time provided is outside the specified range, the position vectors rail high/low appropriately.

Parameters:

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

Returns:

void

void reset(uint64_t callTime) override#

This method takes the chebyshev coefficients loaded for the position estimator and computes the coefficients needed to estimate the time derivative of that position vector (velocity).

Parameters:

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

Returns:

void

Public Members

Message<EphemerisMsgPayload> posFitOutMsg#

[-] output navigation message for pos/vel

ReadFunctor<TDBVehicleClockCorrelationMsgPayload> clockCorrInMsg#

clock correlation input message

ChebyEphemRecord ephArray[MAX_CHEB_RECORDS]#

[-] Array of Chebyshev records for ephemeris

uint32_t coeffSelector#

[-] Index in the ephArray that we are currently using

EphemerisMsgPayload outputState#

[-] The local storage of the outgoing message data

BSKLogger bskLogger = {}#

BSK Logging.