Skip to content

Commit

Permalink
fix(start_planner): update drivable area info and enable idle to runn…
Browse files Browse the repository at this point in the history
…ing state transition (autowarefoundation#6172)

Update drivable area info and enable idle to running state transition

Signed-off-by: kyoichi-sugahara <[email protected]>
  • Loading branch information
kyoichi-sugahara authored Jan 26, 2024
1 parent 94fb009 commit 4e0b4ac
Showing 1 changed file with 4 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -1884,6 +1884,10 @@ DrivableAreaInfo combineDrivableAreaInfo(
drivable_area_info1.enable_expanding_intersection_areas ||
drivable_area_info2.enable_expanding_intersection_areas;

// drivable margin
combined_drivable_area_info.drivable_margin =
std::max(drivable_area_info1.drivable_margin, drivable_area_info2.drivable_margin);

return combined_drivable_area_info;
}

Expand Down

0 comments on commit 4e0b4ac

Please sign in to comment.