Stores joint angles and EE position. More...
#include <sensor.h>
Public Member Functions | |
virtual SensorType | GetType () |
![]() | |
virtual | ~SensorData () |
virtual bool | serialize (std::ostream &O) const |
Serialize the sensor data to stream in XML format. | |
Public Attributes | |
std::vector< dReal > | encoderValues |
measured joint angles in radians | |
std::vector< dReal > | encoderVelocity |
measured joint velocity in radians | |
![]() | |
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 |
Implements OpenRAVE::SensorBase::SensorData.
std::vector<dReal> OpenRAVE::SensorBase::JointEncoderSensorData::encoderValues |
std::vector<dReal> OpenRAVE::SensorBase::JointEncoderSensorData::encoderVelocity |