Spacecraft Control Bundle 1
fsw_low_thrust_guidance Class Reference

Low thrust guidance. More...

#include <fsw_low_thrust_guidance.h>

Inheritance diagram for fsw_low_thrust_guidance:

Public Member Functions

 fsw_low_thrust_guidance (const char *mod_name)
 
void initialize_data ()
 Load a text file, LEOToSunEarthL2TrajECI.txt, with the trajectory information Request the FSW_LOW_THRUST_GUIDANCE_TRIGGER. More...
 
void initialize ()
 
void handle_event (int code)
 

Protected Member Functions

void initialize_guidance_file ()
 

Protected Attributes

ml_matrix guidance_file
 
int file_initialized
 
int file_index
 
Guidance Inputs
CD_REQUEST_REF od_state_ref
 Orbit state. More...
 
CD_REQUEST_REF ephem_sun_vector_ref
 ECI sun vector. More...
 
CD_REQUEST_REF quaternion_ref
 Measured quaternion. More...
 
CD_REQUEST_REF ephem_observer_ref
 Observer. More...
 
CD_REQUEST_REF ephem_planet_position_ref
 Planet position. More...
 
CD_REQUEST_REF ephem_planet_velocity_ref
 Planet position. More...
 
CD_REQUEST_REF ephem_planet_index_ref
 Planet index. More...
 
CD_REQUEST_REF julian_date_ref
 Julian date. More...
 
CD_REQUEST_REF target_data_ref
 Target data. More...
 
CD_REQUEST_REF mass_ref
 Spacecraft mass. More...
 
CD_REQUEST_REF control_period_ref
 Control period command. More...
 
Guidance Outputs
CD_CREATE_REF guidance_target_orbit_phase_ref
 Target orbit phase. More...
 
CD_CREATE_REF guidance_target_orbit_force_ref
 Target force. More...
 
CD_CREATE_REF guidance_thruster_mode_ref
 Mode. More...
 
Guidance Commands


CD_CREATE_REF guidance_mode_command_ref
 Guidance mode command (int) More...
 
CD_CREATE_REF guidance_file_command_ref
 Trajectory file (string) More...
 
CD_CREATE_REF guidance_thruster_command_ref
 Thruster set. More...
 
CD_CREATE_REF guidance_target_id_command_ref
 Target ID command (int) More...
 
CD_CREATE_REF guidance_target_orbit_period_command_ref
 Target orbit period command (double) More...
 
CD_CREATE_REF guidance_target_orbit_radius_command_ref
 Target orbit radius command (double) More...
 
CD_CREATE_REF guidance_use_rcs_command_ref
 Use the RCS system for delta V (int) - UNUSED. More...
 
CD_CREATE_REF guidance_naif_ref_command_ref
 NAIF reference for velocity (int) More...
 
CD_CREATE_REF julian_date_launch_ref
 Julian date start (double) More...
 
CD_CREATE_REF guidance_thrust_axis_command_ref
 Thrust axis command. More...
 
CD_CREATE_REF guidance_target_body_vector_command_ref
 Body vector for target mode (3x1 matrix) More...
 
CD_CREATE_REF guidance_target_body_az_el_commmand_ref
 Target az el to pass over (1x2 matrix) More...
 
CD_CREATE_REF guidance_tangential_force_commmand_ref
 Tangential force command (double) More...
 
Guidance Assignments

The ACS commands to achieve the correct orientation for the burn.

CD_REQUEST_REF acs_target_quaternion_ref
 Desired quaternion. More...
 
CD_REQUEST_REF acs_control_mode_command_ref
 ACS control mode (int) More...
 
CD_REQUEST_REF guidance_pulsewidth_demand_ref
 Pulsewidth demand. More...
 

Detailed Description

Low thrust guidance.

Member Function Documentation

◆ initialize_data()

Member Data Documentation

◆ acs_control_mode_command_ref

CD_REQUEST_REF fsw_low_thrust_guidance::acs_control_mode_command_ref
protected

ACS control mode (int)

◆ acs_target_quaternion_ref

CD_REQUEST_REF fsw_low_thrust_guidance::acs_target_quaternion_ref
protected

Desired quaternion.

◆ control_period_ref

CD_REQUEST_REF fsw_low_thrust_guidance::control_period_ref
protected

Control period command.

◆ ephem_observer_ref

CD_REQUEST_REF fsw_low_thrust_guidance::ephem_observer_ref
protected

Observer.

◆ ephem_planet_index_ref

CD_REQUEST_REF fsw_low_thrust_guidance::ephem_planet_index_ref
protected

Planet index.

◆ ephem_planet_position_ref

CD_REQUEST_REF fsw_low_thrust_guidance::ephem_planet_position_ref
protected

Planet position.

◆ ephem_planet_velocity_ref

CD_REQUEST_REF fsw_low_thrust_guidance::ephem_planet_velocity_ref
protected

Planet position.

◆ ephem_sun_vector_ref

CD_REQUEST_REF fsw_low_thrust_guidance::ephem_sun_vector_ref
protected

ECI sun vector.

◆ guidance_pulsewidth_demand_ref

CD_REQUEST_REF fsw_low_thrust_guidance::guidance_pulsewidth_demand_ref
protected

Pulsewidth demand.

◆ guidance_target_orbit_force_ref

CD_CREATE_REF fsw_low_thrust_guidance::guidance_target_orbit_force_ref
protected

Target force.

Referenced by initialize_data().

◆ guidance_target_orbit_phase_ref

CD_CREATE_REF fsw_low_thrust_guidance::guidance_target_orbit_phase_ref
protected

Target orbit phase.

Referenced by initialize_data().

◆ guidance_thruster_mode_ref

CD_CREATE_REF fsw_low_thrust_guidance::guidance_thruster_mode_ref
protected

Mode.

Referenced by initialize_data().

◆ julian_date_ref

CD_REQUEST_REF fsw_low_thrust_guidance::julian_date_ref
protected

Julian date.

◆ mass_ref

CD_REQUEST_REF fsw_low_thrust_guidance::mass_ref
protected

Spacecraft mass.

◆ od_state_ref

CD_REQUEST_REF fsw_low_thrust_guidance::od_state_ref
protected

Orbit state.

◆ quaternion_ref

CD_REQUEST_REF fsw_low_thrust_guidance::quaternion_ref
protected

Measured quaternion.

◆ target_data_ref

CD_REQUEST_REF fsw_low_thrust_guidance::target_data_ref
protected

Target data.


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