Spacecraft Control Bundle 1
ons_lunar_od Class Reference

This class computes the orbit of the main spacecraft. More...

#include <ons_lunar_od.h>

Inheritance diagram for ons_lunar_od:

Public Member Functions

 ons_lunar_od (const char *mod_name)
 
void initialize_data ()
 
void initialize_data_requests ()
 
void handle_event (int code)
 
void reset_ukf ()
 

Protected Attributes

Inputs
CD_REQUEST_REF range_message_ref
 Range message. More...
 
CD_REQUEST_REF omega_sim_ref
 Omega body. More...
 
CD_REQUEST_REF q_eci_to_body_sim_ref
 Quaternion. More...
 
CD_REQUEST_REF velocity_sim_ref
 Velocity. More...
 
CD_REQUEST_REF position_sim_ref
 Position. More...
 
CD_REQUEST_REF jd_ref
 Julian date. More...
 
CD_REQUEST_REF ephem_planet_mu_ref
 Planet mu. More...
 
CD_REQUEST_REF ephem_planet_position_ref
 Planet position. More...
 
CD_REQUEST_REF ephem_planet_index_ref
 Planet index. More...
 
CD_REQUEST_REF ephem_observer_ref
 Observer. More...
 
CD_REQUEST_REF ephem_planet_radius_ref
 Planet radius. More...
 
CD_REQUEST_REF unit_vector_ref
 Star unit vectors. More...
 
CD_REQUEST_REF q_body_to_camera_1_ref
 Quaternion from body to camera 1. More...
 
CD_REQUEST_REF q_body_to_camera_2_ref
 Quaternion from body to camera 2. More...
 
CD_REQUEST_REF star_data_1_ref
 Star data camera 1. More...
 
CD_REQUEST_REF star_data_2_ref
 Star data camera 2. More...
 
CD_REQUEST_REF planet_data_1_ref
 Planet data camera 1. More...
 
CD_REQUEST_REF planet_data_2_ref
 Planet data camera 2. More...
 
CD_REQUEST_REF star_id_camera_1_ref
 Star id camera 1. More...
 
CD_REQUEST_REF star_id_camera_2_ref
 Star id camera 2. More...
 
CD_REQUEST_REF u_star_camera_1_ref
 Unit vectors for identified stars. More...
 
CD_REQUEST_REF u_star_camera_2_ref
 Unit vectors for identified stars. More...
 
CD_REQUEST_REF ad_q_eci_to_camera_1_ref
 ad camera 1 More...
 
CD_REQUEST_REF ad_q_eci_to_camera_2_ref
 ad camera 2 More...
 
Outputs
CD_CREATE_REF od_state_ref
 State estimate. More...
 
CD_CREATE_REF od_covariance_ref
 Covariance. More...
 
CD_CREATE_REF od_covariance_diag_ref
 Covariance diagonal. More...
 
Commands and Parameters
CD_CREATE_REF od_plant_noise_covariance_command_ref
 Plant noise covariance. More...
 
CD_CREATE_REF od_initial_covariance_command_ref
 Initial covariance. More...
 
CD_CREATE_REF od_initial_state_command_ref
 Initial state. More...
 
CD_CREATE_REF od_meas_noise_covariance_command_ref
 Measurment noise covariance. More...
 
CD_CREATE_REF od_parameter_command_ref
 UKF parameters. More...
 
CD_CREATE_REF od_use_camera_command_ref
 Use camera. More...
 
CD_CREATE_REF od_use_range_command_ref
 Use range. More...
 
CD_CREATE_REF od_use_state_command_ref
 Use state. More...
 
CD_CREATE_REF od_update_period_command_ref
 Update period. More...
 
CD_CREATE_REF od_reset_command_ref
 Reset the od. More...
 
CD_CREATE_REF od_orbit_center_command_ref
 Use select the orbit center. More...
 
CD_CREATE_REF camera_1_data_command_ref
 Camera 1 data. More...
 
CD_CREATE_REF camera_2_data_command_ref
 Camera 2 data. More...
 

Detailed Description

This class computes the orbit of the main spacecraft.

Performs orbit determination. It can handle the following measurements:

  • GPS: Range and range rates. Effectively this is processed GPS data
  • Range: Assumed paired with range rate
  • Range rate: Assumed paired with range
  • Camera: Preprocessed into angles or as points in the pixel plane
  • State: The vehicle state
  • ISL: Intersatellite links.

ISL, range, range rate and GPS are all handled the same.

It employs an Unscented Kalman Filter (UKF). Orbit propagation is using the SPICE model with optional spherical harmonics of the central body. Known accelerations can be input.

Member Data Documentation

◆ ad_q_eci_to_camera_1_ref

CD_REQUEST_REF ons_lunar_od::ad_q_eci_to_camera_1_ref
protected

ad camera 1

◆ ad_q_eci_to_camera_2_ref

CD_REQUEST_REF ons_lunar_od::ad_q_eci_to_camera_2_ref
protected

ad camera 2

◆ camera_1_data_command_ref

CD_CREATE_REF ons_lunar_od::camera_1_data_command_ref
protected

Camera 1 data.

◆ camera_2_data_command_ref

