ARGoS  3
A parallel, multi-engine simulator for swarm robotics
argos::CProximitySensorImpl Class Reference
+ Inheritance diagram for argos::CProximitySensorImpl:

List of all members.

Public Member Functions

virtual Real CalculateReading (Real f_distance)
 Calculates the proximity reading when the closest occluding object is located as the given distance.

Detailed Description

Definition at line 18 of file footbot_proximity_default_sensor.cpp.


Member Function Documentation

virtual Real argos::CProximitySensorImpl::CalculateReading ( Real  f_distance) [inline, virtual]

Calculates the proximity reading when the closest occluding object is located as the given distance.

Parameters:
f_distanceThe distance of the closest occluding object in meters
Returns:
A value in the range [0:1], where 0 means that the object is too far to be sensed, and 1 means the object is so close that it saturates the sensor.

Reimplemented from argos::CProximityDefaultSensor.

Definition at line 22 of file footbot_proximity_default_sensor.cpp.


The documentation for this class was generated from the following file: