Skip to content

Commit

Permalink
tmp(lane_change): remove lateral check
Browse files Browse the repository at this point in the history
Signed-off-by: satoshi-ota <satoshi.ota928@gmail.com>
  • Loading branch information
satoshi-ota committed Aug 10, 2023
1 parent a5a147b commit e2a465c
Showing 1 changed file with 6 additions and 6 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -386,12 +386,12 @@ bool NormalLaneChange::hasFinishedLaneChange() const
return false;
}

const auto arc_length = lanelet::utils::getArcCoordinates(status_.target_lanes, current_pose);
const auto reach_target_lane =
std::abs(arc_length.distance) < lane_change_parameters_->finish_judge_lateral_threshold;
if (!reach_target_lane) {
return false;
}
// const auto arc_length = lanelet::utils::getArcCoordinates(status_.target_lanes, current_pose);
// const auto reach_target_lane =
// std::abs(arc_length.distance) < lane_change_parameters_->finish_judge_lateral_threshold;
// if (!reach_target_lane) {
// return false;
// }

return true;
}
Expand Down

0 comments on commit e2a465c

Please sign in to comment.