CARLA
Toggle main menu visibility
Loading...
Searching...
No Matches
LibCarla
source
carla
sensor
s11n
DVSEventArraySerializer.cpp
Go to the documentation of this file.
1
// Copyright (c) 2020 Robotics and Perception Group (GPR)
2
// University of Zurich and ETH Zurich
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/DVSEventArraySerializer.h
"
8
9
#include "
carla/sensor/data/DVSEventArray.h
"
10
11
namespace
carla
{
12
namespace
sensor
{
13
namespace
s11n
{
14
15
SharedPtr<SensorData>
DVSEventArraySerializer::Deserialize
(
RawData
&&
data
) {
16
17
auto
events_array =
SharedPtr<data::DVSEventArray>
(
new
data::DVSEventArray
{std::move(
data
)});
18
19
return
events_array;
20
}
21
22
}
// namespace s11n
23
}
// namespace sensor
24
}
// namespace carla
DVSEventArraySerializer.h
DVSEventArray.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::DVSEventArray
An array of DVS Events in an image structure HxW.
Definition
DVSEventArray.h:20
carla::sensor::s11n::DVSEventArraySerializer::Deserialize
static SharedPtr< SensorData > Deserialize(RawData &&data)
Definition
DVSEventArraySerializer.cpp:15
carla::sensor::data
Definition
ROS2.h:33
carla::sensor::s11n
Definition
ROS2.h:39
carla::sensor
Definition
client/detail/Client.h:58
carla
This file contains definitions of common data structures used in traffic manager.
Definition
SignComponent.h:21
carla::SharedPtr
std::shared_ptr< T > SharedPtr
Definition
Memory.h:15
Generated by
1.18.0