#include <VirtualRangeSensor.h>
Public Member Functions | |
int | getTFTransform (tf::Pose &pose, std::string &parent) |
virtual void | init (std::string name, std::string parentName, osg::Node *root, osg::Node *trackNode, double range, bool visible, unsigned int mask) |
VirtualRangeSensor (std::string name, std::string parentName, osg::Node *root, osg::Node *trackNode, double range, bool visible, unsigned int mask) | |
VirtualRangeSensor () | |
Public Attributes | |
std::string | name |
osg::ref_ptr < IntersectorUpdateCallback > | node_tracker |
std::string | parentLinkName |
double | range |
Max distance of the beam. | |
osg::ref_ptr< osg::Node > | root |
osg::ref_ptr< osg::Node > | trackNode |
bool | visible |
Whether to make the beam visible or not. |
Virtual range sensor that computes the distance to an obstacle along a given direction
Definition at line 110 of file VirtualRangeSensor.h.
VirtualRangeSensor::VirtualRangeSensor | ( | std::string | name, |
std::string | parentName, | ||
osg::Node * | root, | ||
osg::Node * | trackNode, | ||
double | range, | ||
bool | visible, | ||
unsigned int | mask | ||
) |
Definition at line 22 of file VirtualRangeSensor.cpp.
Definition at line 18 of file VirtualRangeSensor.cpp.
int VirtualRangeSensor::getTFTransform | ( | tf::Pose & | pose, |
std::string & | parent | ||
) |
Definition at line 53 of file VirtualRangeSensor.cpp.
void VirtualRangeSensor::init | ( | std::string | name, |
std::string | parentName, | ||
osg::Node * | root, | ||
osg::Node * | trackNode, | ||
double | range, | ||
bool | visible, | ||
unsigned int | mask | ||
) | [virtual] |
Definition at line 28 of file VirtualRangeSensor.cpp.
std::string VirtualRangeSensor::name |
Definition at line 113 of file VirtualRangeSensor.h.
osg::ref_ptr<IntersectorUpdateCallback> VirtualRangeSensor::node_tracker |
Definition at line 118 of file VirtualRangeSensor.h.
std::string VirtualRangeSensor::parentLinkName |
Definition at line 113 of file VirtualRangeSensor.h.
double VirtualRangeSensor::range |
Max distance of the beam.
Definition at line 116 of file VirtualRangeSensor.h.
osg::ref_ptr<osg::Node> VirtualRangeSensor::root |
Definition at line 115 of file VirtualRangeSensor.h.
osg::ref_ptr<osg::Node> VirtualRangeSensor::trackNode |
Definition at line 114 of file VirtualRangeSensor.h.
Whether to make the beam visible or not.
Definition at line 117 of file VirtualRangeSensor.h.