CD_CREATE_REF ons_lunar_od::camera_2_data_command_ref
protected

Camera 2 data.

◆ ephem_observer_ref

CD_REQUEST_REF ons_lunar_od::ephem_observer_ref
protected

Observer.

◆ ephem_planet_index_ref

CD_REQUEST_REF ons_lunar_od::ephem_planet_index_ref
protected

Planet index.

◆ ephem_planet_mu_ref

CD_REQUEST_REF ons_lunar_od::ephem_planet_mu_ref
protected

Planet mu.

◆ ephem_planet_position_ref

CD_REQUEST_REF ons_lunar_od::ephem_planet_position_ref
protected

Planet position.

◆ ephem_planet_radius_ref

CD_REQUEST_REF ons_lunar_od::ephem_planet_radius_ref
protected

Planet radius.

◆ jd_ref

CD_REQUEST_REF ons_lunar_od::jd_ref
protected

Julian date.

◆ od_covariance_diag_ref

CD_CREATE_REF ons_lunar_od::od_covariance_diag_ref
protected

Covariance diagonal.

◆ od_covariance_ref

CD_CREATE_REF ons_lunar_od::od_covariance_ref
protected

Covariance.

◆ od_initial_covariance_command_ref

CD_CREATE_REF ons_lunar_od::od_initial_covariance_command_ref
protected

Initial covariance.

◆ od_initial_state_command_ref

CD_CREATE_REF ons_lunar_od::od_initial_state_command_ref
protected

Initial state.

◆ od_meas_noise_covariance_command_ref

CD_CREATE_REF ons_lunar_od::od_meas_noise_covariance_command_ref
protected

Measurment noise covariance.

◆ od_orbit_center_command_ref

CD_CREATE_REF ons_lunar_od::od_orbit_center_command_ref
protected

Use select the orbit center.

◆ od_parameter_command_ref

CD_CREATE_REF ons_lunar_od::od_parameter_command_ref
protected

UKF parameters.

◆ od_plant_noise_covariance_command_ref

CD_CREATE_REF ons_lunar_od::od_plant_noise_covariance_command_ref
protected

Plant noise covariance.

◆ od_reset_command_ref

CD_CREATE_REF ons_lunar_od::od_reset_command_ref
protected

Reset the od.

◆ od_state_ref

CD_CREATE_REF ons_lunar_od::od_state_ref
protected

State estimate.

◆ od_update_period_command_ref

CD_CREATE_REF ons_lunar_od::od_update_period_command_ref
protected

Update period.

◆ od_use_camera_command_ref

CD_CREATE_REF ons_lunar_od::od_use_camera_command_ref
protected

Use camera.

◆ od_use_range_command_ref

CD_CREATE_REF ons_lunar_od::od_use_range_command_ref
protected

Use range.

◆ od_use_state_command_ref

CD_CREATE_REF ons_lunar_od::od_use_state_command_ref
protected

Use state.

◆ omega_sim_ref

CD_REQUEST_REF ons_lunar_od::omega_sim_ref
protected

Omega body.

◆ planet_data_1_ref

CD_REQUEST_REF ons_lunar_od::planet_data_1_ref
protected

Planet data camera 1.

◆ planet_data_2_ref

CD_REQUEST_REF ons_lunar_od::planet_data_2_ref
protected

Planet data camera 2.

◆ position_sim_ref

CD_REQUEST_REF ons_lunar_od::position_sim_ref
protected

Position.

◆ q_body_to_camera_1_ref

CD_REQUEST_REF ons_lunar_od::q_body_to_camera_1_ref
protected

Quaternion from body to camera 1.

◆ q_body_to_camera_2_ref

CD_REQUEST_REF ons_lunar_od::q_body_to_camera_2_ref
protected

Quaternion from body to camera 2.

◆ q_eci_to_body_sim_ref

CD_REQUEST_REF ons_lunar_od::q_eci_to_body_sim_ref
protected

Quaternion.

◆ range_message_ref

CD_REQUEST_REF ons_lunar_od::range_message_ref
protected

Range message.

◆ star_data_1_ref

CD_REQUEST_REF ons_lunar_od::star_data_1_ref
protected

Star data camera 1.

◆ star_data_2_ref

CD_REQUEST_REF ons_lunar_od::star_data_2_ref
protected

Star data camera 2.

◆ star_id_camera_1_ref

CD_REQUEST_REF ons_lunar_od::star_id_camera_1_ref
protected

Star id camera 1.

◆ star_id_camera_2_ref

CD_REQUEST_REF ons_lunar_od::star_id_camera_2_ref
protected

Star id camera 2.

◆ u_star_camera_1_ref

CD_REQUEST_REF ons_lunar_od::u_star_camera_1_ref
protected

Unit vectors for identified stars.

◆ u_star_camera_2_ref

CD_REQUEST_REF ons_lunar_od::u_star_camera_2_ref
protected

Unit vectors for identified stars.

◆ unit_vector_ref

CD_REQUEST_REF ons_lunar_od::unit_vector_ref
protected

Star unit vectors.

◆ velocity_sim_ref

CD_REQUEST_REF ons_lunar_od::velocity_sim_ref
protected

Velocity.


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