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

#include <PressureSensor.h>

List of all members.

Public Member Functions

double getMeasurement ()
double getStandardDeviation ()
 PressureSensor (std::string sensor_name, osg::Node *parent, osg::Matrixd rMl, double std=0)
virtual ~PressureSensor ()

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_

Detailed Description

Definition at line 23 of file PressureSensor.h.


Constructor & Destructor Documentation

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

Constructor

Parameters:
namethe name of the pressure 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 35 of file PressureSensor.h.

virtual PressureSensor::~PressureSensor ( ) [inline, virtual]

Definition at line 49 of file PressureSensor.h.


Member Function Documentation

Definition at line 16 of file PressureSensor.cpp.

Definition at line 44 of file PressureSensor.h.


Member Data Documentation

std::string PressureSensor::name

Definition at line 27 of file PressureSensor.h.

osg::ref_ptr<osg::Node> PressureSensor::node_ [private]

Definition at line 57 of file PressureSensor.h.

osg::ref_ptr<osg::Node> PressureSensor::parent_ [private]

Definition at line 54 of file PressureSensor.h.

osg::Matrixd PressureSensor::rMl_ [private]

Definition at line 55 of file PressureSensor.h.

boost::mt19937 PressureSensor::rng_ [private]

Boost random number generator.

Definition at line 59 of file PressureSensor.h.

double PressureSensor::std_ [private]

Definition at line 56 of file PressureSensor.h.


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


uwsim
Author(s): Mario Prats
autogenerated on Mon Oct 6 2014 08:24:07