Skip to content

Commit af94505

Browse files
add TODO comment
Signed-off-by: kyoichi-sugahara <kyoichi.sugahara@tier4.jp>
1 parent d7ad651 commit af94505

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

planning/behavior_path_start_planner_module/src/shift_pull_out.cpp

+6
Original file line numberDiff line numberDiff line change
@@ -100,6 +100,12 @@ std::optional<PullOutPath> ShiftPullOut::plan(const Pose & start_pose, const Pos
100100
shift_path.points = cropped_path.points;
101101

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

0 commit comments

Comments
 (0)