CARLA
载入中...
搜索中...
未找到
LibCarla
source
carla
rpc
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
13
namespace
carla
{
14
namespace
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
55
MSGPACK_ADD_ENUM
(
carla::rpc::CityObjectLabel
);
MsgPack.h
MSGPACK_ADD_ENUM
MSGPACK_ADD_ENUM(carla::rpc::CityObjectLabel)
carla::rpc::CityObjectLabel
CityObjectLabel
Definition
ObjectLabel.h:16
carla::rpc::CityObjectLabel::Sky
@ Sky
carla::rpc::CityObjectLabel::Water
@ Water
carla::rpc::CityObjectLabel::RailTrack
@ RailTrack
carla::rpc::CityObjectLabel::Terrain
@ Terrain
carla::rpc::CityObjectLabel::Vegetation
@ Vegetation
carla::rpc::CityObjectLabel::Motorcycle
@ Motorcycle
carla::rpc::CityObjectLabel::Other
@ Other
carla::rpc::CityObjectLabel::TrafficLight
@ TrafficLight
carla::rpc::CityObjectLabel::Bus
@ Bus
carla::rpc::CityObjectLabel::Truck
@ Truck
carla::rpc::CityObjectLabel::RoadLines
@ RoadLines
carla::rpc::CityObjectLabel::Bicycle
@ Bicycle
carla::rpc::CityObjectLabel::GuardRail
@ GuardRail
carla::rpc::CityObjectLabel::Poles
@ Poles
carla::rpc::CityObjectLabel::Static
@ Static
carla::rpc::CityObjectLabel::Roads
@ Roads
carla::rpc::CityObjectLabel::Rider
@ Rider
carla::rpc::CityObjectLabel::Dynamic
@ Dynamic
carla::rpc::CityObjectLabel::Pedestrians
@ Pedestrians
carla::rpc::CityObjectLabel::TrafficSigns
@ TrafficSigns
carla::rpc::CityObjectLabel::Sidewalks
@ Sidewalks
carla::rpc::CityObjectLabel::Fences
@ Fences
carla::rpc::CityObjectLabel::Bridge
@ Bridge
carla::rpc::CityObjectLabel::Train
@ Train
carla::rpc::CityObjectLabel::Car
@ Car
carla::rpc::CityObjectLabel::Any
@ Any
carla::rpc::MapLayer::Walls
@ Walls
carla::rpc::MapLayer::Ground
@ Ground
carla::rpc::MapLayer::None
@ None
carla::rpc::MapLayer::Buildings
@ Buildings
carla
This file contains definitions of common data structures used in traffic manager.
Definition
Carla.cpp:133
制作者
1.10.0