CARLA
 
载入中...
搜索中...
未找到
EpisodeStateSerializer.cpp
浏览该文件的文档.
1// Copyright (c) 2017 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/EpisodeStateSerializer.h" // 包含 EpisodeStateSerializer 的定义
8
9#include "carla/sensor/data/RawEpisodeState.h" // 包含 RawEpisodeState 数据类型的定义
10
11namespace carla {
12namespace sensor {
13namespace s11n {
14 //从原始传感器数据反序列化出场景状态数据
16 // 将输入的原始数据封装到一个新的 RawEpisodeState 对象中
17 // 使用智能指针 SharedPtr 管理对象的生命周期
19 }
20
21} // namespace s11n
22} // namespace sensor
23} // namespace carla
包装一个传感器生成的原始数据以及一些有用的元信息。
Definition RawData.h:20
表示给定帧处剧集的状态。
static SharedPtr< SensorData > Deserialize(RawData &&data)
CARLA模拟器的主命名空间。
Definition Carla.cpp:139
boost::shared_ptr< T > SharedPtr
使用这个SharedPtr(boost::shared_ptr)以保持与boost::python的兼容性, 但未来如果可能的话,我们希望能为std::shared_ptr制作一个Python适配器。
Definition Memory.h:19