Public Member Functions | Public Attributes | Private Attributes
DVLSensor Class Reference

#include <DVLSensor.h>

List of all members.

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_

Detailed Description

Definition at line 26 of file DVLSensor.h.


Constructor & Destructor Documentation

DVLSensor::DVLSensor ( std::string  sensor_name,
std::string  parentName,
osg::Node *  parent,
osg::Matrixd  rMl,
double  std = 0 
) [inline]

Constructor

Parameters:
namethe name of the dvl sensor
parentNamethe name of the link that holds the DVL sensor
parentthe node of the scene graph that holds the sensor
rMlthe 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)
stdthe 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.


Member Function Documentation

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.


Member Data Documentation

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.

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.

Definition at line 64 of file DVLSensor.h.

osg::Vec3d DVLSensor::xprevious_ [private]

Definition at line 65 of file DVLSensor.h.


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


uwsim
Author(s): Mario Prats , Javier Perez
autogenerated on Fri Aug 28 2015 13:28:58