Spacecraft Control Bundle 1
fsw_attitude_determination_tracker.h
1/*
2 * Header file for object of class fsw_attitude_determination_tracker.
3 * Copyright 2010, Princeton Satellite Systems, Inc.
4 * All Rights Reserved.
5 */
6
7#include <ControlDeck2/ControlDeck2.h>
8#import <SCControl/SCControl.h>
9#include "sc_events.h"
10
11#ifndef FSW_ATTITUDE_DETERMINATION_TRACKER
12#define FSW_ATTITUDE_DETERMINATION_TRACKER
13
14
16
20class fsw_attitude_determination_tracker : public cd_control_module
21{
22 public:
24 fsw_attitude_determination_tracker (const char * mod_name);
26 void initialize_data();
28 void initialize();
30 void handle_event(int code);
31
32 protected:
33
39
43 CD_CREATE_REF ad_q_eci_to_body_ref;
45
51
52
53};
54
55extern "C"
56{
57 cd_control_module *fsw_attitude_determination_tracker_builder(const char *name);
58}
59
60#endif
Process the quaternion from a star tracker sensor.
Definition: fsw_attitude_determination_tracker.h:21
void initialize_data()
Creates data used by other modules.
Definition: fsw_attitude_determination_tracker.cc:15
void handle_event(int code)
Performs all processing.
Definition: fsw_attitude_determination_tracker.cc:36
CD_CREATE_REF ad_q_body_to_tracker_ref
Quaternion from the body frame to the tracker frame.
Definition: fsw_attitude_determination_tracker.h:49
CD_REQUEST_REF q_eci_to_tracker_sim_ref
Quaternion from eci to the star tracker, this is what's actually measured.
Definition: fsw_attitude_determination_tracker.h:37
fsw_attitude_determination_tracker(const char *mod_name)
Constructor.
Definition: fsw_attitude_determination_tracker.cc:9
void initialize()
One time initialization.
Definition: fsw_attitude_determination_tracker.cc:31
CD_CREATE_REF ad_q_eci_to_body_ref
Quaternion from eci to body estimated.
Definition: fsw_attitude_determination_tracker.h:43
Define the trigger and variables names for the software system.