Re: [sumo-user] FCD Output of Mixed Traffic simulation

2023-11-24 Thread Mirko Barthauer via sumo-user
which follow the sorting order). Alternatively you can parse the results and then implement your own sort function. Best regards Mirko -Original-Nachricht- Betreff: [sumo-user] FCD Output of Mixed Traffic simulation Datum: 2023-11-24T16:57:43+0100 Von: "Simon Michael via sumo

Re: [sumo-user] FCD Output

2022-06-23 Thread Jakob Erdmann
https://sumo.dlr.de/docs/Simulation/Output/FCDOutput.html#restricting_the_set_of_vehicles_that_generate_output Am Do., 23. Juni 2022 um 10:54 Uhr schrieb Radha Reddy < radha.reddy@gmail.com>: > Sorry for asking. > > I have several traffic flow definitions, fn1, fn2, > > I only need to e

Re: [sumo-user] FCD Output

2022-06-23 Thread Radha Reddy
Sorry for asking. I have several traffic flow definitions, fn1, fn2, I only need to export the FCD data for the vehicles that are generated under specific flow definitions, say fn1. Is this possible? Regards Radha On Thu, Jun 23, 2022 at 9:51 AM Jakob Erdmann wrote: > see > https://sumo.

Re: [sumo-user] FCD Output

2022-06-23 Thread Jakob Erdmann
see https://sumo.dlr.de/docs/TraCI/Interfacing_TraCI_from_Python.html#determine_why_the_traci_client_cannot_connect Am Do., 23. Juni 2022 um 10:24 Uhr schrieb Radha Reddy < radha.reddy@gmail.com>: > Good Morning, > > There might be many answers regarding this query, but sorry for asking > aga

[sumo-user] FCD Output

