Skip to content

Commit

Permalink
fix(autoware_path_optimizer): fix redundantContinue warnings (autowar…
Browse files Browse the repository at this point in the history
…efoundation#7577)

Signed-off-by: Ryuta Kambe <[email protected]>
  • Loading branch information
veqcc authored Jun 20, 2024
1 parent 978d07d commit a5e975c
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions planning/autoware_path_optimizer/src/mpt_optimizer.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -954,7 +954,6 @@ void MPTOptimizer::keepMinimumBoundsWidth(std::vector<ReferencePoint> & ref_poin
// much.
b.lower_bound =
std::min(b.lower_bound, original_b.upper_bound - min_dynamic_drivable_width_vec.at(p_idx));
continue;
}
// extend longitudinal if it overlaps out_of_upper_bound_sections
if (upper_bound_start_idx) {
Expand Down Expand Up @@ -1004,7 +1003,6 @@ void MPTOptimizer::keepMinimumBoundsWidth(std::vector<ReferencePoint> & ref_poin
// much.
b.upper_bound =
std::max(b.upper_bound, original_b.lower_bound + min_dynamic_drivable_width_vec.at(p_idx));
continue;
}
// extend longitudinal if it overlaps out_of_lower_bound_sections
if (lower_bound_start_idx) {
Expand Down

0 comments on commit a5e975c

Please sign in to comment.