Skip to content

Commit

Permalink
fix(start_planner): fix build
Browse files Browse the repository at this point in the history
Signed-off-by: kosuke55 <[email protected]>
  • Loading branch information
kosuke55 committed Sep 4, 2023
1 parent 28cfbca commit a8d971d
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 5 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -183,7 +183,7 @@ bool StartPlannerModuleManager::isSimultaneousExecutableAsApprovedModule() const
}

// Other modules are not needed when freespace planning
if (start_planner_ptr->isFreespacePlanning()) {
if (module->isFreespacePlanning()) {
return false;
}

Expand All @@ -202,7 +202,7 @@ bool StartPlannerModuleManager::isSimultaneousExecutableAsCandidateModule() cons
}

// Other modules are not needed when freespace planning
if (start_planner_ptr->isFreespacePlanning()) {
if (module->isFreespacePlanning()) {
return false;
}

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -1026,9 +1026,8 @@ void StartPlannerModule::setDrivableAreaInfo(BehaviorModuleOutput & output) cons
output.drivable_area_info.drivable_margin =
planner_data_->parameters.vehicle_width / 2.0 + drivable_area_margin;
} else {
const auto target_drivable_lanes = utils::getNonOverlappingExpandedLanes(
*output.path, generateDrivableLanes(*output.path),
planner_data_->drivable_area_expansion_parameters);
const auto target_drivable_lanes =
getNonOverlappingExpandedLanes(*output.path, generateDrivableLanes(*output.path));

DrivableAreaInfo current_drivable_area_info;
current_drivable_area_info.drivable_lanes = target_drivable_lanes;
Expand Down

0 comments on commit a8d971d

Please sign in to comment.