ARGoS
3
A parallel, multi-engine simulator for swarm robotics
ci_prototype_joints_sensor.h
Go to the documentation of this file.
1
6
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
;
29
Real
Value
;
30
};
31
32
public
:
33
37
virtual
~CCI_PrototypeJointsSensor
() {}
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
:
46
SSensor::TVector
m_vecSensors
;
47
};
48
}
49
50
#endif
Real
float Real
Collects all ARGoS code.
Definition
datatypes.h:39
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_PrototypeJointsSensor
Definition
ci_prototype_joints_sensor.h:20
argos::CCI_PrototypeJointsSensor::~CCI_PrototypeJointsSensor
virtual ~CCI_PrototypeJointsSensor()
Destructor.
Definition
ci_prototype_joints_sensor.h:37
argos::CCI_PrototypeJointsSensor::m_vecSensors
SSensor::TVector m_vecSensors
Definition
ci_prototype_joints_sensor.h:46
argos::CCI_PrototypeJointsSensor::SSensor::Id
std::string Id
Definition
ci_prototype_joints_sensor.h:28
argos::CCI_PrototypeJointsSensor::SSensor::Value
Real Value
Definition
ci_prototype_joints_sensor.h:29
argos::CCI_PrototypeJointsSensor::SSensor::TVector
std::vector< SSensor * > TVector
Definition
ci_prototype_joints_sensor.h:25
argos::CCI_PrototypeJointsSensor::SSensor::SSensor
SSensor(const std::string &str_id)
Definition
ci_prototype_joints_sensor.h:26
plugins
robots
prototype
control_interface
ci_prototype_joints_sensor.h
Generated on Tue Mar 4 2025 00:50:32 for ARGoS by
1.13.2