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::CameraSensorData Class Reference

#include <sensor.h>

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

Public Member Functions

virtual SensorType GetType ()
 
virtual bool serialize (std::ostream &O) const
 Serialize the sensor data to stream in XML format.
 
- Public Member Functions inherited from OpenRAVE::SensorBase::SensorData
virtual ~SensorData ()
 

Public Attributes

std::vector< uint8_t > vimagedata
 rgb image data, if camera only outputs in grayscale, fill each channel with the same value
 
- Public Attributes inherited from OpenRAVE::SensorBase::SensorData
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

Examples:
opencvsaving.cpp.

Definition at line 84 of file sensor.h.

Member Function Documentation

virtual SensorType OpenRAVE::SensorBase::CameraSensorData::GetType ( )
inlinevirtual

Implements OpenRAVE::SensorBase::SensorData.

Definition at line 87 of file sensor.h.

bool OpenRAVE::SensorBase::CameraSensorData::serialize ( std::ostream &  O) const
virtual

Serialize the sensor data to stream in XML format.

Reimplemented from OpenRAVE::SensorBase::SensorData.

Definition at line 1860 of file libopenrave.cpp.

Member Data Documentation

std::vector<uint8_t> OpenRAVE::SensorBase::CameraSensorData::vimagedata

rgb image data, if camera only outputs in grayscale, fill each channel with the same value

Definition at line 90 of file sensor.h.


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