7#include <ControlDeck2/ControlDeck2.h>
9#ifndef FSW_STORED_COMMAND_PROCESSING
10#define FSW_STORED_COMMAND_PROCESSING
64 void handle_event(
int code);
84 CD_REQUEST_REF jd_ref;
85 CD_REQUEST_REF mm_gain_command_ref;
86 CD_REQUEST_REF acs_rwa_unit_vector_command_ref;
87 CD_REQUEST_REF acs_rwa_inertia_command_ref;
88 CD_REQUEST_REF acs_actuator_selection_command_ref;
89 CD_REQUEST_REF acs_rwa_pinv_command_ref;
90 CD_REQUEST_REF mm_period_command_ref;
91 CD_REQUEST_REF mm_dipole_command_ref;
92 CD_REQUEST_REF acs_attitude_gain_a_command_ref;
93 CD_REQUEST_REF acs_attitude_gain_b_command_ref;
94 CD_REQUEST_REF acs_attitude_gain_c_command_ref;
95 CD_REQUEST_REF acs_attitude_gain_d_command_ref;
96 CD_REQUEST_REF acs_q_eci_to_body_command_ref;
97 CD_REQUEST_REF acs_omega_command_ref;
98 CD_REQUEST_REF acs_eci_align_axis_command_ref;
99 CD_REQUEST_REF acs_body_align_axis_command_ref;
100 CD_REQUEST_REF acs_rotate_axis_command_ref;
101 CD_REQUEST_REF acs_rotate_angle_command_ref;
102 CD_REQUEST_REF acs_control_mode_command_ref;
103 CD_REQUEST_REF acs_solar_system_target_command_ref;
104 CD_REQUEST_REF acs_body_rate_gain_command_ref;
105 CD_REQUEST_REF acs_control_period_command_ref;
106 CD_REQUEST_REF acs_axis_rate_command_ref;
107 CD_REQUEST_REF acs_planet_target_command_ref;
108 CD_REQUEST_REF acs_maximum_delta_angle_command_ref;
109 CD_REQUEST_REF acs_q_nadir_offset_command_ref;
116 CD_CREATE_REF command_list_ref;
117 CD_CREATE_REF command_list_command_ref;
118 CD_CREATE_REF command_list_process_ref;
121 char* current_command_list;
125 void read_command_list( );
131 cd_control_module *fsw_stored_command_processing_builder(
const char *name);
Command processing from a script.
Definition: fsw_stored_command_processing.h:59
struct fsw_stored_command_processing::command_struct Command
Store commands in the data structure.
void initialize_data()
Create data and request the FSW_STORED_COMMAND_PROCESSING_TRIGGER.
Definition: fsw_stored_command_processing.cc:61
Store commands in the data structure.
Definition: fsw_stored_command_processing.h:70
double * jd
Julian data for command execution.
Definition: fsw_stored_command_processing.h:71
char * command
English language command.
Definition: fsw_stored_command_processing.h:73
command_struct * next
Pointer to next struct.
Definition: fsw_stored_command_processing.h:75
int * commandID
Command ID number.
Definition: fsw_stored_command_processing.h:74
ml_matrix * data
Data is an ml_matrix.
Definition: fsw_stored_command_processing.h:72