ci_prototype_joints_sensor.h
Go to the documentation of this file.
1 
7 #ifndef CCI_PROTOTYPE_JOINTS_SENSOR_H
8 #define CCI_PROTOTYPE_JOINTS_SENSOR_H
9 
10 namespace argos {
11  class CCI_PrototypeJointsSensor;
12 }
13 
14 #include <argos3/core/control_interface/ci_sensor.h>
15 #include <argos3/core/utility/math/quaternion.h>
16 #include <argos3/core/utility/math/vector3.h>
17 
18 namespace argos {
19 
20  class CCI_PrototypeJointsSensor : virtual public CCI_Sensor {
21 
22  public:
23 
24  struct SSensor {
25  using TVector = std::vector<SSensor*>;
26  SSensor(const std::string& str_id) :
27  Id(str_id) {}
28  std::string Id;
30  };
31 
32  public:
33 
38 
39 #ifdef ARGOS_WITH_LUA
40  virtual void CreateLuaState(lua_State* pt_lua_state);
41 
42  void ReadingsToLuaState(lua_State* pt_lua_state);
43 #endif
44 
45  protected:
47  };
48 }
49 
50 #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