23 lines
616 B
C++
23 lines
616 B
C++
// Copyright (c) 2019 Computer Vision Center (CVC) at the Universitat Autonoma
|
|
// de Barcelona (UAB).
|
|
//
|
|
// This work is licensed under the terms of the MIT license.
|
|
// For a copy, see <https://opensource.org/licenses/MIT>.
|
|
|
|
#include "carla/sensor/s11n/RadarSerializer.h"
|
|
|
|
#include "carla/sensor/data/RadarMeasurement.h"
|
|
|
|
namespace carla {
|
|
namespace sensor {
|
|
namespace s11n {
|
|
|
|
SharedPtr<SensorData> RadarSerializer::Deserialize(RawData &&data) {
|
|
return SharedPtr<data::RadarMeasurement>(
|
|
new data::RadarMeasurement{std::move(data)});
|
|
}
|
|
|
|
} // namespace s11n
|
|
} // namespace sensor
|
|
} // namespace carla
|