Re: [sumo-user] Lane choice when stopping beside the road

2020-11-19 Thread Jakob Erdmann
We plan to improve on this: https://github.com/eclipse/sumo/issues/5443 Am Do., 19. Nov. 2020 um 23:37 Uhr schrieb : > Hi Chris, > > You could write a python script and use sumolib for that. You can check > which is the first lane of the edge that allows the vClass that you need by > using the

Re: [sumo-user] Lane choice when stopping beside the road

2020-11-19 Thread Maria.Armellini
Hi Chris, You could write a python script and use sumolib for that. You can check which is the first lane of the edge that allows the vClass that you need by using the commands getEdge(), getLane() and allows(). See https://sumo.dlr.de/docs/Tools/Sumolib.html and

[sumo-user] Lane choice when stopping beside the road

2020-11-19 Thread Chris Abraham
Hi all, I would like define a taxi which make a few stops *beside* some edges. So I defined my stops with `parking="true"` as shown below: `< stop lane="edge_0" until="50.00" parking="true" />` However, when I ran the simulation, I got an error saying that the taxi is not allowed to stop on

Re: [sumo-user] Avoid vehicle at junction

2020-11-19 Thread Jakob Erdmann
In this particular case you could use option --ignore-junction-blocker (though this needs the latest development version where a bug in 1.7.0 is fixed). For a general solution you need to activate the sublane model to achieve this. See: https://sumo.dlr.de/docs/Simulation/SublaneModel.html Am

Re: [sumo-user] Avoid vehicle at junction

2020-11-19 Thread 謝昀宸
Thank you for your reply, I use Sumo 1.7.0 Jakob Erdmann 於 2020年11月19日 週四 20:59 寫道: > What sumo version are you using? > > Am Do., 19. Nov. 2020 um 09:59 Uhr schrieb 謝昀宸 : > >> Hello, >> I want to stop the vehicle at the junction, and motorcycles can avoid >> this vehicle at the junction >>

Re: [sumo-user] Is the libsumo can be used in parallel simulations from the same TraCI script?

2020-11-19 Thread Jakob Erdmann
libsumo does not allow for multiple instances in the same process. You might be able to make it work using the python bindings for sumolib with the python multiprocessing module. Am Do., 19. Nov. 2020 um 09:32 Uhr schrieb bruce Wang < bruce.wang2...@outlook.com>: > Hi, every one, > > I know the

Re: [sumo-user] Avoid vehicle at junction

2020-11-19 Thread Jakob Erdmann
What sumo version are you using? Am Do., 19. Nov. 2020 um 09:59 Uhr schrieb 謝昀宸 : > Hello, > I want to stop the vehicle at the junction, and motorcycles can avoid this > vehicle at the junction > > I use changeSublane to make the motorcycles ride along the edge and reduce > the size of the

Re: [sumo-user] net File conversion location

2020-11-19 Thread Jakob Erdmann
Hello, If I understand correctly, MOSAIC needs a network with shifted x,y coordinates that returns raw UTM values when calling conversion functions like traci.simulation.convertGeo. You can get this with the following steps: 1) netconvert --osm-files ... --offset.disable-normalizatoin

[sumo-user] net File conversion location

2020-11-19 Thread Rainer, Julia (I/EE-86)
Hey Everyone, I am working with another Eclipse tool MOSAIC and I have some issues converting the SUMO net files in a way that is understood by this system: I am trying to import a net file with this location information: This format is due to this network section being cut out of a larger

[sumo-user] Avoid vehicle at junction

2020-11-19 Thread 謝昀宸
Hello, I want to stop the vehicle at the junction, and motorcycles can avoid this vehicle at the junction I use changeSublane to make the motorcycles ride along the edge and reduce the size of the vehicle. But the motorcycle still stop at the junction and cannot turn right Just like the attached

[sumo-user] Is the libsumo can be used in parallel simulations from the same TraCI script?

2020-11-19 Thread bruce Wang
Hi, every one, I know the traci can be used to control multiple simulations at the same time with a single script. The function traci.start() has an optional label argument which allows you to call it multiple times with different simulation instances and labels. The function traci.switch() can