Module: velocityPoint

This attitude guidance module computes the velocity reference frame states.

The orbit can be any type of Keplerian motion, including circular, elliptical or hyperbolic. The module PDF Description. contains further information on this module’s function, how to run it, as well as testing.


Functions

void SelfInit_velocityPoint(velocityPointConfig *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_velocityPoint(velocityPointConfig *configData, int64_t moduleID)

This method performs the second stage of initialization interface. This module has two messages to subscribe to of type EphemerisIntMsg and NavTransIntMsg.

Return

void

Parameters
  • configData: The configuration data associated with this module

  • moduleID: The ID associated with the configData

void Update_velocityPoint(velocityPointConfig *configData, uint64_t callTime, int64_t moduleID)

This method creates a orbit velocity frame 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_velocityPoint(velocityPointConfig *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 computeVelocityPointingReference(velocityPointConfig *configData, double r_BN_N[3], double v_BN_N[3], double celBdyPositonVector[3], double celBdyVelocityVector[3], AttRefFswMsg *attRefOut)
struct velocityPointConfig
#include <velocityPoint.h>

Data structure for module to compute the orbital velocity spinning pointing navigation solution.

Public Members

double mu

Planet gravitational parameter.

char outputDataName[MAX_STAT_MSG_LENGTH]

The name of the output message.

int32_t outputMsgID

(-) ID for the outgoing message

char inputNavDataName[MAX_STAT_MSG_LENGTH]

The name of the incoming attitude command.

int32_t inputNavID

(-) ID for the incoming IMU data message

char inputCelMessName[MAX_STAT_MSG_LENGTH]

The name of the celestial body message.

int32_t inputCelID

(-) ID for the planet input message

BSKLogger *bskLogger

BSK Logging.