RayProximity Class Reference
Proximity sensor with one or more rays. More...
#include <RayProximity.hh>
Inheritance diagram for RayProximity:
Public Member Functions | |
RayProximity (World *world, Body *body, int rayCount) | |
Constructor. | |
virtual | ~RayProximity () |
Destructor. | |
void | SetRay (int index, GzVector a, GzVector b) |
Set ray parameters. | |
void | GetRay (int index, GzVector *pos, GzVector *dir) |
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. | |
void | Update () |
Update sensed values. |
Detailed Description
Proximity 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).
Constructor & Destructor Documentation
|
Constructor.
|
|
Destructor.
|
Member Function Documentation
|
Set ray parameters.
|
|
Get ray parameters
|
|
Get detected range for a ray.
|
|
Get detected retro (intensity) value for a ray.
|
|
Get detected fiducial value for a ray.
|
|
Update sensed values.
|
The documentation for this class was generated from the following files: