eclipse-sumo / sumo

Eclipse SUMO is an open source, highly portable, microscopic and continuous traffic simulation package designed to handle large networks. It allows for intermodal simulation including pedestrians and comes with a large set of tools for scenario creation.
https://eclipse.dev/sumo
Eclipse Public License 2.0
2.54k stars 1.43k forks source link

Traci crashing when bicycle transitions from one lanes sidewalk to another #14729

Open JulianCzymmeck opened 6 months ago

JulianCzymmeck commented 6 months ago

Hi Sumo team,

I want to simulate bicycles and escooters driving on different types of lanes. That includes sidewalks. When I add those vehicle types to the allowed list of my sidewalks, sumo automatically generates the connections the next lanes sidewalk, and also adds an internal junction with the expected allowed vehicles types. But upon reaching the end of the sidewalk of one lane (with a bicycle, pedestrians are able to proceed as usual), traci crashes with ...\connection.py", line 137, in _sendExact raise FatalTraCIError("Connection closed by SUMO.")

I know that other vehicles types are not supposed to drive on sidewalks, but is there a way to make this work? Let me know if I should send more context for the problem.

Thanks in advance.

Kind regards :)

m-kro commented 6 months ago

The message suggests that sumo crashed. Can you retrieve an error message from sumo, possibly by running sumo-gui? You can provide a failing example as well. Do you use the latest release?

namdre commented 6 months ago

did you modify the .net.xml file directly or did you use netedit/netconvert?

JulianCzymmeck commented 6 months ago

While creating a example to demonstrate I realized that the issue only exists when a vehicle is blocking the junction. In my case I had a car stopped at the end of the normal vehicle lane. For some reason that also affects the pathing on the sidewalk for the bicycle. When there is no stopped vehicle on the road, no problem exists.

I am using the latest nightly snapshot.

Thank you for the swift response

namdre commented 6 months ago

We'll still need a reproducible example to fix the crash.