Warning: include(php/utility.php): Failed to open stream: No such file or directory in /home/argos/argos3/doc/api/embedded/a00699_source.php on line 2

Warning: include(): Failed opening 'php/utility.php' for inclusion (include_path='.:/usr/lib64/php') in /home/argos/argos3/doc/api/embedded/a00699_source.php on line 2
The ARGoS Website

range_and_bearing_medium_sensor.h
Go to the documentation of this file.
1 
7 #ifndef RANGE_AND_BEARING_MEDIUM_SENSOR_H
8 #define RANGE_AND_BEARING_MEDIUM_SENSOR_H
9 
10 #include <string>
11 #include <map>
12 
13 namespace argos {
14  class CRangeAndBearingMediumSensor;
15  class CRABEquippedEntity;
16  class CControllableEntity;
17  class CRABMedium;
18 }
19 
20 #include <argos3/core/simulator/sensor.h>
21 #include <argos3/core/utility/math/rng.h>
22 #include <argos3/core/simulator/space/space.h>
23 #include <argos3/plugins/robots/generic/control_interface/ci_range_and_bearing_sensor.h>
24 
25 namespace argos {
26 
29 
30  public:
31 
34  virtual void SetRobot(CComposableEntity& c_entity);
35  virtual void Init(TConfigurationNode& t_tree);
36  virtual void Update();
37  virtual void Reset();
38  virtual void Destroy();
39 
40  private:
41 
42  CRABEquippedEntity* m_pcRangeAndBearingEquippedEntity;
43  CControllableEntity* m_pcControllableEntity;
44  CRABMedium* m_pcRangeAndBearingMedium;
45  Real m_fDistanceNoiseStdDev;
46  Real m_fPacketDropProb;
47  CRandom::CRNG* m_pcRNG;
48  CSpace& m_cSpace;
49  bool m_bShowRays;
50  };
51 }
52 
53 #endif
The RNG.
Definition: rng.h:90
An entity that contains a pointer to the user-defined controller.
float Real
Collects all ARGoS code.
Definition: datatypes.h:39
ticpp::Element TConfigurationNode
The ARGoS configuration XML node.
The basic interface for a simulated sensor.
Definition: sensor.h:22
Basic class for an entity that contains other entities.
virtual void Update()
Updates the state of the entity associated to this sensor.
virtual void Init(TConfigurationNode &t_tree)
Initializes the sensor from the XML configuration tree.
The namespace containing all the ARGoS related code.
Definition: ci_actuator.h:12
virtual void SetRobot(CComposableEntity &c_entity)
Sets the entity associated to this sensor.
virtual void Reset()
Resets the sensor to the state it had just after Init().