Spacecraft Control Bundle 1
fsw_geo_timer.h
Go to the documentation of this file.
1/*
2 * Header file for object of class fsw_geo_timer.
3 * Copyright 2008, Princeton Satellite Systems, Inc.
4 * All Rights Reserved.
5 */
6
7
12#include <ControlDeck2/ControlDeck2.h>
13
14#ifndef FSW_GEO_TIMER
15#define FSW_GEO_TIMER
16
17
25class fsw_geo_timer : public cd_control_module
26{
27 public:
28 fsw_geo_timer (const char * mod_name);
29 void initialize_data();
30 void initialize_data_requests();
31 void handle_event(int code);
32
33 protected:
34
38
39 private:
40
41 double control_time_last;
42 double perctol;
43 double get_met();
44 double jD0;
45 double met_last;
46
47};
48
49extern "C"
50{
51 cd_control_module *fsw_geo_timer_builder(const char *name);
52}
53
54#endif
This module calls each module in sequence based on the acs_control_period_command.
Definition: fsw_geo_timer.h:26
void handle_event(int code)
Trigger the ARMY_INIT_TRIGGER.
Definition: fsw_geo_timer.cc:61
CD_REQUEST_REF acs_control_period_command_ref
Most timers run after the ACS control period.
Definition: fsw_geo_timer.h:37