-
Notifications
You must be signed in to change notification settings - Fork 626
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
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)
Comments
veqcc
added
the
component:planning
Route planning, decision-making, and navigation. (auto-assigned)
label
May 21, 2024
4 tasks
@kosuke55 |
@veqcc @shmpwk ( tieriv internal link :https://star4.slack.com/archives/C05UHMNSE5C/p1716538183388229?thread_ts=1716537613.291899&cid=C05UHMNSE5C) |
4 tasks
Closed by #6986 |
fixed by #7280 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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: