Skip to content

Commit

Permalink
Change getLaneletSequence() function parameter with normal numbers be…
Browse files Browse the repository at this point in the history
…cause of the time consumption.

Signed-off-by: Barış Zeren <[email protected]>
  • Loading branch information
StepTurtle authored and mehmetdogru committed Mar 5, 2024
1 parent eea40ae commit b4875b4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion planning/behavior_path_planner/src/planner_manager.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -428,7 +428,7 @@ BehaviorModuleOutput PlannerManager::getReferencePath(
std::max(p.backward_path_length, p.backward_path_length + extra_margin);

const auto lanelet_sequence = route_handler->getLaneletSequence(
root_lanelet_.value(), pose, backward_length, std::numeric_limits<double>::max());
root_lanelet_.value(), pose, backward_length, p.forward_path_length);

lanelet::ConstLanelet closest_lane{};
if (lanelet::utils::query::getClosestLaneletWithConstrains(
Expand Down

0 comments on commit b4875b4

Please sign in to comment.