Public Member Functions | |
virtual Real | CalculateReading (Real f_distance) |
Calculates the proximity reading when the closest occluding object is located as the given distance. More... | |
virtual Real | CalculateReading (Real f_distance) |
Calculates the proximity reading when the closest occluding object is located as the given distance. More... | |
Public Member Functions inherited from argos::CProximityDefaultSensor | |
CProximityDefaultSensor () | |
virtual | ~CProximityDefaultSensor () |
virtual void | SetRobot (CComposableEntity &c_entity) |
Sets the entity associated to this sensor. More... | |
virtual void | Init (TConfigurationNode &t_tree) |
Initializes the sensor from the XML configuration tree. More... | |
virtual void | Update () |
Updates the state of the entity associated to this sensor, if the sensor is currently enabled. More... | |
virtual void | Reset () |
Resets the sensor to the state it had just after Init(). More... | |
bool | IsShowRays () |
Returns true if the rays must be shown in the GUI. More... | |
void | SetShowRays (bool b_show_rays) |
Sets whether or not the rays must be shown in the GUI. More... | |
Public Member Functions inherited from argos::CSimulatedSensor | |
virtual | ~CSimulatedSensor () |
Class destructor. More... | |
Public Member Functions inherited from argos::CCI_ProximitySensor | |
virtual | ~CCI_ProximitySensor () |
const std::vector< Real > & | GetReadings () const |
Public Member Functions inherited from argos::CCI_Sensor | |
virtual | ~CCI_Sensor () |
Class destructor. More... | |
virtual void | Destroy () |
Destroys the sensor. More... | |
virtual void | Enable () |
Enables updating of sensor information in the event loop. More... | |
virtual void | Disable () |
Disables updating of sensor information in the event loop. More... | |
bool | IsEnabled () const |
bool | IsDisabled () const |
Public Member Functions inherited from argos::CBaseConfigurableResource | |
virtual | ~CBaseConfigurableResource () |
Class destructor. More... | |
Additional Inherited Members | |
Public Types inherited from argos::CCI_Sensor | |
typedef std::map< std::string, CCI_Sensor *, std::less< std::string > > | TMap |
Protected Attributes inherited from argos::CProximityDefaultSensor | |
CEmbodiedEntity * | m_pcEmbodiedEntity |
Reference to embodied entity associated to this sensor. More... | |
CProximitySensorEquippedEntity * | m_pcProximityEntity |
Reference to proximity sensor equipped entity associated to this sensor. More... | |
CControllableEntity * | m_pcControllableEntity |
Reference to controllable entity associated to this sensor. More... | |
bool | m_bShowRays |
Flag to show rays in the simulator. More... | |
CRandom::CRNG * | m_pcRNG |
Random number generator. More... | |
bool | m_bAddNoise |
Whether to add noise or not. More... | |
CRange< Real > | m_cNoiseRange |
Noise range. More... | |
CSpace & | m_cSpace |
Reference to the space. More... | |
Protected Attributes inherited from argos::CCI_ProximitySensor | |
std::vector< Real > | m_tReadings |
Definition at line 18 of file eyebot_proximity_default_sensor.cpp.
Calculates the proximity reading when the closest occluding object is located as the given distance.
f_distance | The distance of the closest occluding object in meters |
Reimplemented from argos::CProximityDefaultSensor.
Definition at line 22 of file eyebot_proximity_default_sensor.cpp.
Calculates the proximity reading when the closest occluding object is located as the given distance.
f_distance | The distance of the closest occluding object in meters |
Reimplemented from argos::CProximityDefaultSensor.
Definition at line 22 of file footbot_proximity_default_sensor.cpp.