maglev_control.h

Go to the documentation of this file.
00001 
00009 #include <ControlDeck2/ControlDeck2.h>
00010 
00011 #ifndef MAGLEV_CONTROL
00012 #define MAGLEV_CONTROL
00013 
00015 
00023 class maglev_control : public cd_control_module
00024 {
00025     public:
00026         maglev_control (const char * mod_name);
00027                 void initialize_data();
00028         void initialize_data_requests();
00029         void handle_event(int code);
00030 
00031     protected:
00033         CD_DATA_REF  i_ref;
00035         CD_DATA_REF  position_ref;
00037         CD_DATA_REF  velocity_ref;
00039         CD_DATA_REF  forward_gain_ref;
00041         CD_DATA_REF  rate_gain_ref;
00043         CD_DATA_REF  set_point_ref;
00045         CD_DATA_REF  i_equilibrium_ref;
00046 
00047 };
00048 
00049 extern "C"
00050 {
00051     cd_control_module *maglev_control_builder(const char *name);
00052 }
00053 
00054 #endif
 All Classes Files Functions Variables