// Copyright (c) 2017 Computer Vision Center (CVC) at the Universitat Autonoma // de Barcelona (UAB). // // This work is licensed under the terms of the MIT license. // For a copy, see . #include "carla/client/TrafficSign.h" #include "carla/client/detail/Simulator.h" #include "carla/client/ActorList.h" namespace carla { namespace client { carla::road::SignId TrafficSign::GetSignId() const { return std::string(GetEpisode().Lock()->GetActorSnapshot(*this).state.traffic_light_data.sign_id); } } // namespace client } // namespace carla