Serializes the data generated by Lidar sensors. More...
#include <LidarSerializer.h>
Static Public Member Functions | |
static SharedPtr< SensorData > | Deserialize (RawData &&data) |
static LidarHeaderView | DeserializeHeader (const RawData &data) |
static size_t | GetHeaderOffset (const RawData &data) |
template<typename Sensor > | |
static Buffer | Serialize (const Sensor &sensor, const data::LidarData &data, Buffer &&output) |
Serializes the data generated by Lidar sensors.
Definition at line 58 of file LidarSerializer.h.
|
static |
Definition at line 15 of file LidarSerializer.cpp.
|
inlinestatic |
Definition at line 61 of file LidarSerializer.h.
References carla::sensor::RawData::begin().
Referenced by carla::sensor::data::LidarMeasurement::GetHeader().
|
inlinestatic |
Definition at line 65 of file LidarSerializer.h.
References PropAttributes::SIZE.
Referenced by carla::sensor::data::LidarMeasurement::LidarMeasurement().
|
inlinestatic |
Definition at line 84 of file LidarSerializer.h.
References carla::sensor::data::SemanticLidarData::_header, carla::sensor::data::LidarData::_points, and carla::Buffer::copy_from().