Skip to content

Commit

Permalink
add TODO comment
Browse files Browse the repository at this point in the history
Signed-off-by: kyoichi-sugahara <[email protected]>
  • Loading branch information
kyoichi-sugahara committed Jan 29, 2024
1 parent d7ad651 commit af94505
Showing 1 changed file with 6 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -100,6 +100,12 @@ std::optional<PullOutPath> ShiftPullOut::plan(const Pose & start_pose, const Pos
shift_path.points = cropped_path.points;

// check lane departure
// The method for lane departure checking verifies if the footprint of each point on the path is
// contained within a lanelet using `boost::geometry::within`, which incurs a high computational
// cost.
// TODO(someone): improve the method for detecting lane departures without using
// lanelet::ConstLanelets, making it unnecessary to retain departure_check_lanes_ as a member
// variable.
if (
parameters_.check_shift_path_lane_departure &&
lane_departure_checker_->checkPathWillLeaveLane(
Expand Down

0 comments on commit af94505

Please sign in to comment.