Warning: include(php/utility.php): Failed to open stream: No such file or directory in /home/argos/argos3/doc/api/embedded/a00640_source.php on line 2

Warning: include(): Failed opening 'php/utility.php' for inclusion (include_path='.:/usr/lib64/php') in /home/argos/argos3/doc/api/embedded/a00640_source.php on line 2
The ARGoS Website

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