00001 // Copyright (C) 2004 Nitin Jyoti, Arun Pratap, Suresh Golconda ;-) 00002 00003 #ifndef CAJUN_STEERING_SENSOR_OBSERVERS_H 00004 #define CAJUN_STEERING_SENSOR_OBSERVERS_H 00005 00006 #include "dynamic_object.H" 00007 00008 namespace cajun 00009 { 00010 class steering_observer_t; 00011 class dynamic_object_t; 00012 00014 class steering_sensor_t : public components_t 00015 { 00016 #define DELAY_STEERING 0.01 00017 friend class steering_observer_t; 00018 public: 00019 steering_sensor_t (dynamic_object_t *parent, timer_t *timer); 00020 virtual ~steering_sensor_t (); 00021 void update_steering_data () ; 00022 00023 // inherited functions 00024 void update_position (dBodyID carb) { }; 00025 void command (int cmd, double value) { }; 00026 void simulate_component (); 00027 steering_data_t m_steering_data; 00028 dynamic_object_t *m_robot; 00029 00030 00031 }; 00032 }; 00033 #endif