CARLA
LibCarla
source
carla
sensor
s11n
RadarSerializer.cpp
Go to the documentation of this file.
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/RadarSerializer.h
"
8
9
#include "
carla/sensor/data/RadarMeasurement.h
"
10
11
namespace
carla
{
12
namespace
sensor {
13
namespace
s11n {
14
15
SharedPtr<SensorData>
RadarSerializer::Deserialize
(
RawData
&&data) {
16
return
SharedPtr<data::RadarMeasurement>
(
17
new
data::RadarMeasurement
{std::move(data)});
18
}
19
20
}
// namespace s11n
21
}
// namespace sensor
22
}
// namespace carla
carla::sensor::s11n::RadarSerializer::Deserialize
static SharedPtr< SensorData > Deserialize(RawData &&data)
Definition:
RadarSerializer.cpp:15
carla::sensor::data::RadarMeasurement
Measurement produced by a Radar.
Definition:
RadarMeasurement.h:20
RadarMeasurement.h
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
carla
This file contains definitions of common data structures used in traffic manager. ...
Definition:
Carla.cpp:133
RadarSerializer.h
carla::sensor::RawData
Wrapper around the raw data generated by a sensor plus some useful meta-information.
Definition:
RawData.h:21
Generated by
1.8.13