From 91d2ee849844a037dcd24a94b81b6526a164a513 Mon Sep 17 00:00:00 2001 From: Franco Cipollone <53065142+francocipollone@users.noreply.github.com> Date: Mon, 9 Jan 2023 11:44:27 -0300 Subject: [PATCH] Fixes road builder when using multilane. (#859) Signed-off-by: Franco Cipollone --- src/roads/road_builder.cc | 7 +------ 1 file changed, 1 insertion(+), 6 deletions(-) diff --git a/src/roads/road_builder.cc b/src/roads/road_builder.cc index a68b1f29..7e34c96c 100644 --- a/src/roads/road_builder.cc +++ b/src/roads/road_builder.cc @@ -77,7 +77,6 @@ std::unique_ptr CreateDragway(const std::string& name std::unique_ptr CreateMultilaneFromFile(const std::string& file_path) { const std::map parameters{ - {"road_network_source", "yaml"}, {"yaml_file", file_path}, }; return maliput::plugin::CreateRoadNetwork("maliput_multilane", parameters); @@ -85,17 +84,13 @@ std::unique_ptr CreateMultilaneFromFile(const std::st std::unique_ptr CreateMultilaneFromDescription(const std::string& yaml_description) { const std::map parameters{ - {"road_network_source", "yaml"}, {"yaml_description", yaml_description}, }; return maliput::plugin::CreateRoadNetwork("maliput_multilane", parameters); } std::unique_ptr CreateOnRamp() { - const std::map parameters{ - {"road_network_source", "on_ramp_merge"}, - }; - return maliput::plugin::CreateRoadNetwork("maliput_multilane", parameters); + return maliput::plugin::CreateRoadNetwork("maliput_multilane_on_ramp", {}); } std::unique_ptr CreateMalidriveFromXodr(const std::string& name,