7#include <ControlDeck2/ControlDeck2.h>
10#ifndef FSW_TORQUE_DISTRIBUTION
11#define FSW_TORQUE_DISTRIBUTION
30 void handle_event(
int code);
46 CD_REQUEST_REF guidance_thruster_mode_ref;
88 cd_control_module *fsw_torque_distribution_builder(
const char *name);
Distribute torque commands to the thrusters and reaction wheels.
Definition: fsw_torque_distribution.h:25
CD_REQUEST_REF rwa_unit_vector_ref
Guidance mode (int)
Definition: fsw_torque_distribution.h:47
CD_REQUEST_REF guidance_orbit_force_ref
RCS force demand.
Definition: fsw_torque_distribution.h:45
CD_REQUEST_REF center_of_mass_ref
Center of mass.
Definition: fsw_torque_distribution.h:42
CD_CREATE_REF prop_simplex_failed_ref
Flag to indicate that simplex failed to converge (int)
Definition: fsw_torque_distribution.h:60
CD_REQUEST_REF prop_thruster_pulsewidth_demand_ref
Pulsewidth demand to send to propulsion hardware.
Definition: fsw_torque_distribution.h:67
CD_REQUEST_REF prop_tank_pressure_ref
Propellant tank pressure (double)
Definition: fsw_torque_distribution.h:41
CD_REQUEST_REF guidance_use_rcs_command_ref
Use the RCS system for delta V (int)
Definition: fsw_torque_distribution.h:53
CD_REQUEST_REF prop_thruster_coefficients_ref
Thruster thrust coefficients.
Definition: fsw_torque_distribution.h:40
CD_REQUEST_REF guidance_pulsewidth_demand_ref
Guidance pulsewidth demand.
Definition: fsw_torque_distribution.h:44
CD_REQUEST_REF rwa_rate_ref
Reaction wheel rates.
Definition: fsw_torque_distribution.h:51
CD_REQUEST_REF guidance_thruster_command_ref
Guidance thruster set.
Definition: fsw_torque_distribution.h:35
void initialize_data()
Request event notification for FSW_TORQUE_DISTRIBUTION_TRIGGER.
Definition: fsw_torque_distribution.cc:20
CD_REQUEST_REF rwa_inertia_ref
Reaction wheel inertia (double)
Definition: fsw_torque_distribution.h:52
CD_REQUEST_REF control_period_ref
Control period command (double)
Definition: fsw_torque_distribution.h:50
CD_REQUEST_REF rwa_max_voltage_ref
RWA maximum voltage (double)
Definition: fsw_torque_distribution.h:49
CD_REQUEST_REF rwa_voltage_demand_ref
RWA Voltage Demand.
Definition: fsw_torque_distribution.h:68
CD_REQUEST_REF prop_thruster_positions_ref
Thruster positions.
Definition: fsw_torque_distribution.h:39
CD_REQUEST_REF acs_torque_demand_ref
The torque demand for all attitude control.
Definition: fsw_torque_distribution.h:36
CD_REQUEST_REF rwa_torque_constant_ref
RWA torque constant (double)
Definition: fsw_torque_distribution.h:48
CD_REQUEST_REF prop_thruster_directions_ref
Thruster force directions.
Definition: fsw_torque_distribution.h:38
CD_CREATE_REF acs_rwa_pinv_command_ref
Pseudo-inverse for reaction wheels.
Definition: fsw_torque_distribution.h:76
CD_CREATE_REF thruster_period_mult_command_ref
Pulsing periods.
Definition: fsw_torque_distribution.h:78
CD_CREATE_REF acs_actuator_selection_command_ref
Command to use different actuators.
Definition: fsw_torque_distribution.h:75
CD_CREATE_REF acs_thruster_command_ref
ACS thruster set.
Definition: fsw_torque_distribution.h:77
CD_CREATE_REF rwa_command_ref
RWAs to use.
Definition: fsw_torque_distribution.h:79
Define the trigger and variables names for the software system.