Module: inertial3D

This attitude guidance module create a reference attitude message that points in fixed inertial direction. The module PDF Description contains further information on this module’s function, how to run it, as well as testing.


Functions

void SelfInit_inertial3D(inertial3DConfig *configData, int64_t moduleID)

This method creates the module output message of type AttRefFswMsg.

Return

void

Parameters
  • configData: The configuration data associated with RW null space model

  • moduleID: The ID associated with the configData

void CrossInit_inertial3D(inertial3DConfig *configData, int64_t moduleID)

This method performs the second stage of initialization interface. This module has no messages to subscribe to.

Return

void

Parameters
  • configData: The configuration data associated with this module

  • moduleID: The ID associated with the configData

void Update_inertial3D(inertial3DConfig *configData, uint64_t callTime, int64_t moduleID)

This method creates a fixed attitude reference message. The desired orientation is defined within the module.

Return

void

Parameters
  • configData: The configuration data associated with the null space control

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

  • moduleID: The ID associated with the configData

void Reset_inertial3D(inertial3DConfig *configData, uint64_t callTime, int64_t moduleID)

This method performs the module reset capability. This module has no actions.

Return

void

Parameters
  • configData: The configuration data associated with this module

  • moduleID: The ID associated with the configData

void computeInertialPointingReference(inertial3DConfig *configData, AttRefFswMsg *attRefOut)

Generate attitude reference associated with Intertial 3D Pointing. In this case this is a fixed attitude with zero angular rate and acceleration vectors

Return

void

Parameters
  • configData: The configuration data associated with the null space control

struct inertial3DConfig
#include <inertial3D.h>

Data structure for module to compute the Inertial-3D pointing navigation solution.

Public Members

double sigma_R0N[3]

MRP from inertial frame N to corrected reference frame R.

char outputDataName[MAX_STAT_MSG_LENGTH]

The name of the output message.

int32_t outputMsgID

(-) ID for the outgoing message

BSKLogger *bskLogger

BSK Logging.