00001 #ifndef ODOMETRYSENSOR_H 00002 #define ODOMETRYSENSOR_H 00003 00004 #include <string> 00005 #include <gmapping/sensor/sensor_base/sensor.h> 00006 00007 namespace GMapping{ 00008 00009 class OdometrySensor: public Sensor{ 00010 public: 00011 OdometrySensor(const std::string& name, bool ideal=false); 00012 inline bool isIdeal() const { return m_ideal; } 00013 protected: 00014 bool m_ideal; 00015 }; 00016 00017 }; 00018 00019 #endif 00020