Skip to content

Commit 32268c0

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 f6b92e6 commit 32268c0

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
@@ -311,6 +311,10 @@ bool BehaviorPathPlannerNode::isDataReady()
311311
return missing("operation_mode");
312312
}
313313

314+
if (!planner_data_->occupancy_grid) {
315+
return missing("occupancy_grid");
316+
}
317+
314318
return true;
315319
}
316320

0 commit comments

Comments
 (0)