Spacecraft Control Bundle 1
fsw_orbit_determination_ideal.h
1/*
2 * Header file for object of class fsw_orbit_determination.
3 * Copyright 2014, Princeton Satellite Systems, Inc.
4 * All Rights Reserved.
5 */
6
7#include <ControlDeck2/ControlDeck2.h>
8#include "sc_data_names.h"
9
10#ifndef FSW_ORBIT_DETERMINATION_IDEAL
11#define FSW_ORBIT_DETERMINATION_IDEAL
12
13
15
20class fsw_orbit_determination_ideal : public cd_control_module
21{
22 public:
23 fsw_orbit_determination_ideal (const char * mod_name);
24 void initialize_data();
25 void initialize_data_requests();
26 void handle_event(int code);
27
28 protected:
32 CD_REQUEST_REF position_sim_ref;
34 CD_REQUEST_REF velocity_sim_ref;
36
40 CD_CREATE_REF od_state_ref;
42
43};
44
45extern "C"
46{
47 cd_control_module *fsw_orbit_determination_ideal_builder(const char *name);
48}
49
50#endif
This module outputs the simulation position and velocity.
Definition: fsw_orbit_determination_ideal.h:21
CD_CREATE_REF od_state_ref
State od_state.
Definition: fsw_orbit_determination_ideal.h:40
void initialize_data()
Request the FSW_ORBIT_DETERMINATION_TRIGGER event.
Definition: fsw_orbit_determination_ideal.cc:16
CD_REQUEST_REF velocity_sim_ref
Velocity from sim #velocity_sim.
Definition: fsw_orbit_determination_ideal.h:34
CD_REQUEST_REF position_sim_ref
Position from sim #position_sim.
Definition: fsw_orbit_determination_ideal.h:32
Define the data names used throughout the control system.