ARGoS  3
A parallel, multi-engine simulator for swarm robotics
plugins/robots/generic/control_interface/ci_ground_sensor.h
Go to the documentation of this file.
00001 
00006 #ifndef CCI_GROUND_SENSOR_H
00007 #define CCI_GROUND_SENSOR_H
00008 
00009 namespace argos {
00010    class CCI_GroundSensor;
00011 }
00012 
00013 #include <argos3/core/control_interface/ci_sensor.h>
00014 
00015 namespace argos {
00016 
00017    class CCI_GroundSensor : public CCI_Sensor {
00018 
00019    public:
00020 
00021       virtual ~CCI_GroundSensor() {}
00022 
00023       inline const std::vector<Real>& GetReadings() const {
00024          return m_tReadings;
00025       }
00026 
00027 #ifdef ARGOS_WITH_LUA
00028       virtual void CreateLuaState(lua_State* pt_lua_state);
00029 
00030       virtual void ReadingsToLuaState(lua_State* pt_lua_state);
00031 #endif
00032 
00033    protected:
00034 
00035       std::vector<Real> m_tReadings;
00036 
00037    };
00038 
00039 }
00040 
00041 #endif