CARLA
LibCarla
source
carla
rpc
ObjectLabel.h
Go to the documentation of this file.
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
// cityscape labels
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
// custom
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
);
carla::rpc::CityObjectLabel::Motorcycle
carla::rpc::MapLayer::Walls
carla::rpc::CityObjectLabel
CityObjectLabel
Definition:
ObjectLabel.h:16
carla::rpc::CityObjectLabel::Train
carla::rpc::CityObjectLabel::Static
carla::rpc::CityObjectLabel::Fences
carla::rpc::CityObjectLabel::Bus
carla::rpc::CityObjectLabel::Water
carla::rpc::CityObjectLabel::Rider
carla::rpc::MapLayer::Buildings
carla::rpc::MapLayer::Ground
carla
This file contains definitions of common data structures used in traffic manager. ...
Definition:
Carla.cpp:133
carla::rpc::CityObjectLabel::Poles
carla::rpc::CityObjectLabel::Any
carla::rpc::CityObjectLabel::Other
carla::rpc::CityObjectLabel::Sidewalks
carla::rpc::CityObjectLabel::Dynamic
carla::rpc::CityObjectLabel::RailTrack
carla::rpc::CityObjectLabel::Truck
MSGPACK_ADD_ENUM
MSGPACK_ADD_ENUM(carla::rpc::CityObjectLabel)
carla::rpc::CityObjectLabel::None
carla::rpc::CityObjectLabel::Vegetation
carla::rpc::CityObjectLabel::Pedestrians
carla::rpc::CityObjectLabel::Bridge
carla::rpc::CityObjectLabel::RoadLines
carla::rpc::CityObjectLabel::Terrain
carla::rpc::CityObjectLabel::TrafficLight
carla::rpc::CityObjectLabel::Bicycle
carla::rpc::CityObjectLabel::GuardRail
MsgPack.h
carla::rpc::CityObjectLabel::Roads
carla::rpc::CityObjectLabel::Car
carla::rpc::CityObjectLabel::TrafficSigns
carla::rpc::CityObjectLabel::Sky
Generated by
1.8.13