Re: [sumo-user] Beginner for SUMO

2018-08-18 Thread Ei Ei Mon
Dear , In my simulation, it has to write too many output files of e2 detectors . Now, I got the following error: Error: Could not build output file 'output/e2Detector_L10256_1_6.txt' (Too many open files). Loading of additional-files failed. Quitting (on error). How should I fix it? On Sat, Aug

Re: [sumo-user] Beginner for SUMO

2018-08-18 Thread Jakob Erdmann
You can let multiple detectors write to the same file. Their outputs are still distinguishable by the detector id in the data elements. 2018-08-18 11:46 GMT+02:00 Ei Ei Mon : > Dear , > > In my simulation, it has to write too many output files of e2 detectors . > Now, I got the following error: >

Re: [sumo-user] Beginner for SUMO

2018-08-18 Thread Ei Ei Mon
oh, I see. Thank you. I will try it. On Sat, Aug 18, 2018 at 5:10 PM, Jakob Erdmann wrote: > You can let multiple detectors write to the same file. Their outputs are > still distinguishable by the detector id in the data elements. > > 2018-08-18 11:46 GMT+02:00 Ei Ei Mon : > >> Dear , >> >> In m

Re: [sumo-user] Beginner for SUMO

2018-08-18 Thread Ei Ei Mon
Dear, In my case, I want to get the startPos of edge or lane. I cannot find the traci methods to get startPos of edge or lane. Could you give me some suggestions? Thank you in advance. with best regards, On Sat, Aug 18, 2018 at 5:27 PM, Ei Ei Mon wrote: > oh, I see. Thank you. I will try it. >

Re: [sumo-user] Beginner for SUMO

2018-08-18 Thread Jakob Erdmann
traci.simulation.convert2D(edgeID, offset, laneIndex, toGeo). offset = 0 gives you the start of the lane toGeo = true gives lon, lat (otherwise network coordinates x, y are returned). 2018-08-18 18:11 GMT+02:00 Ei Ei Mon : > Dear, > > In my case, I want to get the startPos of edge or lane. I c

Re: [sumo-user] Beginner for SUMO

2018-08-18 Thread Ei Ei Mon
Thank you. I will try it. On Sun, 19 Aug 2561 at 02:31 Jakob Erdmann wrote: > traci.simulation.convert2D(edgeID, offset, laneIndex, toGeo). > > offset = 0 gives you the start of the lane > toGeo = true gives lon, lat (otherwise network coordinates x, y are > returned). > > > > 2018-08-18 18:11 G