From dfe25de701b6e776391184391847cdc35e6c8f8d Mon Sep 17 00:00:00 2001 From: nsubiron Date: Tue, 19 Mar 2019 17:21:04 +0100 Subject: [PATCH] Implement CalculateCrossedLanes --- LibCarla/source/carla/road/Map.cpp | 8 +++----- 1 file changed, 3 insertions(+), 5 deletions(-) diff --git a/LibCarla/source/carla/road/Map.cpp b/LibCarla/source/carla/road/Map.cpp index 54599e70f..cb819aaa4 100644 --- a/LibCarla/source/carla/road/Map.cpp +++ b/LibCarla/source/carla/road/Map.cpp @@ -146,11 +146,9 @@ namespace road { } std::vector Map::CalculateCrossedLanes( - const geom::Location &/* origin */, - const geom::Location &/* destination */) const { - // return element::LaneCrossingCalculator::Calculate(*this, origin, destination); - throw_exception(std::runtime_error("not implemented")); - return {}; + const geom::Location &origin, + const geom::Location &destination) const { + return element::LaneCrossingCalculator::Calculate(*this, origin, destination); } std::vector Map::GetSuccessors(Waypoint waypoint) const {