File tree 1 file changed +3
-2
lines changed
planning/autoware_behavior_velocity_no_stopping_area_module/src
1 file changed +3
-2
lines changed Original file line number Diff line number Diff line change @@ -254,7 +254,7 @@ bool NoStoppingAreaModule::checkStopLinesInNoStoppingArea(
254
254
255
255
// if the detected stop point is near goal, it's ignored.
256
256
const double close_to_goal_distance = 1.0 ;
257
-
257
+
258
258
// stuck points by stop line
259
259
for (size_t i = 0 ; i < path.points .size () - 1 ; ++i) {
260
260
const auto p0 = path.points .at (i).point .pose .position ;
@@ -265,7 +265,8 @@ bool NoStoppingAreaModule::checkStopLinesInNoStoppingArea(
265
265
continue ;
266
266
}
267
267
// judge if stop point p0 is near goal, by its distance to the path end.
268
- const double dist_to_path_end = motion_utils::calcSignedArcLength (path.points , i, path.points .size () - 1 );
268
+ const double dist_to_path_end =
269
+ motion_utils::calcSignedArcLength (path.points , i, path.points .size () - 1 );
269
270
if (dist_to_path_end < close_to_goal_distance) {
270
271
// exit with false, cause position is near goal.
271
272
return false ;
You can’t perform that action at this time.
0 commit comments