Spacecraft Control Bundle 1
|
Define the data names used throughout the control system. More...
#include <ControlDeck2/ControlDeck2.h>
Go to the source code of this file.
Classes | |
struct | sc_data |
Data point names and type. More... | |
Macros | |
#define | TYPED_DATA(x) x.path, x.type |
Specify a data point with its type. More... | |
#define | q_eci_to_body_sim "q_eci_to_body_sim" |
Simulation mapped variables. More... | |
#define | position_sim "position_sim" |
#define | velocity_sim "velocity_sim" |
#define | body_rate_camera_sim "body_rate_camera_sim" |
#define | inertia_sim "inertia_sim" |
#define | mass_sim "mass_sim" |
#define | center_of_mass_sim "center_of_mass_sim" |
#define | rwa_rate_sim "rwa_rate_sim" |
#define | centroid_camera_sim "centroid_camera_sim" |
#define | frame_camera_sim "frame_camera_sim" |
#define | gps_message_sim "gps_message_sim" |
Typedefs | |
typedef struct sc_data | SC_DATA |
Data point names and type. More... | |
Variables | |
Data Point Names | |
The data names are needed both when modules define data points and when other modules wish to access them. Therefore to provide compile-time detection of errors we define these names a priori. | |
const SC_DATA | acs_control_period_command = {"acs_control_period_command",sd_type_double} |
Most timers run after the ACS control period. More... | |
const SC_DATA | camera_data_command = {"camera_data_command",sd_type_matrix} |
Camera data command. More... | |
const SC_DATA | ephem_planet_mu = {"ephem_planet_mu",sd_type_matrix} |
Planet gravitational parameters. More... | |
const SC_DATA | ephem_observer = {"ephem_observer",sd_type_int} |
Ephemeris observer (int) More... | |
const SC_DATA | ephem_planet_rotation_matrix = {"ephem_planet_rotation_matrix",sd_type_matrix} |
Planet rotation matices. More... | |
const SC_DATA | ephem_planet_position = {"ephem_planet_position",sd_type_matrix} |
Planet position vectors. More... | |
const SC_DATA | ephem_planet_velocity = {"ephem_planet_velocity",sd_type_matrix} |
Planet velocities. More... | |
const SC_DATA | ephem_planet_index = {"ephem_planet_index",sd_type_matrix} |
Planet index. More... | |
const SC_DATA | ephem_planet_radius = {"ephem_planet_radius",sd_type_matrix} |
Planet radii. More... | |
const SC_DATA | ephem_sun_vector = {"ephem_sun_vector",sd_type_matrix} |
Sun unit vector. More... | |
const SC_DATA | star_visual_magnitude = {"star_visual_magnitude",sd_type_matrix} |
Star visual magnitudes, 1xn. More... | |
const SC_DATA | star_unit_vectors = {"star_unit_vectors",sd_type_matrix} |
Star unit vectors, 3xn. More... | |
const SC_DATA | ephem_hipparcos_ids = {"ephem_hipparcos_ids",sd_type_intarray} |
Star Hipparcos IDs, 1xn. More... | |
const SC_DATA | inertia = {"inertia",sd_type_matrix} |
Spacecraft inertia. More... | |
const SC_DATA | center_of_mass = {"center_of_mass",sd_type_matrix} |
Spacecraft center of mass. More... | |
const SC_DATA | mass = {"mass",sd_type_double} |
Spacecraft total mass (double) More... | |
const SC_DATA | julian_date = {"jd",sd_type_double} |
Julian date. More... | |
const SC_DATA | star_id_camera_1 = {"star_id_camera_1", sd_type_matrix} |
const SC_DATA | u_star_camera_1 = {"u_star_camera_1", sd_type_matrix} |
Star unit vectors are a 3 by n matrix. More... | |
const SC_DATA | ad_q_eci_to_body = {"ad_q_eci_to_body", sd_type_matrix} |
Estimated inertial to body quaternion (4x1) More... | |
const SC_DATA | ad_initial_state_command = {"ad_initial_state_command", sd_type_matrix} |
const SC_DATA | ad_gyro_bias_camera = {"ad_gyro_bias_camera", sd_type_matrix} |
const SC_DATA | ad_covariance_camera = {"ad_covariance_camera", sd_type_matrix} |
const SC_DATA | ad_q_eci_to_camera_single_frame = {"ad_q_eci_to_camera_single_frame", sd_type_matrix} |
const SC_DATA | ad_parameter_command = {"ad_parameter_command", sd_type_matrix} |
const SC_DATA | ad_plant_noise_covariance_command = {"ad_plant_noise_covariance_command", sd_type_matrix} |
const SC_DATA | ad_meas_noise_covariance_command = {"ad_meas_noise_covariance_command", sd_type_matrix} |
const SC_DATA | ad_initial_covariance_command = {"ad_initial_covariance_command", sd_type_matrix} |
const SC_DATA | ad_reset_command = {"ad_reset_command", sd_type_int} |
const SC_DATA | ad_use_single_frame_command = {"ad_use_single_frame_command", sd_type_int} |
const SC_DATA | ad_q_camera_to_body_command = {"ad_q_camera_to_body_command", sd_type_matrix} |
const SC_DATA | od_state = {"od:state", sd_type_matrix} |
Estimated orbit state (6x1 matrix). More... | |
const SC_DATA | camera_rate_meas = {"camera_rate_meas", sd_type_matrix} |
const SC_DATA | star_data_1 = {"star_data_1", sd_type_matrix} |
Star data is a (4,n) matrix of [x;y;intensity;ID]. More... | |
Define the data names used throughout the control system.
#define q_eci_to_body_sim "q_eci_to_body_sim" |
Simulation mapped variables.
#define TYPED_DATA | ( | x | ) | x.path, x.type |
Specify a data point with its type.
const SC_DATA acs_control_period_command = {"acs_control_period_command",sd_type_double} |
Most timers run after the ACS control period.
Referenced by fsw_attitude_control::initialize_data(), and cs_timer::initialize_data_requests().
const SC_DATA ad_q_eci_to_body = {"ad_q_eci_to_body", sd_type_matrix} |
Estimated inertial to body quaternion (4x1)
Referenced by fsw_attitude_determination::initialize_data(), and fsw_attitude_determination_ideal::initialize_data().
const SC_DATA camera_data_command = {"camera_data_command",sd_type_matrix} |
Camera data command.
const SC_DATA center_of_mass = {"center_of_mass",sd_type_matrix} |
Spacecraft center of mass.
Referenced by fsw_mass::initialize_data().
const SC_DATA ephem_hipparcos_ids = {"ephem_hipparcos_ids",sd_type_intarray} |
Star Hipparcos IDs, 1xn.
Referenced by fsw_star_catalog::initialize_data(), and fsw_star_catalog::initialize_star_catalog().
const SC_DATA ephem_observer = {"ephem_observer",sd_type_int} |
Ephemeris observer (int)
Referenced by fsw_ephemeris::initialize_data().
const SC_DATA ephem_planet_index = {"ephem_planet_index",sd_type_matrix} |
Planet index.
Referenced by fsw_ephemeris::initialize_data().
const SC_DATA ephem_planet_mu = {"ephem_planet_mu",sd_type_matrix} |
Planet gravitational parameters.
Referenced by fsw_ephemeris::initialize_data().
const SC_DATA ephem_planet_position = {"ephem_planet_position",sd_type_matrix} |
Planet position vectors.
Referenced by fsw_ephemeris::initialize_data().
const SC_DATA ephem_planet_radius = {"ephem_planet_radius",sd_type_matrix} |
Planet radii.
Referenced by fsw_ephemeris::initialize_data().
const SC_DATA ephem_planet_rotation_matrix = {"ephem_planet_rotation_matrix",sd_type_matrix} |
Planet rotation matices.
Referenced by fsw_ephemeris::initialize_data().
const SC_DATA ephem_planet_velocity = {"ephem_planet_velocity",sd_type_matrix} |
Planet velocities.
Referenced by fsw_ephemeris::initialize_data().
const SC_DATA ephem_sun_vector = {"ephem_sun_vector",sd_type_matrix} |
Sun unit vector.
Referenced by fsw_ephemeris::initialize_data().
const SC_DATA inertia = {"inertia",sd_type_matrix} |
Spacecraft inertia.
Referenced by fsw_euler_torque::handle_event(), and fsw_mass::initialize_data().
const SC_DATA julian_date = {"jd",sd_type_double} |
Julian date.
Referenced by cs_torquer_interface::handle_event(), fsw_star_catalog::handle_event(), fsw_star_catalog::initialize_data_requests(), and fsw_star_catalog::update_unit_vectors().
const SC_DATA mass = {"mass",sd_type_double} |
Spacecraft total mass (double)
Referenced by fsw_mass::initialize_data().
const SC_DATA od_state = {"od:state", sd_type_matrix} |
Estimated orbit state (6x1 matrix).
Consists of [r;v] in km and km/s.
path | "od_state" |
type | sd_type_matrix |
Referenced by fsw_attitude_determination_multi_sensor::handle_event(), fsw_attitude_determination_sun_star::handle_event(), fsw_ephemeris::handle_event(), and fsw_orbit_determination_ideal::initialize_data().
const SC_DATA star_data_1 = {"star_data_1", sd_type_matrix} |
Star data is a (4,n) matrix of [x;y;intensity;ID].
const SC_DATA star_unit_vectors = {"star_unit_vectors",sd_type_matrix} |
Star unit vectors, 3xn.
Referenced by fsw_star_catalog::handle_event(), fsw_attitude_determination_least_squares::initialize(), fsw_star_catalog::initialize_data(), and fsw_star_catalog::initialize_star_catalog().
const SC_DATA star_visual_magnitude = {"star_visual_magnitude",sd_type_matrix} |
Star visual magnitudes, 1xn.
Referenced by fsw_star_catalog::handle_event(), fsw_star_catalog::initialize_data(), and fsw_star_catalog::initialize_star_catalog().
const SC_DATA u_star_camera_1 = {"u_star_camera_1", sd_type_matrix} |
Star unit vectors are a 3 by n matrix.