Spacecraft Control Bundle 1
fsw_solar_wing_torque_control Class Reference

Generate the torque control for the solar wing motor. More...

#include <fsw_solar_wing_torque_control.h>

Inheritance diagram for fsw_solar_wing_torque_control:

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...
 

Detailed Description

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.

Member Function Documentation

◆ initialize_data()

Member Data Documentation

◆ angle_ref

CD_REQUEST_REF fsw_solar_wing_torque_control::angle_ref
protected

Solar wing angles.

◆ cell_face_sign_command_ref

CD_CREATE_REF fsw_solar_wing_torque_control::cell_face_sign_command_ref
protected

Sign of cell face (double)

Referenced by initialize_data().

◆ ephem_sun_vector_ref

CD_REQUEST_REF fsw_solar_wing_torque_control::ephem_sun_vector_ref
protected

Sun vector.

◆ gain_a_command_ref

CD_CREATE_REF fsw_solar_wing_torque_control::gain_a_command_ref
protected

The solar wing state space gain a matrix (double)

Referenced by initialize_data().

◆ gain_b_command_ref

CD_CREATE_REF fsw_solar_wing_torque_control::gain_b_command_ref
protected

The solar wing state space gain b matrix (double)

Referenced by initialize_data().

◆ gain_c_command_ref

CD_CREATE_REF fsw_solar_wing_torque_control::gain_c_command_ref
protected

The solar wing state space gain c matrix (double)

Referenced by initialize_data().

◆ gain_d_command_ref

CD_CREATE_REF fsw_solar_wing_torque_control::gain_d_command_ref
protected

The solar wing state space gain d matrix (double)

Referenced by initialize_data().

◆ inertia_command_ref

CD_CREATE_REF fsw_solar_wing_torque_control::inertia_command_ref
protected

The solar wing inertia.

Referenced by initialize_data().

◆ julian_date_ref

CD_REQUEST_REF fsw_solar_wing_torque_control::julian_date_ref
protected

Julian date (double)

◆ quaternion_ref

CD_REQUEST_REF fsw_solar_wing_torque_control::quaternion_ref
protected

The estimated quaternion.

◆ solar_wing_error_ref

CD_CREATE_REF fsw_solar_wing_torque_control::solar_wing_error_ref
protected

Error.

Referenced by initialize_data().

◆ solar_wing_offset_command_ref

CD_CREATE_REF fsw_solar_wing_torque_control::solar_wing_offset_command_ref
protected

Error.

Referenced by initialize_data().

◆ torque_constant_ref

CD_CREATE_REF fsw_solar_wing_torque_control::torque_constant_ref
protected

Torque constant (double)

Referenced by initialize_data().

◆ torque_demand_ref

CD_CREATE_REF fsw_solar_wing_torque_control::torque_demand_ref
protected

Torque demand.

Referenced by initialize_data().

◆ voltage_demand_ref

CD_REQUEST_REF fsw_solar_wing_torque_control::voltage_demand_ref
protected

Voltage demand variable.


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