CARLA
 
载入中...
搜索中...
未找到
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
13namespace carla {
14namespace rpc {
15
16using MapLayerType = uint16_t;
17
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
33std::string MapLayerToString(MapLayer MapLayerValue);
34
35} // namespace rpc
36} // namespace carla
37
MSGPACK_ADD_ENUM(carla::rpc::MapLayer)
std::string MapLayerToString(MapLayer MapLayerValue)
Definition MapLayer.cpp:12
uint16_t MapLayerType
Definition MapLayer.h:16
This file contains definitions of common data structures used in traffic manager.
Definition Carla.cpp:133