Skip to content

Commit

Permalink
fix(behavior_path_planner): fix behavior_path_planner node to check o…
Browse files Browse the repository at this point in the history
…ccupancy_grid before running (#6752)

Signed-off-by: Mamoru Sobue <mamoru.sobue@tier4.jp>
  • Loading branch information
soblin authored Apr 8, 2024
1 parent 52bc600 commit 1524bdd
Showing 1 changed file with 4 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -312,6 +312,10 @@ bool BehaviorPathPlannerNode::isDataReady()
return missing("operation_mode");
}

if (!planner_data_->occupancy_grid) {
return missing("occupancy_grid");
}

return true;
}

Expand Down

0 comments on commit 1524bdd

Please sign in to comment.