ci_range_and_bearing_sensor.h
Go to the documentation of this file.
1 
7 #ifndef CI_RANGE_AND_BEARING_SENSOR_H
8 #define CI_RANGE_AND_BEARING_SENSOR_H
9 
10 namespace argos {
11  class CCI_RangeAndBearingSensor;
12 }
13 
14 #include <argos3/core/control_interface/ci_sensor.h>
15 #include <argos3/core/utility/datatypes/datatypes.h>
16 #include <argos3/core/utility/datatypes/byte_array.h>
17 #include <argos3/core/utility/math/quaternion.h>
18 
19 namespace argos {
20 
21  /****************************************/
22  /****************************************/
23 
25 
26  public:
27 
28  struct SPacket {
40 
41  SPacket();
42  };
43 
44  typedef std::vector<SPacket> TReadings;
45 
46  public:
47 
49 
50  const TReadings& GetReadings() const;
51 
52 #ifdef ARGOS_WITH_LUA
53  virtual void CreateLuaState(lua_State* pt_lua_state);
54 
55  virtual void ReadingsToLuaState(lua_State* pt_lua_state);
56 #endif
57 
58  protected:
59 
61 
62  };
63 
64  /****************************************/
65  /****************************************/
66 
67 }
68 
69 #endif
The basic interface for all sensors.
Definition: ci_sensor.h:34
It defines the basic type CRadians, used to store an angle value in radians.
Definition: angles.h:42
CRadians VerticalBearing
The vertical bearing is defined as the angle between the local robot XY plane and the message source ...
The namespace containing all the ARGoS related code.
Definition: ci_actuator.h:12
Byte array utility class.
Definition: byte_array.h:28
float Real
Collects all ARGoS code.
Definition: datatypes.h:39