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

#include <GPSSensor.h>

List of all members.

Public Member Functions

double depthBelowWater ()
osg::Vec3d getMeasurement ()
double getStandardDeviation ()
int getTFTransform (tf::Pose &pose, std::string &parent)
 GPSSensor (osgOceanScene *oscene, std::string sensor_name, std::string parentName, osg::Node *parent, osg::Matrixd rMl, double std=0)
virtual ~GPSSensor ()

Public Attributes

std::string name
std::string parentLinkName

Private Attributes

osg::ref_ptr< osg::Node > node_
osg::ref_ptr< osgOceanSceneoscene_
osg::ref_ptr< osg::Node > parent_
osg::Matrixd rMl_
boost::mt19937 rng_
 Boost random number generator.
double std_

Detailed Description

Definition at line 25 of file GPSSensor.h.


Constructor & Destructor Documentation

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

Constructor

Parameters:
namethe name of the GPS sensor
parentNamethe name of the link that holds the GPS 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 38 of file GPSSensor.h.

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

Definition at line 56 of file GPSSensor.h.


Member Function Documentation

Returns the depth of the sensor (in meters) under the water

Definition at line 32 of file GPSSensor.cpp.

osg::Vec3d GPSSensor::getMeasurement ( )

Definition at line 19 of file GPSSensor.cpp.

double GPSSensor::getStandardDeviation ( ) [inline]

Definition at line 48 of file GPSSensor.h.

int GPSSensor::getTFTransform ( tf::Pose pose,
std::string &  parent 
)

Definition at line 38 of file GPSSensor.cpp.


Member Data Documentation

std::string GPSSensor::name

Definition at line 29 of file GPSSensor.h.

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

Definition at line 65 of file GPSSensor.h.

osg::ref_ptr<osgOceanScene> GPSSensor::oscene_ [private]

Definition at line 61 of file GPSSensor.h.

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

Definition at line 62 of file GPSSensor.h.

Definition at line 29 of file GPSSensor.h.

osg::Matrixd GPSSensor::rMl_ [private]

Definition at line 63 of file GPSSensor.h.

boost::mt19937 GPSSensor::rng_ [private]

Boost random number generator.

Definition at line 67 of file GPSSensor.h.

double GPSSensor::std_ [private]

Definition at line 64 of file GPSSensor.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