7#include <ControlDeck2/ControlDeck2.h>
9#include <SCControl/sc_star_catalog.h>
11#ifndef FSW_STAR_CATALOG
12#define FSW_STAR_CATALOG
53 CD_CREATE_REF unit_vector_ref;
54 CD_CREATE_REF visual_magnitude_ref;
55 CD_CREATE_REF hip_ref;
74 ml_matrix star_catalog_mat;
76 ml_matrix unit_vector_val;
78 ml_matrix visual_magnitude_val;
80 ml_int_array hipparcos_ids;
82 double julian_date_update;
92 cd_control_module *fsw_star_catalog_builder(
const char *name);
Star catalog processing.
Definition: fsw_star_catalog.h:36
void initialize_data_requests()
Data requests from other modules.
Definition: fsw_star_catalog.cc:42
void update_unit_vectors()
Updates unit vectors for new date.
Definition: fsw_star_catalog.cc:136
bool initialize_star_catalog()
Initialize the catalog.
Definition: fsw_star_catalog.cc:107
void initialize_data()
Create data and request the FSW_STAR_CATALOG_TRIGGER.
Definition: fsw_star_catalog.cc:24
void handle_event(int code)
The star unit vectors are updated annually.
Definition: fsw_star_catalog.cc:59
CD_REQUEST_REF jd_ref
julian_date
Definition: fsw_star_catalog.h:48
CD_CREATE_REF filename_ref
File name.
Definition: fsw_star_catalog.h:61
Define the data names used throughout the control system.