Spacecraft Control Bundle 1
fsw_co_id Class Reference

Celestial object identification. More...

#include <fsw_co_id.h>

Inheritance diagram for fsw_co_id:

Public Member Functions

 fsw_co_id (const char *mod_name)
 
void initialize_data ()
 Request notification for FSW_CO_ID_TRIGGER. More...
 
void initialize_data_requests ()
 
void initialize ()
 
void handle_event (int code)
 

Protected Member Functions

double field_of_view (double nPixels, double f, double wPixel)
 Field of view computation. More...
 

Protected Attributes

star_meas starID_1
 Star identification algorithm for camera 1. More...
 
Outputs


CD_CREATE_REF star_id_camera_ref
 Star id camera, "star_id_camera_1". More...
 
CD_CREATE_REF u_star_camera_ref
 Unit vectors for identified stars, "u_star_camera_1". More...
 
CD_CREATE_REF star_hip_ref
 Star Hipparcos ID, "star_hip_camera_1". More...
 
CD_CREATE_REF number_of_stars_ref
 Number of stars. More...
 
CD_CREATE_REF max_number_of_stars_ref
 Number of stars. More...
 
CD_CREATE_REF meas_stars_ref
 Number of stars. More...
 
CD_CREATE_REF u_star_catalog_ref
 Catalog unit vedtors. More...
 
CD_CREATE_REF angular_res_scale_ref
 Angle resolution scale. More...
 
Inputs


CD_REQUEST_REF star_data_ref
 Star data matrix. More...
 
CD_REQUEST_REF unit_vector_ref
 Star unit vectors (3,n) More...
 
CD_REQUEST_REF visual_magnitude_ref
 Star visual magnitude (1,n) More...
 
CD_REQUEST_REF hip_ref
 Star Hipparcos IDs (1,n) More...
 
CD_REQUEST_REF camera_data_command_ref
 Camera 1 data. More...
 
CD_REQUEST_REF q_eci_to_body_sim_ref
 Inertial quaternion. More...
 
Parameters


CD_CREATE_REF angular_res_ref
 Angular resolution between stars (usually 1-2 pixels) More...
 

Detailed Description

Celestial object identification.

Identifies stars. Receives an array of centroid data from the image processing routine. Requests the star unit vectors and magnitudes from the star catalog module.

Uses the star_meas class from SCControl for star identification.

Member Function Documentation

◆ field_of_view()

double fsw_co_id::field_of_view ( double  nPixels,
double  f,
double  wPixel 
)
protected

Field of view computation.

Parameters
nPixelsNumber of pixels
fFocal length (mm)
wPixelPixel width (microns)
Returns
Field of view (rad)

◆ initialize_data()

void fsw_co_id::initialize_data ( )

Request notification for FSW_CO_ID_TRIGGER.

References star_id_camera_ref, and TYPED_DATA.

Member Data Documentation

◆ angular_res_ref

CD_CREATE_REF fsw_co_id::angular_res_ref
protected

Angular resolution between stars (usually 1-2 pixels)

◆ angular_res_scale_ref

CD_CREATE_REF fsw_co_id::angular_res_scale_ref
protected

Angle resolution scale.

◆ camera_data_command_ref

CD_REQUEST_REF fsw_co_id::camera_data_command_ref
protected

Camera 1 data.

◆ hip_ref

CD_REQUEST_REF fsw_co_id::hip_ref
protected

Star Hipparcos IDs (1,n)

◆ max_number_of_stars_ref

CD_CREATE_REF fsw_co_id::max_number_of_stars_ref
protected

Number of stars.

◆ meas_stars_ref

CD_CREATE_REF fsw_co_id::meas_stars_ref
protected

Number of stars.

◆ number_of_stars_ref

CD_CREATE_REF fsw_co_id::number_of_stars_ref
protected

Number of stars.

◆ q_eci_to_body_sim_ref

CD_REQUEST_REF fsw_co_id::q_eci_to_body_sim_ref
protected

Inertial quaternion.

◆ star_data_ref

CD_REQUEST_REF fsw_co_id::star_data_ref
protected

Star data matrix.

◆ star_hip_ref

CD_CREATE_REF fsw_co_id::star_hip_ref
protected

Star Hipparcos ID, "star_hip_camera_1".

◆ star_id_camera_ref

CD_CREATE_REF fsw_co_id::star_id_camera_ref
protected

Star id camera, "star_id_camera_1".

Referenced by initialize_data().

◆ starID_1

star_meas fsw_co_id::starID_1
protected

Star identification algorithm for camera 1.

◆ u_star_camera_ref

CD_CREATE_REF fsw_co_id::u_star_camera_ref
protected

Unit vectors for identified stars, "u_star_camera_1".

◆ u_star_catalog_ref

CD_CREATE_REF fsw_co_id::u_star_catalog_ref
protected

Catalog unit vedtors.

◆ unit_vector_ref

CD_REQUEST_REF fsw_co_id::unit_vector_ref
protected

Star unit vectors (3,n)

◆ visual_magnitude_ref

CD_REQUEST_REF fsw_co_id::visual_magnitude_ref
protected

Star visual magnitude (1,n)


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