ci_ground_sensor.h
Go to the documentation of this file.
1 
6 #ifndef CCI_GROUND_SENSOR_H
7 #define CCI_GROUND_SENSOR_H
8 
9 namespace argos {
10  class CCI_GroundSensor;
11 }
12 
13 #include <argos3/core/control_interface/ci_sensor.h>
14 
15 namespace argos {
16 
17  class CCI_GroundSensor : public CCI_Sensor {
18 
19  public:
20 
21  virtual ~CCI_GroundSensor() {}
22 
23  const std::vector<Real>& GetReadings() const;
24 
25 #ifdef ARGOS_WITH_LUA
26  virtual void CreateLuaState(lua_State* pt_lua_state);
27 
28  virtual void ReadingsToLuaState(lua_State* pt_lua_state);
29 #endif
30 
31  protected:
32 
33  std::vector<Real> m_tReadings;
34 
35  };
36 
37 }
38 
39 #endif
The namespace containing all the ARGoS related code.
Definition: ci_actuator.h:12
The basic interface for all sensors.
Definition: ci_sensor.h:34
std::vector< Real > m_tReadings
const std::vector< Real > & GetReadings() const