Re: [sumo-user] Still shaking vehicle movements in the SUMO GUI

2019-04-26 Thread ratzenmeier
The jumping works just fine. I‘m using the same settings.xml in my gui settings. Which x,y values do you mean, or where do I find them? The viewport x,y ? > Gesendet: Freitag, 26. April 2019 um 09:17 Uhr > Von: "Jakob Erdmann" > An: "Sumo project User discussions" > Betreff: Re: [sumo-user]

Re: [sumo-user] Still shaking vehicle movements in the SUMO GUI

2019-04-26 Thread ratzenmeier
Hi Jakob, http://sumo.dlr.de/xsd/net_file.xsd;> then there is a lot of definition, like junctions, edges... and my new net file is (with your netconvert --offset command): http://www.w3.org/2001/XMLSchema-instance; xsi:noNamespaceSchemaLocation="http://sumo.dlr.de/xsd/net_file.xsd;> then

[sumo-user] Still shaking vehicle movements in the SUMO GUI

2019-04-25 Thread ratzenmeier
Hi guys,   so I asked some weeks ago something about my problem of the "shaky" movements of the vehicles. The reason you say were the large x,y coordinates and the rounding errors of the floats. Your suggestion with using >> netconvert -s old.net.xml -o new.net.xml --offset.disable-normalization

Re: [sumo-user] Vehicles in Simulation are moving "shaky"

2019-04-10 Thread ratzenmeier
Ok, thanks. So it‘s important that I retain the x,y coordinates because of the transformation to lat/lon. Which of those options should I use then? And do I have to set it in my config file? > Gesendet: Mittwoch, 10. April 2019 um 09:39 Uhr > Von: "Jakob Erdmann" > An: "Sumo project User

Re: [sumo-user] Vehicles in Simulation are moving "shaky"

2019-04-10 Thread ratzenmeier
Yes, it is using large x,y coordinates . > Gesendet: Mittwoch, 10. April 2019 um 09:20 Uhr > Von: "Jakob Erdmann" > An: "Sumo project User discussions" > Betreff: Re: [sumo-user] Vehicles in Simulation are moving "shaky" > > Is your network using very large x,y coordinates? > > Am Mi., 10. Apr.

[sumo-user] Vehicles in Simulation are moving "shaky"

2019-04-10 Thread ratzenmeier
Good Morning everyone,   I have a question about the simulation directly. It's working totally fine and as expected, but my vehicles are moving, like "shaky/tremulous", not smoothly following the lane. I have implemented the sublane model with 4 sublanes. But not using it doesn't solve the

[sumo-user] way to get distance between traffic light and vehicle with python

2019-02-04 Thread ratzenmeier
Hi,   is it possible, to get the distance between a traffic light and a vehicle? Or do I have to write a method on my own? I'm using python/TraCI.   Thanks! ___ sumo-user mailing list sumo-user@eclipse.org To change your delivery options, retrieve

Re: [sumo-user] all vehicles start driving synchronously

2019-01-30 Thread ratzenmeier
Aaah yes, now it works! I set the setSpeed of the vehicles wrong (to early). Now it‘s set, when the traffic light changes. Also the speedMode=30 helped as well. Thanks a lot Jakob! Cheers. > Gesendet: Mittwoch, 30. Januar 2019 um 15:39 Uhr > Von: "Jakob Erdmann" > An: "Sumo project User

Re: [sumo-user] all vehicles start driving synchronously

2019-01-30 Thread ratzenmeier
okey thanks. but you're saying, thats possible with TraCI and not possible without? Don't I have the the same simulation step problem, that every vehicle can only start driving one simulation step after the leader vehicle has started? If not, how can I ignore the car following constraints (only

[sumo-user] all vehicles start driving synchronously

2019-01-30 Thread ratzenmeier
Hi all, quick question for my situation:   I have a traffic light on red with 10 vehicles waiting. Is there a possibility that the vehicles start driving synchronously when the traffic light turns green? Every vehicle starts driving at the same moment, like if they were connected. Thanks! 

[sumo-user] struct.error: unpack requires a buffer of 4 bytes

2019-01-15 Thread ratzenmeier
Hi all,   since I'm using threading and multiclients in SUMO with TraCI, I get "sometimes" the following problem:   Exception in thread TraciThread: Traceback (most recent call last):   File "C:\Program Files (x86)\Microsoft Visual Studio\Shared\Python36_64\lib\threading.py", line 916, in

Re: [sumo-user] two clients, one SUMO connection (python - TraCI)

2018-12-21 Thread ratzenmeier
i did, it didn't work out, these are my scripts:   client1:   import traci sumoBinary = "D:\\Programme\\Eclipse\\Sumo\\bin\\sumo-gui.exe" #sumoCmd = [sumoBinary, "-c", "D:\\Repos\\abc\\xyz\\SUMO\\config.sumo.cfg", "--num-clients", "2"] traci.start(cmd=[sumoBinary, "-c",

Re: [sumo-user] two clients, one SUMO connection (python - TraCI)

2018-12-21 Thread ratzenmeier
man, still not working. I did it as you said, nothing, still the same loading thing at starting server. I also did it in like two clean scripts.   maybe in my cfg?   21600 28800 0.01 true true   i don't know

Re: [sumo-user] two clients, one SUMO connection (python - TraCI)

2018-12-20 Thread ratzenmeier
okey, still not working, here are my to client-snippets:   client1:   # default port PORT = 8813 client2 = Com() class runner: port = getFreeSocketPort() # if getFreeSocketPort returns None, initialize with default value if not port: port = PORT sumoBinary =

Re: [sumo-user] two clients, one SUMO connection (python - TraCI)

2018-12-20 Thread ratzenmeier
thanks for the information Jakob!   So I implemented it, but when I start my runner script, it opens my sumo-gui as usually, but it's only displaying "starting server on port " and nothing happens, just loading. When I'm changing the --num-clients in the traci.start to "1" it starts

[sumo-user] two clients, one SUMO connection (python - TraCI)

2018-12-20 Thread ratzenmeier
Hello everyone,   so i'm new to SUMO and want to connect two different clients (both python scripts, Interface: TraCI) to the same SUMO connection.  How can I do that exactly? I read about the simulationSteps from the post yesterday, but I can't manage to implement it.   Thanks a lot.