Incorrect implimentation in planning/behavior_velocity_no_stopping_area_module
#7081
Closed
3 tasks done
Labels
component:planning
Route planning, decision-making, and navigation. (auto-assigned)
Checklist
Description
This is a dicussion in #6986.
After #6517, the variable
dist_from_area_sum
is not used anymore ingenerateEgoNoStoppingAreaLanePolygon
function inbehavior_velocity_no_stopping_area_module
.See
autoware.universe/planning/behavior_velocity_no_stopping_area_module/src/scene_no_stopping_area.cpp
Line 331 in b0a0a39
In other words, the parameter
margin
is also unused, and in tern the following calculations seems incorrect:https://github.com/autowarefoundation/autoware.universe/blob/b0a0a3993c7c5c46e2d79a1b8cd3c27856bbf796/planning/behavior_velocity_no_stopping_area_module/src/scene_no_stopping_area.cpp#L149C3-L160C43
Since the parameter
margin
is unused, the two variablesstuck_vehicle_detect_area
andstop_line_detect_area
would be exactly the same values.Expected behavior
I do not know the expected behavior here, but I think the current implementation is different from what the maintainer expects.
Actual behavior
I don't know.
Steps to reproduce
If you run cppcheck, you can find
dist_from_area_sum
related warning.Versions
No response
Possible causes
No response
Additional context
No response
The text was updated successfully, but these errors were encountered: