Skip to content

Commit ec8e6df

Browse files
takayuki5168saka1-s
authored andcommitted
add comment
Signed-off-by: Takayuki Murooka <takayuki5168@gmail.com>
1 parent bc94358 commit ec8e6df

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

planning/behavior_velocity_crosswalk_module/src/scene_crosswalk.cpp

+2
Original file line numberDiff line numberDiff line change
@@ -1229,6 +1229,8 @@ bool CrosswalkModule::checkRestartSuppression(
12291229
const double dist_to_stop =
12301230
calcSignedArcLength(ego_path.points, ego_pos, stop_factor->stop_pose.position);
12311231

1232+
// NOTE: min_dist_to_stop_for_restart_suppression is supposed to be the same as
1233+
// the pid_longitudinal_controller's drive_state_stop_dist.
12321234
return planner_param_.min_dist_to_stop_for_restart_suppression < dist_to_stop &&
12331235
dist_to_stop < planner_param_.max_dist_to_stop_for_restart_suppression;
12341236
}

0 commit comments

Comments
 (0)