openrave.org

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
Public Member Functions | Public Attributes | List of all members
OpenRAVE::SensorBase::SensorData Class Referenceabstract

used to pass sensor data around More...

#include <sensor.h>

Inheritance diagram for OpenRAVE::SensorBase::SensorData:
Inheritance graph
[legend]
Collaboration diagram for OpenRAVE::SensorBase::SensorData:
Collaboration graph
[legend]

Public Member Functions

virtual ~SensorData ()
 
virtual SensorType GetType ()=0
 
virtual bool serialize (std::ostream &O) const
 Serialize the sensor data to stream in XML format.
 

Public Attributes

uint64_t __stamp
 time stamp of the sensor data in microseconds. If 0, then the data is uninitialized! (floating-point precision is bad here). This can be either simulation or real time depending on the sensor.
 
Transform __trans
 the coordinate system the sensor was when the measurement was taken, this is taken directly from SensorBase::GetTransform
 

Detailed Description

used to pass sensor data around

Definition at line 50 of file sensor.h.

Constructor & Destructor Documentation

virtual OpenRAVE::SensorBase::SensorData::~SensorData ( )
inlinevirtual

Definition at line 53 of file sensor.h.

Member Function Documentation

virtual SensorType OpenRAVE::SensorBase::SensorData::GetType ( )
pure virtual
bool OpenRAVE::SensorBase::SensorData::serialize ( std::ostream &  O) const
virtual

Serialize the sensor data to stream in XML format.

Reimplemented in OpenRAVE::SensorBase::CameraSensorData, and OpenRAVE::SensorBase::LaserSensorData.

Definition at line 1848 of file libopenrave.cpp.

Member Data Documentation

uint64_t OpenRAVE::SensorBase::SensorData::__stamp

time stamp of the sensor data in microseconds. If 0, then the data is uninitialized! (floating-point precision is bad here). This can be either simulation or real time depending on the sensor.

Definition at line 60 of file sensor.h.

Transform OpenRAVE::SensorBase::SensorData::__trans

the coordinate system the sensor was when the measurement was taken, this is taken directly from SensorBase::GetTransform

Definition at line 61 of file sensor.h.


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