7 #ifndef RANGE_AND_BEARING_MEDIUM_SENSOR_H
8 #define RANGE_AND_BEARING_MEDIUM_SENSOR_H
14 class CRangeAndBearingMediumSensor;
15 class CRABEquippedEntity;
16 class CControllableEntity;
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>
62 m_bShowRays = b_show_rays;
70 Real m_fDistanceNoiseStdDev;
71 Real m_fPacketDropProb;
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.
An entity that contains a pointer to the user-defined controller.
The basic interface for a simulated sensor.
virtual void Init(TConfigurationNode &t_tree)
Initializes the sensor from the XML configuration tree.
virtual ~CRangeAndBearingMediumSensor()
virtual void Update()
Updates the state of the entity associated to this sensor, if the sensor is currently enabled.
virtual void Enable()
Enables updating of sensor information in the event loop.
CRangeAndBearingMediumSensor()
virtual void Reset()
Resets the sensor to the state it had just after Init().
bool IsShowRays()
Returns true if the rays must be shown in the GUI.
virtual void Disable()
Disables updating of sensor information in the event loop.
void SetShowRays(bool b_show_rays)
Sets whether or not the rays must be shown in the GUI.
virtual void Destroy()
Destroys the sensor.
virtual void SetRobot(CComposableEntity &c_entity)
Sets the entity associated to this sensor.