Skip to content
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

Lane change manoeuver sometimes doesn't work #8

Open
divitsharma opened this issue Jun 25, 2020 · 1 comment
Open

Lane change manoeuver sometimes doesn't work #8

divitsharma opened this issue Jun 25, 2020 · 1 comment
Assignees
Labels
bug Something isn't working

Comments

@divitsharma
Copy link
Collaborator

During a lane change, a vehicle will sometimes jump two lanes at once or not go through with the lane change at all. This is likely due to syncing problems of the reference path between the Planner and SV.

@divitsharma divitsharma added the bug Something isn't working label Jun 25, 2020
@divitsharma divitsharma self-assigned this Jun 25, 2020
@divitsharma
Copy link
Collaborator Author

One issue that could be the cause of this:
On the planning frame that changes the reference path, plan_maneuver for lane swerve or cut-in could return an invalid trajectory. When this happens SV ignores the result from the planner, so it is never notified of the reference path change, and now the planner and SV are following different reference paths. So in the next tick planner writes a trajectory based on a different reference.

A possible solution is adding a 'frame' variable to the shared array, like sim frame position that can be used to compute the reference path when the SV notices it's changed. Unlike new_frenet_frame we have currently this won't be a per-tick variable.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant