#include <DVLSensor.h>
Public Member Functions | |
DVLSensor (std::string sensor_name, osg::Node *parent, osg::Matrixd rMl, double std=0) | |
osg::Vec3d | getMeasurement () |
double | getStandardDeviation () |
virtual | ~DVLSensor () |
Public Attributes | |
std::string | name |
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 25 of file DVLSensor.h.
DVLSensor::DVLSensor | ( | std::string | sensor_name, |
osg::Node * | parent, | ||
osg::Matrixd | rMl, | ||
double | std = 0 |
||
) | [inline] |
Constructor
name | the name of the pressure 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 37 of file DVLSensor.h.
virtual DVLSensor::~DVLSensor | ( | ) | [inline, virtual] |
Definition at line 52 of file DVLSensor.h.
osg::Vec3d DVLSensor::getMeasurement | ( | ) |
Definition at line 17 of file DVLSensor.cpp.
double DVLSensor::getStandardDeviation | ( | ) | [inline] |
Definition at line 47 of file DVLSensor.h.
std::string DVLSensor::name |
Definition at line 29 of file DVLSensor.h.
osg::ref_ptr<osg::Node> DVLSensor::node_ [private] |
Definition at line 60 of file DVLSensor.h.
osg::ref_ptr<osg::Node> DVLSensor::parent_ [private] |
Definition at line 57 of file DVLSensor.h.
osg::Matrixd DVLSensor::rMl_ [private] |
Definition at line 58 of file DVLSensor.h.
boost::mt19937 DVLSensor::rng_ [private] |
Boost random number generator.
Definition at line 64 of file DVLSensor.h.
double DVLSensor::std_ [private] |
Definition at line 59 of file DVLSensor.h.
ros::Time DVLSensor::tprevious_ [private] |
Definition at line 61 of file DVLSensor.h.
osg::Vec3d DVLSensor::xprevious_ [private] |
Definition at line 62 of file DVLSensor.h.