All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties 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]
Collaboration diagram for gazebo::physics::BulletRaySensor:
Collaboration graph
[legend]

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...
 

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: