Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [sumo-user] Make vehicles use 2 lanes


As for pedestrians, given the network in the screenshot, could I create a single edge for pedestrians where they can walk in both directions?

yes

When I create a crossing, NETEDIT says that the crossing "has no target". I am somewhat unsure how to determine what edges the crossing should connect to so I can then use dynamic assignment via od2trips.

When using pedestrians, you should add sidewalk lanes to your road edges as explained here: http://sumo.dlr.de/wiki/Simulation/Pedestrians#Building_a_network_for_pedestrian_simulation
Afterwards you can create crossings that connect the sidewalks.
The edges given to od2trips are just those edges with sidewalks.
 

The information on creating crossings with NETEDIT on the wiki does not mention how to edit their position, or how to connect them to edges.

Crossings are connected to edges automatically based on the adjoining sidewalks. Editing their shape is documented very briefly thus: http://sumo.dlr.de/wiki/NETEDIT#Crossing

Using the option --persontrips gets rid of the old warning, but now SUMO (0.32.0 release version) says "Warning: The attribute departPos is no longer supported for walks, please use the person attribute, the arrivalPos of the previous step or explicit stops.".

The output of od2trips has now been fixed in the latest development version. Thank you for mentioning it.

Also, the pedestrians no longer just cross the junctions in my network, but seem to sometimes skip junctions, and sometimes start walking all over the network, causing a lot of collisions and delays. They also no longer wait for red trafficlights. Probably, the way I currently built my network does not play nicely with pedestrian trips.

Yes. Pedestrians need sidewalks as well as crossings and they must be forbidden from using the vehicle lanes (this happens automatically if you right-click an edge and select 'add restricted lane -> sidewalk'). Otherwise they will interact with vehicles on the road lanes and jump accross intersections.

regards,
Jakob



Back to the top