#include <DVLSensor.h>
Public Member Functions | |
DVLSensor (std::string sensor_name, std::string parentName, osg::Node *parent, osg::Matrixd rMl, double std=0) | |
osg::Vec3d | getMeasurement () |
double | getStandardDeviation () |
int | getTFTransform (tf::Pose &pose, std::string &parent) |
virtual | ~DVLSensor () |
Public Attributes | |
std::string | name |
std::string | parentLinkName |
Private Attributes | |
osg::ref_ptr< osg::Node > | node_ |
osg::ref_ptr< osg::Node > | parent_ |
osg::Matrixd | rMl_ |
boost::mt19937 | rng_ |
Boost random number generator. | |
double | std_ |
ros::Time | tprevious_ |
osg::Vec3d | xprevious_ |
Definition at line 26 of file DVLSensor.h.
DVLSensor::DVLSensor | ( | std::string | sensor_name, |
std::string | parentName, | ||
osg::Node * | parent, | ||
osg::Matrixd | rMl, | ||
double | std = 0 |
||
) | [inline] |
Constructor
name | the name of the dvl sensor |
parentName | the name of the link that holds the DVL sensor |
parent | the node of the scene graph that holds the sensor |
rMl | the sensor measures are given with respect to the root (r). Use rMl to transform them to another frame ('l' is the new frame, typically the localized world) |
std | the standard deviation on the sensor measures |
Definition at line 39 of file DVLSensor.h.
virtual DVLSensor::~DVLSensor | ( | ) | [inline, virtual] |
Definition at line 55 of file DVLSensor.h.
osg::Vec3d DVLSensor::getMeasurement | ( | ) |
Definition at line 19 of file DVLSensor.cpp.
double DVLSensor::getStandardDeviation | ( | ) | [inline] |
Definition at line 50 of file DVLSensor.h.
int DVLSensor::getTFTransform | ( | tf::Pose & | pose, |
std::string & | parent | ||
) |
Definition at line 50 of file DVLSensor.cpp.
std::string DVLSensor::name |
Definition at line 30 of file DVLSensor.h.
osg::ref_ptr<osg::Node> DVLSensor::node_ [private] |
Definition at line 63 of file DVLSensor.h.
osg::ref_ptr<osg::Node> DVLSensor::parent_ [private] |
Definition at line 60 of file DVLSensor.h.
std::string DVLSensor::parentLinkName |
Definition at line 30 of file DVLSensor.h.
osg::Matrixd DVLSensor::rMl_ [private] |
Definition at line 61 of file DVLSensor.h.
boost::mt19937 DVLSensor::rng_ [private] |
Boost random number generator.
Definition at line 67 of file DVLSensor.h.
double DVLSensor::std_ [private] |
Definition at line 62 of file DVLSensor.h.
ros::Time DVLSensor::tprevious_ [private] |
Definition at line 64 of file DVLSensor.h.
osg::Vec3d DVLSensor::xprevious_ [private] |
Definition at line 65 of file DVLSensor.h.