CARLA
LibCarla/source/carla/rpc/TrafficLightState.h
Go to the documentation of this file.
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 
MSGPACK_ADD_ENUM(carla::rpc::TrafficLightState)
This file contains definitions of common data structures used in traffic manager. ...
Definition: Carla.cpp:133