Spacecraft Control Bundle 1
|
Generate the torque control for the solar wing motor. More...
#include <fsw_solar_wing_torque_control.h>
Public Member Functions | |
fsw_solar_wing_torque_control (const char *mod_name) | |
void | initialize_data () |
Create data and request the FSW_SOLAR_WING_TORQUE_CONTROL_TRIGGER. More... | |
void | initialize () |
void | handle_event (int code) |
Protected Attributes | |
CD_REQUEST_REF | voltage_demand_ref |
Voltage demand variable. More... | |
Inputs | |
CD_REQUEST_REF | angle_ref |
Solar wing angles. More... | |
CD_REQUEST_REF | ephem_sun_vector_ref |
Sun vector. More... | |
CD_REQUEST_REF | quaternion_ref |
The estimated quaternion. More... | |
CD_REQUEST_REF | julian_date_ref |
Julian date (double) More... | |
Outputs | |
CD_CREATE_REF | solar_wing_error_ref |
Error. More... | |
CD_CREATE_REF | solar_wing_offset_command_ref |
Error. More... | |
CD_CREATE_REF | torque_demand_ref |
Torque demand. More... | |
Parameters | |
CD_CREATE_REF | gain_a_command_ref |
The solar wing state space gain a matrix (double) More... | |
CD_CREATE_REF | gain_b_command_ref |
The solar wing state space gain b matrix (double) More... | |
CD_CREATE_REF | gain_c_command_ref |
The solar wing state space gain c matrix (double) More... | |
CD_CREATE_REF | gain_d_command_ref |
The solar wing state space gain d matrix (double) More... | |
CD_CREATE_REF | inertia_command_ref |
The solar wing inertia. More... | |
CD_CREATE_REF | cell_face_sign_command_ref |
Sign of cell face (double) More... | |
CD_CREATE_REF | torque_constant_ref |
Torque constant (double) More... | |
Generate the torque control for the solar wing motor.
Uses the ephemeris to point the solar wings at the sun. This is suitable for a DC motor.
void fsw_solar_wing_torque_control::initialize_data | ( | ) |
Create data and request the FSW_SOLAR_WING_TORQUE_CONTROL_TRIGGER.
References cell_face_sign_command_ref, gain_a_command_ref, gain_b_command_ref, gain_c_command_ref, gain_d_command_ref, inertia_command_ref, solar_wing_error_ref, solar_wing_offset_command_ref, torque_constant_ref, and torque_demand_ref.
|
protected |
Solar wing angles.
|
protected |
Sign of cell face (double)
Referenced by initialize_data().
|
protected |
Sun vector.
|
protected |
The solar wing state space gain a matrix (double)
Referenced by initialize_data().
|
protected |
The solar wing state space gain b matrix (double)
Referenced by initialize_data().
|
protected |
The solar wing state space gain c matrix (double)
Referenced by initialize_data().
|
protected |
The solar wing state space gain d matrix (double)
Referenced by initialize_data().
|
protected |
The solar wing inertia.
Referenced by initialize_data().
|
protected |
Julian date (double)
|
protected |
The estimated quaternion.
|
protected |
Error.
Referenced by initialize_data().
|
protected |
Error.
Referenced by initialize_data().
|
protected |
Torque constant (double)
Referenced by initialize_data().
|
protected |
Torque demand.
Referenced by initialize_data().
|
protected |
Voltage demand variable.