Classes | Static Public Member Functions | List of all members
carla::sensor::s11n::IMUSerializer Class Reference

#include <IMUSerializer.h>


struct  Data

Static Public Member Functions

static SharedPtr< SensorDataDeserialize (RawData &&data)
static Data DeserializeRawData (const RawData &message)
template<typename SensorT >
static Buffer Serialize (const SensorT &sensor, const geom::Vector3D &accelerometer, const geom::Vector3D &gyroscope, const float compass)

Detailed Description

Definition at line 20 of file IMUSerializer.h.

Member Function Documentation

◆ Deserialize()

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

Definition at line 14 of file IMUSerializer.cpp.

Referenced by DeserializeRawData().

+ Here is the caller graph for this function:

◆ DeserializeRawData()

static Data carla::sensor::s11n::IMUSerializer::DeserializeRawData ( const RawData message)

Definition at line 42 of file IMUSerializer.h.

References carla::sensor::RawData::begin(), Deserialize(), and carla::sensor::RawData::size().

+ Here is the call graph for this function:

◆ Serialize()

template<typename SensorT >
Buffer carla::sensor::s11n::IMUSerializer::Serialize ( const SensorT &  sensor,
const geom::Vector3D accelerometer,
const geom::Vector3D gyroscope,
const float  compass 

Definition at line 50 of file IMUSerializer.h.

References carla::sensor::s11n::IMUSerializer::Data::accelerometer, carla::sensor::s11n::IMUSerializer::Data::gyroscope, and carla::MsgPack::Pack().

+ Here is the call graph for this function:

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