ARGoS  3
A parallel, multi-engine simulator for swarm robotics
footbot_base_ground_rotzonly_sensor.h
Go to the documentation of this file.
1 
7 #ifndef FOOTBOT_BASE_GROUND_ROTZONLY_SENSOR_H
8 #define FOOTBOT_BASE_GROUND_ROTZONLY_SENSOR_H
9 
10 #include <string>
11 #include <map>
12 
13 namespace argos {
14  class CFootBotBaseGroundRotZOnlySensor;
15  class CGroundSensorEquippedEntity;
16  class CFloorEntity;
17 }
18 
19 #include <argos3/plugins/robots/foot-bot/control_interface/ci_footbot_base_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>
24 
25 namespace argos {
26 
28  public CSimulatedSensor {
29 
30  public:
31 
33 
35 
36  virtual void SetRobot(CComposableEntity& c_entity);
37 
38  virtual void Init(TConfigurationNode& t_tree);
39 
40  virtual void Update();
41 
42  virtual void Reset();
43 
44  protected:
45 
48 
51 
54 
57 
60 
63 
66  };
67 
68 }
69 
70 #endif
argos::CFootBotBaseGroundRotZOnlySensor::m_pcEmbodiedEntity
CEmbodiedEntity * m_pcEmbodiedEntity
Reference to embodied entity associated to this sensor.
Definition: footbot_base_ground_rotzonly_sensor.h:47
argos::CFootBotBaseGroundRotZOnlySensor::m_pcGroundSensorEntity
CGroundSensorEquippedEntity * m_pcGroundSensorEntity
Reference to ground sensor equipped entity associated to this sensor.
Definition: footbot_base_ground_rotzonly_sensor.h:53
argos
The namespace containing all the ARGoS related code.
Definition: ci_actuator.h:12
argos::CSpace
Definition: space.h:30
argos::CComposableEntity
Basic class for an entity that contains other entities.
Definition: composable_entity.h:32
argos::CFootBotBaseGroundRotZOnlySensor::Reset
virtual void Reset()
Resets the sensor to the state it had just after Init().
Definition: footbot_base_ground_rotzonly_sensor.cpp:106
argos::CFootBotBaseGroundRotZOnlySensor::m_pcRNG
CRandom::CRNG * m_pcRNG
Random number generator.
Definition: footbot_base_ground_rotzonly_sensor.h:56
argos::CEmbodiedEntity
This entity is a link to a body in the physics engine.
Definition: embodied_entity.h:48
argos::CFootBotBaseGroundRotZOnlySensor::m_bAddNoise
bool m_bAddNoise
Whether to add noise or not.
Definition: footbot_base_ground_rotzonly_sensor.h:59
argos::TConfigurationNode
ticpp::Element TConfigurationNode
The ARGoS configuration XML node.
Definition: argos_configuration.h:27
argos::CFloorEntity
Definition: floor_entity.h:21
argos::CRandom::CRNG
The RNG.
Definition: rng.h:90
argos::CFootBotBaseGroundRotZOnlySensor::m_pcFloorEntity
CFloorEntity * m_pcFloorEntity
Reference to floor entity.
Definition: footbot_base_ground_rotzonly_sensor.h:50
argos::CFootBotBaseGroundRotZOnlySensor::Init
virtual void Init(TConfigurationNode &t_tree)
Initializes the sensor from the XML configuration tree.
Definition: footbot_base_ground_rotzonly_sensor.cpp:46
argos::CFootBotBaseGroundRotZOnlySensor
Definition: footbot_base_ground_rotzonly_sensor.h:27
argos::CFootBotBaseGroundRotZOnlySensor::CFootBotBaseGroundRotZOnlySensor
CFootBotBaseGroundRotZOnlySensor()
Definition: footbot_base_ground_rotzonly_sensor.cpp:25
argos::CFootBotBaseGroundRotZOnlySensor::SetRobot
virtual void SetRobot(CComposableEntity &c_entity)
Sets the entity associated to this sensor.
Definition: footbot_base_ground_rotzonly_sensor.cpp:36
argos::CGroundSensorEquippedEntity
Definition: ground_sensor_equipped_entity.h:21
argos::CRange< Real >
argos::CSimulatedSensor
The basic interface for a simulated sensor.
Definition: sensor.h:22
argos::CCI_FootBotBaseGroundSensor
Definition: ci_footbot_base_ground_sensor.h:45
argos::CFootBotBaseGroundRotZOnlySensor::Update
virtual void Update()
Updates the state of the entity associated to this sensor.
Definition: footbot_base_ground_rotzonly_sensor.cpp:70
argos::CFootBotBaseGroundRotZOnlySensor::m_cNoiseRange
CRange< Real > m_cNoiseRange
Noise range.
Definition: footbot_base_ground_rotzonly_sensor.h:62
argos::CFootBotBaseGroundRotZOnlySensor::~CFootBotBaseGroundRotZOnlySensor
virtual ~CFootBotBaseGroundRotZOnlySensor()
Definition: footbot_base_ground_rotzonly_sensor.h:34
argos::CFootBotBaseGroundRotZOnlySensor::m_cSpace
CSpace & m_cSpace
Reference to the space.
Definition: footbot_base_ground_rotzonly_sensor.h:65