ci_altitude_sensor.h
Go to the documentation of this file.
1 
7 #ifndef CCI_ALTITUDE_SENSOR_H
8 #define CCI_ALTITUDE_SENSOR_H
9 
10 /* To avoid dependency problems when including */
11 namespace argos {
12  class CCI_AltitudeSensor;
13 }
14 
15 #include <argos3/core/control_interface/ci_sensor.h>
16 
17 namespace argos {
18 
20 
21  public:
22 
24 
25  virtual ~CCI_AltitudeSensor() {}
26 
30  Real GetReading() const;
31 
32 #ifdef ARGOS_WITH_LUA
33  virtual void CreateLuaState(lua_State* pt_lua_state);
34  virtual void ReadingsToLuaState(lua_State* pt_lua_state);
35 #endif
36 
37  protected:
38 
40 
41  };
42 
43 }
44 
45 #endif
float Real
Collects all ARGoS code.
Definition: datatypes.h:39
The namespace containing all the ARGoS related code.
Definition: ci_actuator.h:12
The basic interface for all sensors.
Definition: ci_sensor.h:34
Real GetReading() const
Returns the current altitude.