Spacecraft Control Bundle 1
fsw_orbit_meas Class Reference

This module outputs a state vector. More...

#include <fsw_orbit_meas.h>

Inheritance diagram for fsw_orbit_meas:

Public Member Functions

 fsw_orbit_meas (const char *mod_name)
 
void initialize_data ()
 Request event notification for FSW_ORBIT_DETERMINATION_TRIGGER. More...
 
void initialize_data_requests ()
 
void handle_event (int code)
 Take the simulation values for position and velocity and stack them to produce an orbit state vector. More...
 

Protected Attributes

CD_CREATE_REF od_state_ref
 Orbit state output (6x1) More...
 
CD_REQUEST_REF position_sim_ref
 Simulated position (3x1) More...
 
CD_REQUEST_REF velocity_sim_ref
 Simulated velocity (3x1) More...
 

Detailed Description

This module outputs a state vector.

Takes state data from the simulation and outputs it as the state vector. This provides an alternative to full orbit determination.

Member Function Documentation

◆ handle_event()

void fsw_orbit_meas::handle_event ( int  code)

Take the simulation values for position and velocity and stack them to produce an orbit state vector.

References od_state_ref, position_sim_ref, and velocity_sim_ref.

◆ initialize_data()

void fsw_orbit_meas::initialize_data ( )

Request event notification for FSW_ORBIT_DETERMINATION_TRIGGER.

References FSW_ORBIT_DETERMINATION_TRIGGER, and od_state_ref.

Member Data Documentation

◆ od_state_ref

CD_CREATE_REF fsw_orbit_meas::od_state_ref
protected

Orbit state output (6x1)

Referenced by handle_event(), and initialize_data().

◆ position_sim_ref

CD_REQUEST_REF fsw_orbit_meas::position_sim_ref
protected

Simulated position (3x1)

Referenced by handle_event().

◆ velocity_sim_ref

CD_REQUEST_REF fsw_orbit_meas::velocity_sim_ref
protected

Simulated velocity (3x1)

Referenced by handle_event().


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