All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
Public Member Functions | List of all members
gazebo::physics::BulletRaySensor Class Reference

An Bullet Ray sensor. More...

#include <BulletRaySensor.hh>

Inheritance diagram for gazebo::physics::BulletRaySensor:
Inheritance graph
[legend]

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.
 

Detailed Description

An Bullet Ray sensor.

Constructor & Destructor Documentation

gazebo::physics::BulletRaySensor::BulletRaySensor ( Link body)

Constructor.

virtual gazebo::physics::BulletRaySensor::~BulletRaySensor ( )
virtual

Destructor.

Member Function Documentation

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 void gazebo::physics::BulletRaySensor::Update ( )
virtual

Update the ray sensor.


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