Module: ephemNavConverter

Executive Summary

Converter that takes an ephemeris output message and converts it over to a translational state estimate message.

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.

../../../../_images/moduleImgEphemNavConverter.svg

Figure 1: ephemNavConverter() Module I/O Illustration

Module I/O Messages

Msg Variable Name

Msg Type

Description

ephInMsg

EphemerisMsgPayload

ephemeris input message

stateOutMsg

NavTransMsgPayload

navigation output message


Functions

void SelfInit_ephemNavConverter(EphemNavConverterData *configData, int64_t moduleID)

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

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

  • moduleID – The module identification integer

Returns:

void

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.

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

Returns:

void

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

This resets the module to original states.

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

Returns:

void

struct EphemNavConverterData
#include <ephemNavConverter.h>

The configuration structure for the ephemNavConverter module.

Public Members

NavTransMsg_C stateOutMsg

[-] output navigation message for pos/vel

EphemerisMsg_C ephInMsg

ephemeris input message

BSKLogger *bskLogger

BSK Logging.