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

strange bug caused by traci #5561

Closed
tkchouaki opened this issue May 3, 2019 · 0 comments

Comments

@tkchouaki
Copy link
Contributor

commented May 3, 2019

Hello,

I encounter a very strange behavior that occurs only in a rare case:

  • A public transport vehicle having a line & a route with bus stops.
  • A call to traci.vehicle.setBusStop() to cancel a stop before a bus arrives at it.
  • The call to traci.vehicle.setBusStop() must happen when the vehicle is on the same edge as the bus stop.
  • A junction after the bus stop which is not controlled by traffic light.

This really do cancels the stop for the vehicle. But an unexpected thing happens. The vehicle stops at the junction for a long time (even with no other vehicles) & that time is accounted as waiting time.

The file below contains a scenarion reproducing the bug.
Just run the buses.py script.

bug_scenario.zip

@namdre namdre self-assigned this May 3, 2019

@namdre namdre added bug c:traci labels May 3, 2019

namdre added a commit that referenced this issue May 3, 2019

@namdre namdre closed this in b08c2e7 May 3, 2019

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