positioning_default_sensor.h
Go to the documentation of this file.
1 
7 #ifndef POSITIONING_DEFAULT_SENSOR_H
8 #define POSITIONING_DEFAULT_SENSOR_H
9 
10 #include <string>
11 #include <map>
12 
13 namespace argos {
14  class CPositioningDefaultSensor;
15  class CEmbodiedEntity;
16 }
17 
18 #include <argos3/plugins/robots/generic/control_interface/ci_positioning_sensor.h>
19 #include <argos3/core/utility/math/range.h>
20 #include <argos3/core/utility/math/rng.h>
21 #include <argos3/core/simulator/space/space.h>
22 #include <argos3/core/simulator/sensor.h>
23 
24 namespace argos {
25 
27  public CCI_PositioningSensor {
28 
29  public:
30 
32 
34 
35  virtual void SetRobot(CComposableEntity& c_entity);
36 
37  virtual void Init(TConfigurationNode& t_tree);
38 
39  virtual void Update();
40 
41  virtual void Reset();
42 
43  protected:
44 
47 
50 
53 
56 
59 
62  };
63 
64 }
65 
66 #endif
The RNG.
Definition: rng.h:90
virtual void SetRobot(CComposableEntity &c_entity)
Sets the entity associated to this sensor.
CRange< CRadians > m_cAngleNoiseRange
Noise range on angle.
bool m_bAddNoise
Whether to add noise or not.
ticpp::Element TConfigurationNode
The ARGoS configuration XML node.
This entity is a link to a body in the physics engine.
The basic interface for a simulated sensor.
Definition: sensor.h:22
Basic class for an entity that contains other entities.
virtual void Reset()
Resets the sensor to the state it had just after Init().
CEmbodiedEntity * m_pcEmbodiedEntity
Reference to embodied entity associated to this sensor.
CRange< Real > m_cAxisNoiseRange
Noise range on axis.
CRandom::CRNG * m_pcRNG
Random number generator.
The namespace containing all the ARGoS related code.
Definition: ci_actuator.h:12
CRange< Real > m_cPosNoiseRange
Noise range on position.
virtual void Init(TConfigurationNode &t_tree)
Initializes the sensor from the XML configuration tree.
virtual void Update()
Updates the state of the entity associated to this sensor.