Spacecraft Control Bundle 1
fsw_solar_wing_control Class Reference

Generate a rate command for a solar wing motor. More...

#include <fsw_solar_wing_control.h>

Inheritance diagram for fsw_solar_wing_control:

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

Detailed Description

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.

Member Function Documentation

◆ initialize_data()

void fsw_solar_wing_control::initialize_data ( )

Member Data Documentation

◆ azimuth_x_sim_ref

CD_REQUEST_REF fsw_solar_wing_control::azimuth_x_sim_ref
protected

X sensor sun azimuth.

◆ azimuth_y_sim_ref

CD_REQUEST_REF fsw_solar_wing_control::azimuth_y_sim_ref
protected

Y sensor sun azimuth.

◆ azimuth_z_sim_ref

CD_REQUEST_REF fsw_solar_wing_control::azimuth_z_sim_ref
protected

Z sensor sun azimuth.

◆ elevation_x_sim_ref

CD_REQUEST_REF fsw_solar_wing_control::elevation_x_sim_ref
protected

X sensor sun elevation.

◆ elevation_y_sim_ref

CD_REQUEST_REF fsw_solar_wing_control::elevation_y_sim_ref
protected

Y sensor sun elevation.

◆ elevation_z_sim_ref

CD_REQUEST_REF fsw_solar_wing_control::elevation_z_sim_ref
protected

Z sensor sun elevation.

◆ ephem_sun_vector_ref

CD_REQUEST_REF fsw_solar_wing_control::ephem_sun_vector_ref
protected

Sun vector.

◆ minus_y_gimbal_angle_ref

CD_REQUEST_REF fsw_solar_wing_control::minus_y_gimbal_angle_ref
protected

Minus y angle.

◆ minus_y_gimbal_rate_demand_ref

CD_REQUEST_REF fsw_solar_wing_control::minus_y_gimbal_rate_demand_ref
protected

Pseudo-inverse for reaction wheels.

◆ plus_y_gimbal_angle_ref

CD_REQUEST_REF fsw_solar_wing_control::plus_y_gimbal_angle_ref
protected

Plus y angle.

◆ plus_y_gimbal_rate_demand_ref

CD_REQUEST_REF fsw_solar_wing_control::plus_y_gimbal_rate_demand_ref
protected

Command to use different actuators.

◆ presence_x_sim_ref

CD_REQUEST_REF fsw_solar_wing_control::presence_x_sim_ref
protected

X sensor sun presence.

◆ presence_y_sim_ref

CD_REQUEST_REF fsw_solar_wing_control::presence_y_sim_ref
protected

Y sensor sun presence.

◆ presence_z_sim_ref

CD_REQUEST_REF fsw_solar_wing_control::presence_z_sim_ref
protected

Z sensor sun presence.

◆ q_body_to_sensor_x_sim_ref

CD_REQUEST_REF fsw_solar_wing_control::q_body_to_sensor_x_sim_ref
protected

X sensor body to sensor quaternion.

◆ q_body_to_sensor_y_sim_ref

CD_REQUEST_REF fsw_solar_wing_control::q_body_to_sensor_y_sim_ref
protected

Y sensor body to sensor quaternion.

◆ q_body_to_sensor_z_sim_ref

CD_REQUEST_REF fsw_solar_wing_control::q_body_to_sensor_z_sim_ref
protected

Z sensor body to sensor quaternion.

◆ quaternion_ref

CD_REQUEST_REF fsw_solar_wing_control::quaternion_ref
protected

The estimated quaternion.


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