Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix(start_planner): fix build #796

Merged
merged 1 commit into from
Sep 4, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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
Loading