ARGoS  3
A parallel, multi-engine simulator for swarm robotics
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
argos
The namespace containing all the ARGoS related code.
Definition: ci_actuator.h:12
argos::CCI_Sensor
The basic interface for all sensors.
Definition: ci_sensor.h:34
argos::CCI_GroundSensor::GetReadings
const std::vector< Real > & GetReadings() const
Definition: ci_ground_sensor.cpp:47
argos::CCI_GroundSensor::~CCI_GroundSensor
virtual ~CCI_GroundSensor()
Definition: ci_ground_sensor.h:21
argos::CCI_GroundSensor::m_tReadings
std::vector< Real > m_tReadings
Definition: ci_ground_sensor.h:33
argos::CCI_GroundSensor
Definition: ci_ground_sensor.h:17