An Bullet Ray sensor. More...
#include <BulletRaySensor.hh>


Public Member Functions | |
| BulletRaySensor (Link *body) | |
| Constructor. More... | |
| virtual | ~BulletRaySensor () |
| Destructor. More... | |
| void | AddRay (math::Vector3 start, math::Vector3 end, double minRange, double maxRange, bool display) |
| Add a ray to the sensor. More... | |
| int | GetCount () const |
| Get the number of rays. More... | |
| double | GetFiducial (int index) const |
| Get the fiducial value of a ray. More... | |
| double | GetRange (int index) const |
| Get the range of a ray. More... | |
| void | GetRelativePoints (int index, math::Vector3 &a, math::Vector3 &b) |
| Get the relative starting and ending points of a ray. More... | |
| double | GetRetro (int index) const |
| Get the retro reflectance value of a ray. More... | |
| virtual void | Update () |
| Update the ray sensor. More... | |
An Bullet Ray sensor.
| gazebo::physics::BulletRaySensor::BulletRaySensor | ( | Link * | body | ) |
Constructor.
|
virtual |
Destructor.
| void gazebo::physics::BulletRaySensor::AddRay | ( | math::Vector3 | start, |
| math::Vector3 | end, | ||
| double | minRange, | ||
| double | maxRange, | ||
| bool | display | ||
| ) |
Add a ray to the sensor.
| int gazebo::physics::BulletRaySensor::GetCount | ( | ) | const |
Get the number of rays.
| double gazebo::physics::BulletRaySensor::GetFiducial | ( | int | index | ) | const |
Get the fiducial value of a ray.
| double gazebo::physics::BulletRaySensor::GetRange | ( | int | index | ) | const |
Get the range of a ray.
| void gazebo::physics::BulletRaySensor::GetRelativePoints | ( | int | index, |
| math::Vector3 & | a, | ||
| math::Vector3 & | b | ||
| ) |
Get the relative starting and ending points of a ray.
| double gazebo::physics::BulletRaySensor::GetRetro | ( | int | index | ) | const |
Get the retro reflectance value of a ray.
|
virtual |
Update the ray sensor.