CARLA
载入中...
搜索中...
未找到
LibCarla
source
carla
rpc
MapLayer.h
浏览该文件的文档.
1
// Copyright (c) 2020 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
#pragma once
8
9
#include "
carla/MsgPack.h
"
10
11
#include <cstdint>
12
13
namespace
carla
{
14
namespace
rpc {
15
16
using
MapLayerType
= uint16_t;
17
18
enum class
MapLayer
:
MapLayerType
19
{
20
None
= 0,
21
Buildings
= 0x1,
22
Decals
= 0x1 << 1,
23
Foliage
= 0x1 << 2,
24
Ground
= 0x1 << 3,
25
ParkedVehicles
= 0x1 << 4,
26
Particles
= 0x1 << 5,
27
Props
= 0x1 << 6,
28
StreetLights
= 0x1 << 7,
29
Walls
= 0x1 << 8,
30
All
= 0xFFFF,
31
};
32
33
std::string
MapLayerToString
(
MapLayer
MapLayerValue);
34
35
}
// namespace rpc
36
}
// namespace carla
37
38
MSGPACK_ADD_ENUM
(
carla::rpc::MapLayer
);
MSGPACK_ADD_ENUM
MSGPACK_ADD_ENUM(carla::rpc::MapLayer)
MsgPack.h
carla::rpc::MapLayer
MapLayer
Definition
MapLayer.h:19
carla::rpc::MapLayer::Walls
@ Walls
carla::rpc::MapLayer::Ground
@ Ground
carla::rpc::MapLayer::None
@ None
carla::rpc::MapLayer::ParkedVehicles
@ ParkedVehicles
carla::rpc::MapLayer::StreetLights
@ StreetLights
carla::rpc::MapLayer::Props
@ Props
carla::rpc::MapLayer::Buildings
@ Buildings
carla::rpc::MapLayer::Particles
@ Particles
carla::rpc::MapLayer::All
@ All
carla::rpc::MapLayer::Foliage
@ Foliage
carla::rpc::MapLayer::Decals
@ Decals
carla::rpc::MapLayerToString
std::string MapLayerToString(MapLayer MapLayerValue)
Definition
MapLayer.cpp:12
carla::rpc::MapLayerType
uint16_t MapLayerType
Definition
MapLayer.h:16
carla
This file contains definitions of common data structures used in traffic manager.
Definition
Carla.cpp:133
制作者
1.10.0