ARGoS  3
A parallel, multi-engine simulator for swarm robotics
eyebot_light_rotzonly_sensor.h
Go to the documentation of this file.
1 
7 #ifndef EYEBOT_LIGHT_ROTZONLY_SENSOR_H
8 #define EYEBOT_LIGHT_ROTZONLY_SENSOR_H
9 
10 #include <string>
11 #include <map>
12 
13 namespace argos {
14  class CEyeBotLightRotZOnlySensor;
15  class CLightSensorEquippedEntity;
16 }
17 
18 #include <argos3/plugins/robots/eye-bot/control_interface/ci_eyebot_light_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_EyeBotLightSensor {
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 
65 
68  };
69 
70 }
71 
72 #endif
argos::CEyeBotLightRotZOnlySensor::m_pcRNG
CRandom::CRNG * m_pcRNG
Random number generator.
Definition: eyebot_light_rotzonly_sensor.h:58
argos
The namespace containing all the ARGoS related code.
Definition: ci_actuator.h:12
argos::CSpace
Definition: space.h:30
argos::CEyeBotLightRotZOnlySensor
Definition: eyebot_light_rotzonly_sensor.h:26
argos::CComposableEntity
Basic class for an entity that contains other entities.
Definition: composable_entity.h:32
argos::CLightSensorEquippedEntity
Definition: light_sensor_equipped_entity.h:21
argos::CCI_EyeBotLightSensor
Definition: ci_eyebot_light_sensor.h:45
argos::CEmbodiedEntity
This entity is a link to a body in the physics engine.
Definition: embodied_entity.h:48
argos::TConfigurationNode
ticpp::Element TConfigurationNode
The ARGoS configuration XML node.
Definition: argos_configuration.h:27
argos::CEyeBotLightRotZOnlySensor::m_cSpace
CSpace & m_cSpace
Reference to the space.
Definition: eyebot_light_rotzonly_sensor.h:67
argos::CRandom::CRNG
The RNG.
Definition: rng.h:90
argos::CEyeBotLightRotZOnlySensor::m_pcEmbodiedEntity
CEmbodiedEntity * m_pcEmbodiedEntity
Reference to embodied entity associated to this sensor.
Definition: eyebot_light_rotzonly_sensor.h:46
argos::CEyeBotLightRotZOnlySensor::Reset
virtual void Reset()
Resets the sensor to the state it had just after Init().
Definition: eyebot_light_rotzonly_sensor.cpp:206
argos::CEyeBotLightRotZOnlySensor::m_pcControllableEntity
CControllableEntity * m_pcControllableEntity
Reference to controllable entity associated to this sensor.
Definition: eyebot_light_rotzonly_sensor.h:52
argos::CEyeBotLightRotZOnlySensor::m_bAddNoise
bool m_bAddNoise
Whether to add noise or not.
Definition: eyebot_light_rotzonly_sensor.h:61
argos::CEyeBotLightRotZOnlySensor::m_pcLightEntity
CLightSensorEquippedEntity * m_pcLightEntity
Reference to light sensor equipped entity associated to this sensor.
Definition: eyebot_light_rotzonly_sensor.h:49
argos::CEyeBotLightRotZOnlySensor::Update
virtual void Update()
Updates the state of the entity associated to this sensor.
Definition: eyebot_light_rotzonly_sensor.cpp:104
argos::CEyeBotLightRotZOnlySensor::Init
virtual void Init(TConfigurationNode &t_tree)
Initializes the sensor from the XML configuration tree.
Definition: eyebot_light_rotzonly_sensor.cpp:79
argos::CEyeBotLightRotZOnlySensor::SetRobot
virtual void SetRobot(CComposableEntity &c_entity)
Sets the entity associated to this sensor.
Definition: eyebot_light_rotzonly_sensor.cpp:64
argos::CRange< Real >
argos::CSimulatedSensor
The basic interface for a simulated sensor.
Definition: sensor.h:22
argos::CControllableEntity
An entity that contains a pointer to the user-defined controller.
Definition: controllable_entity.h:26
argos::CEyeBotLightRotZOnlySensor::m_bShowRays
bool m_bShowRays
Flag to show rays in the simulator.
Definition: eyebot_light_rotzonly_sensor.h:55
argos::CEyeBotLightRotZOnlySensor::CEyeBotLightRotZOnlySensor
CEyeBotLightRotZOnlySensor()
Definition: eyebot_light_rotzonly_sensor.cpp:54
argos::CEyeBotLightRotZOnlySensor::~CEyeBotLightRotZOnlySensor
virtual ~CEyeBotLightRotZOnlySensor()
Definition: eyebot_light_rotzonly_sensor.h:33
argos::CEyeBotLightRotZOnlySensor::m_cNoiseRange
CRange< Real > m_cNoiseRange
Noise range.
Definition: eyebot_light_rotzonly_sensor.h:64