Re: [sumo-user] Question about port already in use

2019-04-10 Thread Jakob Erdmann
The error message "Could not connect to TraCI server" only comes after the second failed connection attempt. It would guess that traci.connect (or traci.start) is called repeatedly with argument numRetries=1. Am Do., 11. Apr. 2019 um 04:34 Uhr schrieb <21_l...@tongji.edu.cn>: > Hi, Jakob, > > Th

Re: [sumo-user] Departure speed is incorrect

2019-04-10 Thread Jakob Erdmann
see https://sumo.dlr.de/wiki/Simulation/VehicleInsertion#Forcing_Insertion_.2F_Avoiding_depart_delay Am Mi., 10. Apr. 2019 um 21:13 Uhr schrieb Do Duc Le : > Hello, > > I control the speed of my vehicles via Traci with vehicle.setSpeed(), > which I'm reading from a file. After I ran the simulati

Re: [sumo-user] Question about port already in use

2019-04-10 Thread 21_lahm
Hi, Jakob, Thanks for your reply. Now what is confusing me is the sudden abort of sumo as shown in the attachment. The program written in python runs SUMO in Ubuntu. After running about 600 simulations, the program has stopped suddenly. There are no warnings or bugs shown, just "Retrying in 1

[sumo-user] Departure speed is incorrect

2019-04-10 Thread Do Duc Le
Hello, I control the speed of my vehicles via Traci with vehicle.setSpeed(), which I'm reading from a file. After I ran the simulation I noticed that the vehicles didn't behave as expected. The depart times of the vehicles (which were specified in the route-file) changed. Some vehicles entered

Re: [sumo-user] Time elapsed since the last green switch

2019-04-10 Thread Jakob Erdmann
If you did not modify the phase duration from its default, then: previousSwitch = traci.trafficlight.getNextSwitch(tlsiD) - traci.trafficlight.getPhaseDuration(tlsID) See https://sumo.dlr.de/wiki/TraCI/Traffic_Lights_Value_Retrieval regards, Jakob Am Mi., 10. Apr. 2019 um 18:55 Uhr schrieb Kamble

[sumo-user] Time elapsed since the last green switch

2019-04-10 Thread Kamble Akash Ankush cs17m018
Hi, Can I get the amount of time elapsed since a particular phase of tls program started? TraCI allows to get the time at which the next switch is going to happen but not previous one. How can I get that? Thanks in advance. ___ sumo-user mailing list

Re: [sumo-user] Creating pedestrian crossings

2019-04-10 Thread Jakob Erdmann
It should work if there is at least one lane which forbids pedestrians for each of the edges being crossed so I suspect your permissions must be adapted somewhere. If that's not the case, send me the network so I can take a look. regards, Jakob Am Mi., 10. Apr. 2019 um 16:21 Uhr schrieb Ákos Kész

[sumo-user] Creating pedestrian crossings

2019-04-10 Thread Ákos Kész
Hello! I would like to create seperated pedestrian crossings on a junction, as shown on the image below. [image: image.png] The problem is that when i try to create one, i get the following error message: "Warning: Discarding invalid crossing ':gneJ99_c3' at junction 'gneJ99' with edges 'gneE76 gn

Re: [sumo-user] Screenshot tricks?

2019-04-10 Thread Jakob Erdmann
Hello, - you can cheat with raster screenshots by enlarging the gui window beyond the screen size. You'll have to do this with the mouse though ( https://github.com/eclipse/sumo/issues/5456) - vector screenshots are somewhat better on linux than on windows (custom shapes included, no triangle glitc

Re: [sumo-user] Online-Calibration using calibrators and routeProbes

2019-04-10 Thread Jakob Erdmann
No, setting flow to <= 0 is currently the only way. Am Mi., 10. Apr. 2019 um 11:10 Uhr schrieb Kevin Malena < kevin.mal...@uni-paderborn.de>: > Hey SUMO-users, > > > > is there an option to set calibrators ‘active’ if not specified? ‘Active’ > means here that they should permit any vehicle to dri

[sumo-user] Online-Calibration using calibrators and routeProbes

2019-04-10 Thread Kevin Malena
Hey SUMO-users, is there an option to set calibrators 'active' if not specified? 'Active' means here that they should permit any vehicle to drive through. I know that I can specify the vehicles per hour to zero in all of this cases, but I wanna know if there might be an easier and more handy way

[sumo-user] Screenshot tricks?

2019-04-10 Thread m.bartha...@t-online.de
Hi all, I want to produce some high-quality / high-resolution figures of my SUMO network. Is there some good solution, given that normal screenshots are bound to the screen resolution? Can the vector image export of SUMO be tuned to avoid some glitches like the following: * roads cut off:

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

2019-04-10 Thread Jakob Erdmann
This is a misunderstanding. The transformation is maintained because the network records the applied offset and uses it when converting between x,y and lon,lat. (when writing fcd output and when using traci or sumolib to convert coordinates). You do not need to change a config file. the below call

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 discu

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

2019-04-10 Thread Jakob Erdmann
Then you may get flickering in the GUI due to numerical (rounding) errors. There should even be a warning to this effect when building the network with netconvert. The recommended solution is to shift the network coordinates so that the lower left corner is at 0,0. Netconvert does this by default u

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.

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

2019-04-10 Thread Jakob Erdmann
Is your network using very large x,y coordinates? Am Mi., 10. Apr. 2019 um 09:07 Uhr schrieb : > 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 th

[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 probl