CARLA
载入中...
搜索中...
未找到
LibCarla
source
carla
rpc
LibCarla/source/carla/rpc/TrafficLightState.h
浏览该文件的文档.
1
// Copyright (c) 2017 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
TrafficLightState
: uint8_t {
17
Red
,
18
Yellow
,
19
Green
,
20
Off
,
21
Unknown
,
22
SIZE
23
};
24
25
}
// namespace rpc
26
}
// namespace carla
27
28
MSGPACK_ADD_ENUM
(
carla::rpc::TrafficLightState
);
MSGPACK_ADD_ENUM
MSGPACK_ADD_ENUM(carla::rpc::TrafficLightState)
MsgPack.h
carla::rpc::ActorAttributeType::SIZE
@ SIZE
carla::rpc::TrafficLightState
TrafficLightState
Definition
LibCarla/source/carla/rpc/TrafficLightState.h:16
carla::rpc::TrafficLightState::Yellow
@ Yellow
carla::rpc::TrafficLightState::Unknown
@ Unknown
carla::rpc::TrafficLightState::Off
@ Off
carla::rpc::TrafficLightState::Green
@ Green
carla::rpc::TrafficLightState::Red
@ Red
carla
This file contains definitions of common data structures used in traffic manager.
Definition
Carla.cpp:133
制作者
1.10.0