7 #ifndef DIFFERENTIAL_STEERING_DEFAULT_SENSOR_H
8 #define DIFFERENTIAL_STEERING_DEFAULT_SENSOR_H
14 class CDifferentialSteeringDefaultSensor;
18 #include <argos3/plugins/robots/generic/control_interface/ci_differential_steering_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>
float Real
Collects all ARGoS code.
The namespace containing all the ARGoS related code.
ticpp::Element TConfigurationNode
The ARGoS configuration XML node.
Basic class for an entity that contains other entities.
The basic interface for a simulated sensor.
CDifferentialSteeringDefaultSensor()
CRandom::CRNG * m_pcRNG
Random number generator.
virtual ~CDifferentialSteeringDefaultSensor()
virtual void Update()
Updates the state of the entity associated to this sensor, if the sensor is currently enabled.
const Real * m_pfWheelVelocities
The wheel velocity taken from the wheeled entity.
virtual void Init(TConfigurationNode &t_tree)
Initializes the sensor from the XML configuration tree.
CRange< Real > m_cVelNoiseRange
Noise range on velocity.
CWheeledEntity * m_pcWheeledEntity
Reference to wheeled entity associated to this sensor.
CRange< Real > m_cDistNoiseRange
Noise range on distance.
virtual void Reset()
Resets the sensor to the state it had just after Init().
bool m_bAddNoise
Whether to add noise or not.
virtual void SetRobot(CComposableEntity &c_entity)
Sets the entity associated to this sensor.