7 #ifndef FOOTBOT_MOTOR_GROUND_ROTZONLY_SENSOR_H
8 #define FOOTBOT_MOTOR_GROUND_ROTZONLY_SENSOR_H
14 class CFootBotMotorGroundRotZOnlySensor;
15 class CGroundSensorEquippedEntity;
19 #include <argos3/plugins/robots/foot-bot/control_interface/ci_footbot_motor_ground_sensor.h>
20 #include <argos3/core/utility/math/range.h>
21 #include <argos3/core/utility/math/rng.h>
22 #include <argos3/core/simulator/space/space.h>
23 #include <argos3/core/simulator/sensor.h>
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.
This entity is a link to a body in the physics engine.
The basic interface for a simulated sensor.
CFootBotMotorGroundRotZOnlySensor()
CRandom::CRNG * m_pcRNG
Random number generator.
CRange< Real > m_cNoiseRange
Noise range.
virtual void SetRobot(CComposableEntity &c_entity)
Sets the entity associated to this sensor.
CSpace & m_cSpace
Reference to the space.
CFloorEntity * m_pcFloorEntity
Reference to floor entity.
CEmbodiedEntity * m_pcEmbodiedEntity
Reference to embodied entity associated to this sensor.
virtual void Update()
Updates the state of the entity associated to this sensor, if the sensor is currently enabled.
bool m_bAddNoise
Whether to add noise or not.
CGroundSensorEquippedEntity * m_pcGroundSensorEntity
Reference to ground sensor equipped entity associated to this sensor.
virtual ~CFootBotMotorGroundRotZOnlySensor()
virtual void Init(TConfigurationNode &t_tree)
Initializes the sensor from the XML configuration tree.
virtual void Reset()
Resets the sensor to the state it had just after Init().