CARLA
TrafficSign.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/client/Actor.h"
10 #include "carla/road/RoadTypes.h"
11 
12 namespace carla {
13 namespace client {
14 
15  class TrafficSign : public Actor {
16  public:
17 
18  explicit TrafficSign(ActorInitializer init) : Actor(std::move(init)) {}
19 
21  return ActorState::GetBoundingBox();
22  }
23 
25 
26  };
27 
28 } // namespace client
29 } // namespace carla
std::string SignId
Definition: RoadTypes.h:25
This file contains definitions of common data structures used in traffic manager. ...
Definition: Carla.cpp:99
const geom::BoundingBox & GetTriggerVolume() const
Definition: TrafficSign.h:20
Used to initialize Actor classes.
Definition: ActorState.h:93
TrafficSign(ActorInitializer init)
Definition: TrafficSign.h:18
carla::road::SignId GetSignId() const
Definition: TrafficSign.cpp:14
Represents an actor in the simulation.
Definition: client/Actor.h:18