I am trying to add an extra stop for a bus at runtime through the TraCI server. As a test I am using the example "busses". If I try to add a stop, that is on the first lane of the route, the stop is being added (no error message received, I alse checked it with the debugger), but it gets added at the end of the myStops list. Since the processNextStop() function only checks if the first stop in the myStops list has been reached, the bus stops at the first stop for the first time and not at the stop, that I added through TraCI.
Log in to post a comment.