2022-06-23 Thread Radha Reddy
Good Morning, There might be many answers regarding this query, but sorry for asking again. I wanted to get FCD out of *time, id, speed, pos, and lane* only, and for that, I gave the following command. *traci.start([sumoBinary, "-c", "data/intersection.sumocfg", "--fcd-output.attri

Re: [sumo-user] FCD Output

2022-01-29 Thread Jakob Erdmann
x,y are global coordinates and may take on any value. (i.e. if the coordinate origin 0,0 is in the center of your network). If you are looking for a lane-relative coordinate system, you can use the 'pos' attribute which denotes the driven distance from the start of the current lane. When using the

[sumo-user] FCD Output

2022-01-28 Thread Hem
Hi, When using FCD output, the 'x' and 'y' indicate the vehicle position in the x- and y- direction. Vehicles are going in one direction, what do the negative x and negative y values indicate? If all vehicles are going in one direction, doesn't that mean it should have a positive value for 'x' and

Re: [sumo-user] FCD output query

2021-02-12 Thread Jakob Erdmann
The fcd angle attribute is direction of movement relative to the x/x plane (also called heading). To get relative angles between vehicles you need to subtract the heading from the angle of x,y positions of both vehicles. Am Fr., 12. Feb. 2021 um 06:45 Uhr schrieb Moyukh Laha : > Thanks, Jakob. I

Re: [sumo-user] FCD output query

2021-02-11 Thread Moyukh Laha
Thanks, Jakob. I have another doubt. I find the 'angle' field in fcd-output is described as-- The angle of the vehicle in navigational standard (0-360 degrees, going clockwise with 0 at the 12'o clock position) Is it the angle of the vehicle position with respect to the reference (like X-axis a

Re: [sumo-user] FCD output query

2021-02-11 Thread Jakob Erdmann
By default, if the vehicle is visible in sumo-gui it should also be included in the fcd-output. Note, that it is possible to configure only a portion of the vehicles to generate this output ( https://sumo.dlr.de/docs/Simulation/Output/FCDOutput.html#restricting_the_set_of_vehicles_that_generate_out

[sumo-user] FCD output query

2021-02-11 Thread Moyukh Laha
Hello, I want to know the position of each vehicle at every timestep. I am using fcd -output for the same. My doubt is does it store the position of all vehicles (including static ones)? or only the vehicles that are moving/changing their direction at that timestep? When running the simulation f

Re: [sumo-user] fcd output and time step accuracy

2020-08-05 Thread Jakob Erdmann
A main source of differences between simulations with different step lengths is vehicle insertion (more frequent insertion attempts lead to higher insertion flow). See https://sumo.dlr.de/docs/Simulation/VehicleInsertion.html To achieve vehicle behavior closer to the 1-second simulation, run the s

Re: [sumo-user] fcd output and time step accuracy

2020-07-10 Thread Tetris
behrisch wrote > Am 06.07.20 um 09:24 schrieb Tetris: >> I used fcd output to get the acceleration and speed data of a simulation. >> The total travel time is 168 seconds longer with --step-length 1 than >> with >> --step-length 0.1. > > This sounds like a lot. What is the absolute value of the t

Re: [sumo-user] fcd output and time step accuracy

2020-07-09 Thread Tetris
behrisch wrote > > > Am 06.07.20 um 09:24 schrieb Tetris: >> I used fcd output to get the acceleration and speed data of a simulation. >> The total travel time is 168 seconds longer with --step-length 1 than >> with >> --step-length 0.1. > > This sounds like a lot. What is the absolute value o

Re: [sumo-user] fcd output and time step accuracy

2020-07-08 Thread Michael Behrisch
Hi, answers are inline below Am 06.07.20 um 09:24 schrieb Tetris: > I used fcd output to get the acceleration and speed data of a simulation. > The total travel time is 168 seconds longer with --step-length 1 than with > --step-length 0.1. This sounds like a lot. What is the absolute value of th

[sumo-user] fcd output and time step accuracy

2020-07-06 Thread Tetris
Hello, I used fcd output to get the acceleration and speed data of a simulation. The total travel time is 168 seconds longer with --step-length 1 than with --step-length 0.1. The wiki mentions that the fcd output of SUMO works like a GPS. Does this mean the smaller time steps are more accurate?

Re: [sumo-user] Fcd Output

2019-04-02 Thread Jakob Erdmann
add sumo option --fcd-output FILENAME Am Di., 2. Apr. 2019 um 16:10 Uhr schrieb Mari Fadi : > Dear SUMO community, > > > > I am using SUMO version 1.1.0 and I want to output floating car data(fcd) > file. I selcted all edges I need and saved all in file like these: > edge:-297027292#2 > edge:-30

[sumo-user] Fcd Output

2019-04-02 Thread Mari Fadi
Dear SUMO community, I am using SUMO version 1.1.0 and I want to output floating car data(fcd) file. I selcted all edges I need and saved all in file like these: edge:-297027292#2 edge:-301878794#1 edge:-306390346#0 Now I have read the description in :https://sumo.dlr.de/wiki/Simulation/Outp

Re: [sumo-user] fcd-output: speed issue

2018-03-27 Thread Jakob Erdmann
to:sumo-user-boun...@eclipse.org] > On Behalf Of Michael Behrisch > Sent: den 16 mars 2018 21:21 > To: Sumo project User discussions > Subject: Re: [sumo-user] fcd-output: speed issue > > Hi Daniel, > I could not reproduce it. I did a small test generating an fcd file of > ab

Re: [sumo-user] fcd-output: speed issue

2018-03-21 Thread Thuresson, Daniel
oject User discussions Subject: Re: [sumo-user] fcd-output: speed issue Hi Daniel, I could not reproduce it. I did a small test generating an fcd file of about 350MB resulting in a gpsdat file of about 18MB. Both runs took about two minutes on my PC (Windows 7 with Python 2.7.11). What is

Re: [sumo-user] fcd-output: speed issue

2018-03-16 Thread Michael Behrisch
Hi Daniel, I could not reproduce it. I did a small test generating an fcd file of about 350MB resulting in a gpsdat file of about 18MB. Both runs took about two minutes on my PC (Windows 7 with Python 2.7.11). What is your platform? There may be some interferring virus scanner or firewall watching

Re: [sumo-user] fcd-output: speed issue

2018-03-16 Thread Jakob Erdmann
Hello, i haven't personally used this method of operation so I have no data to compare too. However, your finding does not surprise me insofar as sumo still generates the full amount of xml output. Most likely the socket buffering parameters are not optimized for speed as they are for writing to di

[sumo-user] fcd-output: speed issue

2018-03-16 Thread Thuresson, Daniel
Hi, I tried to use the fcd-output and write data to a port. The reason for this is to avoid large files, which I have assumed slows down the computation. I do this by first starting python in a command prompt: c:\temp\SUMO_RESULTS_automized\Simulations>python traceExporter.py -fcd-input 43214 -