ARGoS
3
A parallel, multi-engine simulator for swarm robotics
|
Go to the documentation of this file.
7 #ifndef FOOTBOT_LIGHT_ROTZONLY_SENSOR_H
8 #define FOOTBOT_LIGHT_ROTZONLY_SENSOR_H
14 class CFootBotLightRotZOnlySensor;
15 class CLightSensorEquippedEntity;
18 #include <argos3/plugins/robots/foot-bot/control_interface/ci_footbot_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>
CRandom::CRNG * m_pcRNG
Random number generator.
virtual ~CFootBotLightRotZOnlySensor()
The namespace containing all the ARGoS related code.
Basic class for an entity that contains other entities.
CSpace & m_cSpace
Reference to the space.
This entity is a link to a body in the physics engine.
ticpp::Element TConfigurationNode
The ARGoS configuration XML node.
virtual void SetRobot(CComposableEntity &c_entity)
Sets the entity associated to this sensor.
CFootBotLightRotZOnlySensor()
bool m_bAddNoise
Whether to add noise or not.
virtual void Init(TConfigurationNode &t_tree)
Initializes the sensor from the XML configuration tree.
CControllableEntity * m_pcControllableEntity
Reference to controllable entity associated to this sensor.
bool m_bShowRays
Flag to show rays in the simulator.
CRange< Real > m_cNoiseRange
Noise range.
CEmbodiedEntity * m_pcEmbodiedEntity
Reference to embodied entity associated to this sensor.
The basic interface for a simulated sensor.
An entity that contains a pointer to the user-defined controller.
CLightSensorEquippedEntity * m_pcLightEntity
Reference to light sensor equipped entity associated to this sensor.
virtual void Reset()
Resets the sensor to the state it had just after Init().
virtual void Update()
Updates the state of the entity associated to this sensor.