ARGoS
3
A parallel, multi-engine simulator for swarm robotics
|
Go to the documentation of this file.
7 #ifndef POSITIONING_DEFAULT_SENSOR_H
8 #define POSITIONING_DEFAULT_SENSOR_H
14 class CPositioningDefaultSensor;
15 class CEmbodiedEntity;
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>
virtual void SetRobot(CComposableEntity &c_entity)
Sets the entity associated to this sensor.
CRange< Real > m_cPosNoiseRange
Noise range on position.
CRange< Real > m_cAxisNoiseRange
Noise range on axis.
virtual void Update()
Updates the state of the entity associated to this sensor.
The namespace containing all the ARGoS related code.
Basic class for an entity that contains other entities.
virtual void Reset()
Resets the sensor to the state it had just after Init().
This entity is a link to a body in the physics engine.
ticpp::Element TConfigurationNode
The ARGoS configuration XML node.
CRange< CRadians > m_cAngleNoiseRange
Noise range on angle.
virtual void Init(TConfigurationNode &t_tree)
Initializes the sensor from the XML configuration tree.
CPositioningDefaultSensor()
CRandom::CRNG * m_pcRNG
Random number generator.
The basic interface for a simulated sensor.
virtual ~CPositioningDefaultSensor()
bool m_bAddNoise
Whether to add noise or not.
CEmbodiedEntity * m_pcEmbodiedEntity
Reference to embodied entity associated to this sensor.