Spacecraft Control Bundle 1
fsw_two_axis_solar_wing_control Class Reference

Controls the orientation of solar wings. More...

#include <fsw_two_axis_solar_wing_control.h>

Inheritance diagram for fsw_two_axis_solar_wing_control:

Public Member Functions

 fsw_two_axis_solar_wing_control (const char *mod_name)
 
void initialize_data ()
 Create data and request #FSW_TWO_AXIS_SOLAR_WING_CONTROL_TRIGGER. More...
 
void initialize ()
 
void handle_event (int code)
 

Protected Attributes

2SW Commands


CD_CREATE_REF solar_wing_gain_command_ref
 Gain command (double) More...
 
CD_CREATE_REF solar_wing_offset_command_ref
 The offset angle, "solar_wing_offset". More...
 
2SW Inputs


CD_REQUEST_REF angle_ref
 Angle, "angle_solar_wing_sim". More...
 
CD_REQUEST_REF ephem_sun_vector_ref
 Sun vector. More...
 
CD_REQUEST_REF quaternion_ref
 The estimated quaternion, "q_eci_to_body_sim". More...
 
2SW Assignments


CD_REQUEST_REF solar_wing_rate_demand_ref
 Rate demand to hardware. More...
 

Detailed Description

Controls the orientation of solar wings.

Uses either sun sensor measurements or the ephemeris to point the solar wings at the sun

Member Function Documentation

◆ initialize_data()

void fsw_two_axis_solar_wing_control::initialize_data ( )

Create data and request #FSW_TWO_AXIS_SOLAR_WING_CONTROL_TRIGGER.

References solar_wing_gain_command_ref, and solar_wing_offset_command_ref.

Member Data Documentation

◆ angle_ref

CD_REQUEST_REF fsw_two_axis_solar_wing_control::angle_ref
protected

Angle, "angle_solar_wing_sim".

◆ ephem_sun_vector_ref

CD_REQUEST_REF fsw_two_axis_solar_wing_control::ephem_sun_vector_ref
protected

Sun vector.

◆ quaternion_ref

CD_REQUEST_REF fsw_two_axis_solar_wing_control::quaternion_ref
protected

The estimated quaternion, "q_eci_to_body_sim".

◆ solar_wing_rate_demand_ref

CD_REQUEST_REF fsw_two_axis_solar_wing_control::solar_wing_rate_demand_ref
protected

Rate demand to hardware.


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