-
Notifications
You must be signed in to change notification settings - Fork 713
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
Autoware generate backward trajectory when placed on overlapping lanelets #6271
Comments
@VRichardJP |
Beside the backward trajectory which is really weird, I think there is a problem with the way
In the backward trajectory case, there are 2 candidates for the starting lanelet (the straight and curved ones), and because the curved lanelet is shorter than the curved one it is selected as the starting lanelet. I see 2 problems here:
|
@kyoichi-sugahara |
@VRichardJP |
@VRichardJP I am currently working on a fix based on the yaw difference between ego and lanelet to choose the correct starting lanelet: #6550 |
@VRichardJP I think the merged PR: #6550 has solved this issue, could you please confirm? |
@danielsanchezaran I think it it ok now Thank you ! |
Checklist
Description
Normal trajectory:
Backward trajectory:
Almost normal trajectory (straight lanelet should be preferred):
It seems like the backward trajectory is generated when the vehicle is barely inside the curved lanelet. Based on the vehicle orientation, I would expect the trajectory to include the straight lanelet, but Autoware seems to think the vehicle is on the curved lanelet instead.
Expected behavior
Autoware does not drive backward in the middle of an intersection
Actual behavior
random backward trajectory is generated
Steps to reproduce
Can be reproduced with the sample map:
Just place the vehicle like the image above and set the goal in front.
Versions
No response
Possible causes
No response
Additional context
No response
The text was updated successfully, but these errors were encountered: