#include <PressureSensor.h>
Public Member Functions | |
double | getMeasurement () |
double | getStandardDeviation () |
int | getTFTransform (tf::Pose &pose, std::string &parent) |
PressureSensor (std::string sensor_name, std::string parentName, osg::Node *parent, osg::Matrixd rMl, double std=0) | |
virtual | ~PressureSensor () |
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_ |
Definition at line 24 of file PressureSensor.h.
PressureSensor::PressureSensor | ( | std::string | sensor_name, |
std::string | parentName, | ||
osg::Node * | parent, | ||
osg::Matrixd | rMl, | ||
double | std = 0 |
||
) | [inline] |
Constructor
name | the name of the pressure sensor |
parentName | the name of the link that holds the IMU |
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 PressureSensor.h.
virtual PressureSensor::~PressureSensor | ( | ) | [inline, virtual] |
Definition at line 52 of file PressureSensor.h.
double PressureSensor::getMeasurement | ( | ) |
Definition at line 18 of file PressureSensor.cpp.
double PressureSensor::getStandardDeviation | ( | ) | [inline] |
Definition at line 47 of file PressureSensor.h.
int PressureSensor::getTFTransform | ( | tf::Pose & | pose, |
std::string & | parent | ||
) |
Definition at line 31 of file PressureSensor.cpp.
std::string PressureSensor::name |
Definition at line 28 of file PressureSensor.h.
osg::ref_ptr<osg::Node> PressureSensor::node_ [private] |
Definition at line 60 of file PressureSensor.h.
osg::ref_ptr<osg::Node> PressureSensor::parent_ [private] |
Definition at line 57 of file PressureSensor.h.
std::string PressureSensor::parentLinkName |
Definition at line 28 of file PressureSensor.h.
osg::Matrixd PressureSensor::rMl_ [private] |
Definition at line 58 of file PressureSensor.h.
boost::mt19937 PressureSensor::rng_ [private] |
Boost random number generator.
Definition at line 62 of file PressureSensor.h.
double PressureSensor::std_ [private] |
Definition at line 59 of file PressureSensor.h.