CARLA
载入中...
搜索中...
未找到
LibCarla
source
carla
sensor
s11n
IMUSerializer.cpp
浏览该文件的文档.
1
// Copyright (c) 2019 Computer Vision Center (CVC) at the Universitat Autonoma
2
// de Barcelona (UAB).
3
//
4
// This work is licensed under the terms of the MIT license.
5
// For a copy, see <https://opensource.org/licenses/MIT>.
6
7
#include "
carla/sensor/s11n/IMUSerializer.h
"
8
#include "
carla/sensor/data/IMUMeasurement.h
"
9
10
namespace
carla
{
11
namespace
sensor {
12
namespace
s11n {
13
14
SharedPtr<SensorData>
IMUSerializer::Deserialize
(
RawData
&&data) {
15
return
SharedPtr<SensorData>
(
new
data::IMUMeasurement
(std::move(data)));
16
}
17
18
}
// namespace s11n
19
}
// namespace sensor
20
}
// namespace carla
IMUMeasurement.h
IMUSerializer.h
carla::sensor::RawData
Wrapper around the raw data generated by a sensor plus some useful meta-information.
Definition
RawData.h:21
carla::sensor::data::IMUMeasurement
Definition
IMUMeasurement.h:17
carla::sensor::s11n::IMUSerializer::Deserialize
static SharedPtr< SensorData > Deserialize(RawData &&data)
Definition
IMUSerializer.cpp:14
carla
This file contains definitions of common data structures used in traffic manager.
Definition
Carla.cpp:133
carla::SharedPtr
boost::shared_ptr< T > SharedPtr
Use this SharedPtr (boost::shared_ptr) to keep compatibility with boost::python, but it would be nice...
Definition
Memory.h:20
制作者
1.10.0