Spacecraft Control Bundle 1
fsw_attitude_determination_least_squares Class Reference

The attitude determination system using least squares. More...

#include <fsw_attitude_determination_least_squares.h>

Inheritance diagram for fsw_attitude_determination_least_squares:

Public Member Functions

 fsw_attitude_determination_least_squares (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 Member Functions

ml_matrix u_meas_catalog (ml_matrix id, ml_matrix u_catalog)
 Extract catalog unit vectors based on measurements. More...
 

Protected Attributes

CD_REQUEST_REF star_id_camera_ref
 Identified stars. More...
 
CD_REQUEST_REF unit_vector_ref
 Star catalog unit vectors. More...
 
CD_REQUEST_REF u_star_camera_ref
 Star camera unit vectors. More...
 
CD_CREATE_REF nav_n_stars_ref
 Number of stars. More...
 
CD_CREATE_REF nav_q_eci_to_camera_ref
 Q ECI to camera. More...
 

Detailed Description

The attitude determination system using least squares.

The sensors are a star camera

Constructor & Destructor Documentation

◆ fsw_attitude_determination_least_squares()

fsw_attitude_determination_least_squares::fsw_attitude_determination_least_squares ( const char *  mod_name)

Constructor.

Member Function Documentation

◆ handle_event()

void fsw_attitude_determination_least_squares::handle_event ( int  code)

◆ initialize()

void fsw_attitude_determination_least_squares::initialize ( )

◆ initialize_data()

void fsw_attitude_determination_least_squares::initialize_data ( )

Creates data used by other modules.

Create data and request the FSW_ATTITUDE_DETERMINATION_TRIGGER.

References FSW_ATTITUDE_DETERMINATION_TRIGGER, nav_n_stars_ref, and nav_q_eci_to_camera_ref.

◆ u_meas_catalog()

ml_matrix fsw_attitude_determination_least_squares::u_meas_catalog ( ml_matrix  id,
ml_matrix  u_catalog 
)
protected

Extract catalog unit vectors based on measurements.

Referenced by handle_event().

Member Data Documentation

◆ nav_n_stars_ref

CD_CREATE_REF fsw_attitude_determination_least_squares::nav_n_stars_ref
protected

Number of stars.

Referenced by handle_event(), and initialize_data().

◆ nav_q_eci_to_camera_ref

CD_CREATE_REF fsw_attitude_determination_least_squares::nav_q_eci_to_camera_ref
protected

Q ECI to camera.

Referenced by handle_event(), and initialize_data().

◆ star_id_camera_ref

CD_REQUEST_REF fsw_attitude_determination_least_squares::star_id_camera_ref
protected

Identified stars.

Referenced by handle_event(), and initialize().

◆ u_star_camera_ref

CD_REQUEST_REF fsw_attitude_determination_least_squares::u_star_camera_ref
protected

Star camera unit vectors.

Referenced by handle_event(), and initialize().

◆ unit_vector_ref

CD_REQUEST_REF fsw_attitude_determination_least_squares::unit_vector_ref
protected

Star catalog unit vectors.

Referenced by handle_event(), and initialize().


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