Module: ephemNavConverter

Converter that takes an ephemeris output message and converts it over to a translational state estimate message. More information can be found in the PDF Description.


Functions

void SelfInit_ephemNavConverter(EphemNavConverterData *configData, int64_t moduleID)

This method creates the output navigation message (translation only) for the ephemeris model

Return

void

Parameters
  • configData: The configuration data associated with the ephemeris model

  • moduleID: The module identification integer

void CrossInit_ephemNavConverter(EphemNavConverterData *configData, int64_t moduleID)

This method subscribes to the ephemeris interface message

Return

void

Parameters
  • configData: The configuration data associated with the ephemeris model

  • moduleID: The module identification integer

void Update_ephemNavConverter(EphemNavConverterData *configData, uint64_t callTime, int64_t moduleID)

This method reads in the ephemeris messages and copies the translation ephemeris to the navigation translation interface message.

Return

void

Parameters
  • configData: The configuration data associated with the ephemeris model

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

  • moduleID: The module identification integer

void Reset_ephemNavConverter(EphemNavConverterData *configData, uint64_t callTime, int64_t moduleID)

This resets the module to original states.

Return

void

Parameters
  • configData: The configuration data associated with the ephemeris model

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

  • moduleID: The module identification integer

struct EphemNavConverterData
#include <ephemNavConverter.h>

The configuration structure for the ephemNavConverter module.

Public Members

char stateOutMsgName[MAX_STAT_MSG_LENGTH]

[-] The name of the output navigation message for pos/vel

char ephInMsgName[MAX_STAT_MSG_LENGTH]

The name of the clock correlation message.

int32_t stateOutMsgID

[-] The ID associated with the outgoing message

int32_t ephInMsgID

[-] The ID associated with the incoming clock correlation

BSKLogger *bskLogger

BSK Logging.