parking_inwards endpoint calculation bug
Nobody has claimed this yet.
Assessment
- Difficulty
- 2/5
- Estimated time
- 1-3 hours
- Newbie friendliness
- 68/100
- Issue type
- Bug
- Clarity
- Clearly specified
- Activity status
- Stale
- Tech stack
- cpp
- Domain
- autonomous-driving
Research direction
Open modules/planning/tasks/open_space_roi_decider/open_space_roi_decider.cc around line 264 and inspect the parking_inwards endpoint calculation. Compare the front and back edge offsets used there, then verify that the endpoint calculation uses the appropriate vehicle parameter for inward parking. Done means the reported endpoint behavior is corrected and the relevant planning checks pass.
Written by the indexing model from the issue text.
Description
Describe the bug
file:
modules/planning/tasks/open_space_roi_decider/open_space_roi_decider.cc
264 row:
if (parking_inwards) {
parking_heading = (left_down - left_top).Angle();
Vec2d middle_top = (left_top + right_top) / 2.0;
end_pt = middle_top + Vec2d::CreateUnitVec2d(parking_heading) *
(vehicle_params_.front_edge_to_center() +
parking_depth_buffer);
}
if parking_inwards is true,The correct endpoint calculation should be
end_pt = middle_top + Vec2d::CreateUnitVec2d(parking_heading) *
(vehicle_params_.back_edge_to_center() +
parking_depth_buffer);
- Dominant language
- C++
- Stars
- 26.8k
- Forks
- 10k
- PR merge metrics
- No merged PRs in 30d
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
More from ApolloAuto/apollo
-
Difficulty 2/5 1-3 hours Newbie friendliness 68/100
ApolloAuto/apollo#15788 ·
-
Apollo 9.0 Module: Planning Type: Bug
Difficulty 1/5 Under an hour Newbie friendliness 65/100
ApolloAuto/apollo#15264 ·
-
Difficulty 3/5 1-2 days Newbie friendliness 72/100
ApolloAuto/apollo#15810 ·
-
Difficulty 4/5 3-5 days Newbie friendliness 52/100
ApolloAuto/apollo#15808 · 1 reaction ·
-
Difficulty 4/5 3-5 days Newbie friendliness 52/100
ApolloAuto/apollo#15807 ·
All issues in ApolloAuto/apollo
Similar issues
-
Difficulty 1/5 Under an hour Newbie friendliness 90/100
AXERA-TECH/ax-llm#77 ·
-
Difficulty 1/5 Under an hour Newbie friendliness 90/100
games-on-whales/wolf#509 ·
-
Difficulty 2/5 1-3 hours Newbie friendliness 74/100
-
bug-unconfirmed
Difficulty 2/5 1-3 hours Newbie friendliness 76/100
-
Difficulty 2/5 1-3 hours Newbie friendliness 74/100
NVIDIA/cuda-samples#453 ·