used to pass sensor data around More...
#include <sensor.h>
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 | |
|
inlinevirtual |
|
pure virtual |
Implemented in OpenRAVE::SensorBase::ActuatorSensorData, OpenRAVE::SensorBase::TactileSensorData, OpenRAVE::SensorBase::OdometrySensorData, OpenRAVE::SensorBase::IMUSensorData, OpenRAVE::SensorBase::Force6DSensorData, OpenRAVE::SensorBase::JointEncoderSensorData, OpenRAVE::SensorBase::CameraSensorData, and OpenRAVE::SensorBase::LaserSensorData.
|
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.
uint64_t OpenRAVE::SensorBase::SensorData::__stamp |
Transform OpenRAVE::SensorBase::SensorData::__trans |
the coordinate system the sensor was when the measurement was taken, this is taken directly from SensorBase::GetTransform