Skip to content

Commit 5acb6d7

Browse files
shmpwkkosuke55
authored andcommitted
Update planning/behavior_velocity_no_stopping_area_module/src/scene_no_stopping_area.cpp
1 parent 06b66c1 commit 5acb6d7

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

planning/autoware_behavior_velocity_no_stopping_area_module/src/scene_no_stopping_area.cpp

+1-1
Original file line numberDiff line numberDiff line change
@@ -253,7 +253,7 @@ bool NoStoppingAreaModule::checkStopLinesInNoStoppingArea(
253253
const double stop_vel = std::numeric_limits<float>::min();
254254

255255
// if the detected stop point is near goal, it's ignored.
256-
const double close_to_goal_distance = 1.0;
256+
static constexpr double close_to_goal_distance = 1.0;
257257

258258
// stuck points by stop line
259259
for (size_t i = 0; i < path.points.size() - 1; ++i) {

0 commit comments

Comments
 (0)