Sensor with one or more rays. More...
#include <RaySensor.hh>

Public Member Functions | |
| RaySensor () | |
| Constructor. | |
| virtual | ~RaySensor () |
| Destructor. | |
| virtual void | Load (sdf::ElementPtr &_sdf) |
| Load the ray using parameter from an SDF. | |
| virtual void | Load () |
| Load the sensor with default parameters. | |
| virtual void | Init () |
| Initialize the ray. | |
| math::Angle | GetAngleMin () const |
| Get the minimum angle. | |
| math::Angle | GetAngleMax () const |
| Get the maximum angle. | |
| double | GetAngleResolution () const |
| Get radians between each range. | |
| double | GetRangeMin () const |
| Get the minimum range. | |
| double | GetRangeMax () const |
| Get the maximum range. | |
| double | GetRangeResolution () const |
| Get the range resolution. | |
| int | GetRayCount () const |
| Get the ray count. | |
| int | GetRangeCount () const |
| Get the range count. | |
| int | GetVerticalRayCount () const |
| Get the vertical scan line count. | |
| int | GetVerticalRangeCount () const |
| Get the vertical scan line count. | |
| math::Angle | GetVerticalAngleMin () const |
| Get the vertical scan bottom angle. | |
| math::Angle | GetVerticalAngleMax () const |
| Get the vertical scan line top angle. | |
| double | GetRange (int index) |
| Get detected range for a ray. | |
| double | GetRetro (int index) |
| Get detected retro (intensity) value for a ray. | |
| int | GetFiducial (int index) |
| Get detected fiducial value for a ray. | |
Protected Member Functions | |
| virtual void | UpdateImpl (bool _force) |
| Update the sensor information. | |
| virtual void | Fini () |
| Finalize the ray. | |
Sensor with one or more rays.
This sensor cast rays into the world, tests for intersections, and reports the range to the nearest object. It is used by ranging sensor models (e.g., sonars and scanning laser range finders).
| math::Angle GetAngleMax | ( | ) | const |
Get the maximum angle.
| math::Angle GetAngleMin | ( | ) | const |
Get the minimum angle.
| double GetRange | ( | int | index | ) |
Get detected range for a ray.
| int GetRangeCount | ( | ) | const |
Get the range count.
| double GetRangeMax | ( | ) | const |
Get the maximum range.
| double GetRangeMin | ( | ) | const |
Get the minimum range.
| int GetRayCount | ( | ) | const |
Get the ray count.
| math::Angle GetVerticalAngleMax | ( | ) | const |
Get the vertical scan line top angle.
| math::Angle GetVerticalAngleMin | ( | ) | const |
Get the vertical scan bottom angle.
| int GetVerticalRangeCount | ( | ) | const |
Get the vertical scan line count.
| int GetVerticalRayCount | ( | ) | const |
Get the vertical scan line count.
| virtual void Load | ( | sdf::ElementPtr & | _sdf | ) | [virtual] |
Load the ray using parameter from an SDF.
| node | The XMLConfig node |
Reimplemented from Sensor.
1.7.5.1