CARLA
 
载入中...
搜索中...
未找到
ObjectLabel.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
16 enum class CityObjectLabel : uint8_t {
17 None = 0u,
18 // 城市场景中目标的标签总和
19 Roads = 1u,
20 Sidewalks = 2u,
21 Buildings = 3u,
22 Walls = 4u,
23 Fences = 5u,
24 Poles = 6u,
25 TrafficLight = 7u,
26 TrafficSigns = 8u,
27 Vegetation = 9u,
28 Terrain = 10u,
29 Sky = 11u,
30 Pedestrians = 12u,
31 Rider = 13u,
32 Car = 14u,
33 Truck = 15u,
34 Bus = 16u,
35 Train = 17u,
36 Motorcycle = 18u,
37 Bicycle = 19u,
38 // 自定义标签
39 Static = 20u,
40 Dynamic = 21u,
41 Other = 22u,
42 Water = 23u,
43 RoadLines = 24u,
44 Ground = 25u,
45 Bridge = 26u,
46 RailTrack = 27u,
47 GuardRail = 28u,
48
49 Any = 0xFF
50 };
51
52} // namespace rpc
53} // namespace carla
54
MSGPACK_ADD_ENUM(carla::rpc::CityObjectLabel)
This file contains definitions of common data structures used in traffic manager.
Definition Carla.cpp:133