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

vehicle.couldChangeLane returns invalid results if the vehicle changed it's lane in the previous step #4381

namdre opened this issue Aug 2, 2018 · 1 comment


None yet
1 participant
Copy link

commented Aug 2, 2018

the results from the call to getLaneChangeState apply to the situation before the lane change.

The results of wantsAndCouldChangeLane are likewise affected

@namdre namdre added c:traci bug labels Aug 2, 2018

@namdre namdre self-assigned this Aug 2, 2018

@namdre namdre closed this in d5f284b Aug 2, 2018


This comment has been minimized.

Copy link
Contributor Author

commented Aug 2, 2018

The result was also wrong directly after a lane change decision by the model was canceled due to a TraCI request. Solved by correction the order of initialization steps in function prepareStep()

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.