Skip to content

Commit 63e31e6

Browse files
soblinshmpwk
authored andcommitted
fix(behavior_path_planner): fix behavior_path_planner node to check occupancy_grid before running (autowarefoundation#6752)
Signed-off-by: Mamoru Sobue <mamoru.sobue@tier4.jp>
1 parent 31ecdb4 commit 63e31e6

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

planning/behavior_path_planner/src/behavior_path_planner_node.cpp

+4
Original file line numberDiff line numberDiff line change
@@ -315,6 +315,10 @@ bool BehaviorPathPlannerNode::isDataReady()
315315
return missing("operation_mode");
316316
}
317317

318+
if (!planner_data_->occupancy_grid) {
319+
return missing("occupancy_grid");
320+
}
321+
318322
return true;
319323
}
320324

0 commit comments

Comments
 (0)