CARLA
LibCarla
source
carla
client
TrafficSign.cpp
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
#include "
carla/client/TrafficSign.h
"
8
#include "
carla/client/detail/Simulator.h
"
9
#include "
carla/client/ActorList.h
"
10
11
namespace
carla
{
12
namespace
client {
13
14
carla::road::SignId
TrafficSign::GetSignId
()
const
{
15
return
std::string(
GetEpisode
().Lock()->GetActorSnapshot(*this).state.traffic_light_data.sign_id);
16
}
17
18
}
// namespace client
19
}
// namespace carla
carla::road::SignId
std::string SignId
Definition:
RoadTypes.h:25
ActorList.h
carla
This file contains definitions of common data structures used in traffic manager. ...
Definition:
Carla.cpp:133
carla::client::detail::ActorState::GetEpisode
EpisodeProxy & GetEpisode()
Definition:
client/detail/ActorState.h:68
carla::client::TrafficSign::GetSignId
carla::road::SignId GetSignId() const
Definition:
TrafficSign.cpp:14
Simulator.h
TrafficSign.h
Generated by
1.8.13