Skip to content
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.

Commit 0833903

Browse files
author
Barış Zeren
committedAug 26, 2024·
fix: planner crash
Signed-off-by: Barış Zeren <baris@leodrive.ai>
1 parent f6c00cb commit 0833903

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed
 

‎planning/behavior_path_planner/autoware_behavior_path_planner/src/behavior_path_planner_node.cpp

+3
Original file line numberDiff line numberDiff line change
@@ -406,6 +406,9 @@ void BehaviorPathPlannerNode::run()
406406
if (map_ptr) {
407407
planner_data_->route_handler->setMap(
408408
*map_ptr, planner_data_->parameters.enable_differential_map_loading);
409+
if (planner_data_->parameters.enable_differential_map_loading) {
410+
planner_manager_->resetCurrentRouteLanelet(planner_data_);
411+
}
409412
}
410413

411414
std::unique_lock<std::mutex> lk_manager(mutex_manager_); // for planner_manager_

0 commit comments

Comments
 (0)
Please sign in to comment.