Spacecraft Control Bundle 1
fsw_attitude_determination_tracker Class Reference

Process the quaternion from a star tracker sensor. More...

#include <fsw_attitude_determination_tracker.h>

Inheritance diagram for fsw_attitude_determination_tracker:

Public Member Functions

 fsw_attitude_determination_tracker (const char *mod_name)
 Constructor. More...
 
void initialize_data ()
 Creates data used by other modules. More...
 
void initialize ()
 One time initialization. More...
 
void handle_event (int code)
 Performs all processing. More...
 

Protected Attributes

Inputs


CD_REQUEST_REF q_eci_to_tracker_sim_ref
 Quaternion from eci to the star tracker, this is what's actually measured. More...
 
Outputs


CD_CREATE_REF ad_q_eci_to_body_ref
 Quaternion from eci to body estimated. More...
 
Parameters


CD_CREATE_REF ad_q_body_to_tracker_ref
 Quaternion from the body frame to the tracker frame. More...
 

Detailed Description

Process the quaternion from a star tracker sensor.

The quaternion generated by the star tracker is output to the control software directly, without any further processing.

Constructor & Destructor Documentation

◆ fsw_attitude_determination_tracker()

fsw_attitude_determination_tracker::fsw_attitude_determination_tracker ( const char *  mod_name)

Constructor.

Member Function Documentation

◆ handle_event()

void fsw_attitude_determination_tracker::handle_event ( int  code)

Performs all processing.

References ad_q_body_to_tracker_ref, ad_q_eci_to_body_ref, and q_eci_to_tracker_sim_ref.

◆ initialize()

void fsw_attitude_determination_tracker::initialize ( )

One time initialization.

References q_eci_to_tracker_sim_ref.

◆ initialize_data()

void fsw_attitude_determination_tracker::initialize_data ( )

Creates data used by other modules.

Request event notification for FSW_ATTITUDE_DETERMINATION_TRIGGER.

References ad_q_body_to_tracker_ref, ad_q_eci_to_body_ref, and FSW_ATTITUDE_DETERMINATION_TRIGGER.

Member Data Documentation

◆ ad_q_body_to_tracker_ref

CD_CREATE_REF fsw_attitude_determination_tracker::ad_q_body_to_tracker_ref
protected

Quaternion from the body frame to the tracker frame.

Referenced by handle_event(), and initialize_data().

◆ ad_q_eci_to_body_ref

CD_CREATE_REF fsw_attitude_determination_tracker::ad_q_eci_to_body_ref
protected

Quaternion from eci to body estimated.

Referenced by handle_event(), and initialize_data().

◆ q_eci_to_tracker_sim_ref

CD_REQUEST_REF fsw_attitude_determination_tracker::q_eci_to_tracker_sim_ref
protected

Quaternion from eci to the star tracker, this is what's actually measured.

Referenced by handle_event(), and initialize().


The documentation for this class was generated from the following files: