Spacecraft Control Bundle 1
fsw_thruster_torque_distribution Class Reference

Interfaces for thrusters. More...

#include <fsw_thruster_torque_distribution.h>

Inheritance diagram for fsw_thruster_torque_distribution:

Public Member Functions

 fsw_thruster_torque_distribution (const char *mod_name)
 
void initialize_data ()
 Create data and request the FSW_TORQUE_DISTRIBUTION_TRIGGER. More...
 
void initialize ()
 
void handle_event (int code)
 

Protected Attributes

int pulse_count
 
Inputs


CD_REQUEST_REF acs_torque_demand_ref
 The torque demand for all attitude control. More...
 
CD_REQUEST_REF prop_thruster_directions_ref
 Thruster force directions. More...
 
CD_REQUEST_REF prop_thruster_positions_ref
 Thruster positions. More...
 
CD_REQUEST_REF prop_thruster_coefficients_ref
 Thruster thrust coefficients. More...
 
CD_REQUEST_REF prop_tank_pressure_ref
 Propellant tank pressure. More...
 
CD_REQUEST_REF center_of_mass_ref
 Center of mass. More...
 
CD_REQUEST_REF guidance_pulsewidth_demand_ref
 Guidance pulsewidth demand. More...
 
CD_REQUEST_REF guidance_thruster_command_ref
 Guidance thruster set. More...
 
CD_REQUEST_REF guidance_use_rcs_command_ref
 Use the RCS system for delta V (int) More...
 
CD_REQUEST_REF guidance_orbit_force_ref
 RCS force demand. More...
 
CD_REQUEST_REF guidance_thruster_mode_ref
 Guidance mode (int) More...
 
CD_REQUEST_REF control_period_ref
 Control period command (double) More...
 
Outputs


CD_CREATE_REF prop_simplex_failed_ref
 Flag to indicate that simplex failed to converge (int) More...
 
Assignments


CD_REQUEST_REF prop_thruster_pulsewidth_demand_ref
 Pulsewidth demand output to propulsion hardware. More...
 
Parameters and Commands


CD_CREATE_REF acs_thruster_command_ref
 ACS thruster set. More...
 
CD_CREATE_REF thruster_period_mult_command_ref
 Pulsing periods. More...
 

Detailed Description

Interfaces for thrusters.

Accommodates guidance commands.

Uses simplex to convert torque commands to thruster pulsewidth commands

Member Function Documentation

◆ initialize_data()

void fsw_thruster_torque_distribution::initialize_data ( )

Member Data Documentation

◆ acs_thruster_command_ref

CD_CREATE_REF fsw_thruster_torque_distribution::acs_thruster_command_ref
protected

ACS thruster set.

Referenced by initialize_data().

◆ acs_torque_demand_ref

CD_REQUEST_REF fsw_thruster_torque_distribution::acs_torque_demand_ref
protected

The torque demand for all attitude control.

◆ center_of_mass_ref

CD_REQUEST_REF fsw_thruster_torque_distribution::center_of_mass_ref
protected

Center of mass.

◆ control_period_ref

CD_REQUEST_REF fsw_thruster_torque_distribution::control_period_ref
protected

Control period command (double)

◆ guidance_orbit_force_ref

CD_REQUEST_REF fsw_thruster_torque_distribution::guidance_orbit_force_ref
protected

RCS force demand.

◆ guidance_pulsewidth_demand_ref

CD_REQUEST_REF fsw_thruster_torque_distribution::guidance_pulsewidth_demand_ref
protected

Guidance pulsewidth demand.

◆ guidance_thruster_command_ref

CD_REQUEST_REF fsw_thruster_torque_distribution::guidance_thruster_command_ref
protected

Guidance thruster set.

◆ guidance_thruster_mode_ref

CD_REQUEST_REF fsw_thruster_torque_distribution::guidance_thruster_mode_ref
protected

Guidance mode (int)

◆ guidance_use_rcs_command_ref

CD_REQUEST_REF fsw_thruster_torque_distribution::guidance_use_rcs_command_ref
protected

Use the RCS system for delta V (int)

◆ prop_simplex_failed_ref

CD_CREATE_REF fsw_thruster_torque_distribution::prop_simplex_failed_ref
protected

Flag to indicate that simplex failed to converge (int)

Referenced by initialize_data().

◆ prop_tank_pressure_ref

CD_REQUEST_REF fsw_thruster_torque_distribution::prop_tank_pressure_ref
protected

Propellant tank pressure.

◆ prop_thruster_coefficients_ref

CD_REQUEST_REF fsw_thruster_torque_distribution::prop_thruster_coefficients_ref
protected

Thruster thrust coefficients.

◆ prop_thruster_directions_ref

CD_REQUEST_REF fsw_thruster_torque_distribution::prop_thruster_directions_ref
protected

Thruster force directions.

◆ prop_thruster_positions_ref

CD_REQUEST_REF fsw_thruster_torque_distribution::prop_thruster_positions_ref
protected

Thruster positions.

◆ prop_thruster_pulsewidth_demand_ref

CD_REQUEST_REF fsw_thruster_torque_distribution::prop_thruster_pulsewidth_demand_ref
protected

Pulsewidth demand output to propulsion hardware.

◆ thruster_period_mult_command_ref

CD_CREATE_REF fsw_thruster_torque_distribution::thruster_period_mult_command_ref
protected

Pulsing periods.

Referenced by initialize_data().


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