Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [sumo-user] TraCI run rerouter got warning "no connection" and cause emergency stop

1. The problem arises from the following situation
- vehicle assumes that it's route ends on the rerouter edge. Assuming that it will simply disappear at the end of this edge it does not compute any speed restrictions nor any route beyond that edge
- vehicle drives onto the rerouter edge with high enough speed to go past the end of that edge and suddenly gets a route extension
- vehicle finds itself at the end of the rerouter edge without leaving the simulation (route continues) but no "plan" to move beyond that edge -> hence the emergency stop
Workarounds:
a) use a longer edge for your rerouter  (longer than what can be covered in a single step)
b) in your rerouter, assign new routes that go *past* the rerouter

2) sounds like traci is calling an older version of sumo where the repeat attribute was not yet implemented. Use traci to start sumo-gui and check the version number (probably needs to adjust SUMO_HOME to fix wrong version).

regards,
Jakob

Am Mi., 27. Jan. 2021 um 23:52 Uhr schrieb Todd Chang <cchiahs1@xxxxxxx>:

Hi All,

 

I have problems when I try 2 methods to repeat vehicle route.

 

1.

I set up a rerouter to let vehicle run in repeated circle.

I use TraCI to run SUMO because I want to store vehicle speed.

 

The simulation goes well and the vehicles are cycling without problem.

But at some time point, the warning message appears:

“Warning: Vehicle ‘1’ performs emergency stop at the end of lane ‘e2_0’ because there is no connection to the next edge.”

Edge ‘e2’ is where I set rerouter.

This is weird because of course the edges are connected.

So the vehicle speed will jump to 0 and then jump to a unrealistic high value.

I was wondering how to solve this.

 

2.

I also tried the repeat commend in route setting instead of rerouter.

The vehicle repeats the route when I run sumo-gui.

But the vehicle won’t repeat when I use TraCI to run the simulation, it just run the route once and disappear.

How can I repeat the routes when run with TraCI?

 

Thanks.

_______________________________________________
sumo-user mailing list
sumo-user@xxxxxxxxxxx
To unsubscribe from this list, visit https://www.eclipse.org/mailman/listinfo/sumo-user

Back to the top