CARLA
载入中...
搜索中...
未找到
LibCarla
source
carla
client
TrafficSign.cpp
浏览该文件的文档.
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
ActorList.h
Simulator.h
TrafficSign.h
carla::client::TrafficSign::GetSignId
carla::road::SignId GetSignId() const
Definition
TrafficSign.cpp:14
carla::client::detail::ActorState::GetEpisode
EpisodeProxy & GetEpisode()
Definition
client/detail/ActorState.h:68
carla::road::SignId
std::string SignId
Definition
RoadTypes.h:25
carla
This file contains definitions of common data structures used in traffic manager.
Definition
Carla.cpp:133
制作者
1.10.0