Spacecraft Control Bundle 1
|
Generate a rate command for a solar wing motor. More...
#include <fsw_solar_wing_control.h>
Public Member Functions | |
fsw_solar_wing_control (const char *mod_name) | |
void | initialize_data () |
Create data and request FSW_SOLAR_WING_CONTROL_TRIGGER. More... | |
void | initialize () |
void | handle_event (int code) |
Protected Attributes | |
SW Inputs | |
CD_REQUEST_REF | azimuth_x_sim_ref |
X sensor sun azimuth. More... | |
CD_REQUEST_REF | elevation_x_sim_ref |
X sensor sun elevation. More... | |
CD_REQUEST_REF | presence_x_sim_ref |
X sensor sun presence. More... | |
CD_REQUEST_REF | q_body_to_sensor_x_sim_ref |
X sensor body to sensor quaternion. More... | |
CD_REQUEST_REF | azimuth_y_sim_ref |
Y sensor sun azimuth. More... | |
CD_REQUEST_REF | elevation_y_sim_ref |
Y sensor sun elevation. More... | |
CD_REQUEST_REF | presence_y_sim_ref |
Y sensor sun presence. More... | |
CD_REQUEST_REF | q_body_to_sensor_y_sim_ref |
Y sensor body to sensor quaternion. More... | |
CD_REQUEST_REF | azimuth_z_sim_ref |
Z sensor sun azimuth. More... | |
CD_REQUEST_REF | elevation_z_sim_ref |
Z sensor sun elevation. More... | |
CD_REQUEST_REF | presence_z_sim_ref |
Z sensor sun presence. More... | |
CD_REQUEST_REF | q_body_to_sensor_z_sim_ref |
Z sensor body to sensor quaternion. More... | |
CD_REQUEST_REF | minus_y_gimbal_angle_ref |
Minus y angle. More... | |
CD_REQUEST_REF | plus_y_gimbal_angle_ref |
Plus y angle. More... | |
CD_REQUEST_REF | ephem_sun_vector_ref |
Sun vector. More... | |
CD_REQUEST_REF | quaternion_ref |
The estimated quaternion. More... | |
SW Assignments | |
CD_REQUEST_REF | plus_y_gimbal_rate_demand_ref |
Command to use different actuators. More... | |
CD_REQUEST_REF | minus_y_gimbal_rate_demand_ref |
Pseudo-inverse for reaction wheels. More... | |
SW Commands | |
CD_CREATE_REF | solar_wing_gain_command_ref |
Gain. More... | |
Generate a rate command for a solar wing motor.
Uses either sun sensor measurements or the ephemeris to point the solar wings at the sun. A rate command is suitable for stepping motors.
void fsw_solar_wing_control::initialize_data | ( | ) |
Create data and request FSW_SOLAR_WING_CONTROL_TRIGGER.
References FSW_SOLAR_WING_CONTROL_TRIGGER, and solar_wing_gain_command_ref.
|
protected |
X sensor sun azimuth.
|
protected |
Y sensor sun azimuth.
|
protected |
Z sensor sun azimuth.
|
protected |
X sensor sun elevation.
|
protected |
Y sensor sun elevation.
|
protected |
Z sensor sun elevation.
|
protected |
Sun vector.
|
protected |
Minus y angle.
|
protected |
Pseudo-inverse for reaction wheels.
|
protected |
Plus y angle.
|
protected |
Command to use different actuators.
|
protected |
X sensor sun presence.
|
protected |
Y sensor sun presence.
|
protected |
Z sensor sun presence.
|
protected |
X sensor body to sensor quaternion.
|
protected |
Y sensor body to sensor quaternion.
|
protected |
Z sensor body to sensor quaternion.
|
protected |
The estimated quaternion.