CARLA
Static Public Member Functions | List of all members
carla::sensor::s11n::RadarSerializer Class Reference

Serializes the data generated by Radar sensors. More...

#include <RadarSerializer.h>

Static Public Member Functions

static SharedPtr< SensorDataDeserialize (RawData &&data)
 
template<typename Sensor >
static Buffer Serialize (const Sensor &sensor, const data::RadarData &measurement, Buffer &&output)
 

Detailed Description

Serializes the data generated by Radar sensors.

Definition at line 28 of file RadarSerializer.h.

Member Function Documentation

◆ Deserialize()

SharedPtr< SensorData > carla::sensor::s11n::RadarSerializer::Deserialize ( RawData &&  data)
static

Definition at line 15 of file RadarSerializer.cpp.

◆ Serialize()

template<typename Sensor >
Buffer carla::sensor::s11n::RadarSerializer::Serialize ( const Sensor &  sensor,
const data::RadarData measurement,
Buffer &&  output 
)
inlinestatic

Definition at line 41 of file RadarSerializer.h.

References carla::sensor::data::RadarData::_detections, and carla::Buffer::copy_from().

+ Here is the call graph for this function:

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