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