Re: [sumo-user] Beginner for SUMO

2018-08-03 Thread Ei Ei Mon
Thank you very much. On Fri, Aug 3, 2018 at 1:51 PM, Jakob Erdmann wrote: > Hello, > I've run my own test and looked at the code again: > The way sumo is currently implemented you will never see a duplicate ID. > This is because the detectors in SUMO effectivly detect only the center > line of a

[sumo-user] Randomness of vehicles types, 3D coordinates of the network

2018-08-03 Thread Timothée Corsini via sumo-user
Hello, I am currently working on importing a sumo simulation into a 3D environment by using TraciAPi. In order to create the TrafficLights, I would like to get the 3D coordinates of the node and the lanes concerned. However, TraciApi gives 2D position for objects different from vehicles. Do I have

[sumo-user] How to choose emissions probability value?

2018-08-03 Thread Jose Monreal Bailey
Hey everyone, I was wondering for the option --device.emissions.probabilityhow do you choose the value, and what are the possible values, from 0 to 1? Best regards, José ___ sumo-user mailing list sumo-user@eclipse.org To change your delivery options, r

Re: [sumo-user] How to choose emissions probability value?

2018-08-03 Thread Mirko Barthauer
Hi José, I think the probability just sets the share of vehicles which carry this device. That should be up to you to decide whether you want a small or a bigger sample. Probabilities are defined between 0 and 1, right. Regards Mirko Am 03.08.2018 um 17:32 schrieb Jose Monreal Bailey: Hey

[sumo-user] Detect vehicles inside a junction

2018-08-03 Thread Mirko Barthauer
Hello all, what would be the advised way of detecting vehicles which are inside a junction? I want to forbid some vehicles to enter a junction while others haven't left it yet. * One option would be to place detectors on internal lanes, which works OK if you collect the lane ID by hand.

Re: [sumo-user] How to choose emissions probability value?

2018-08-03 Thread Jakob Erdmann
The only function of this device is to record emission data for individual vehicles and put them into the tripinfo-output file. 2018-08-03 18:47 GMT+02:00 Mirko Barthauer : > Hi José, > > I think the probability just sets the share of vehicles which carry this > device. That should be up to you t

Re: [sumo-user] Detect vehicles inside a junction

2018-08-03 Thread Jakob Erdmann
You can retrieve the ids of internal lanes by using sumolib in your traci script. Every connection object supports the call getViaLaneID(). Alternatively you can use traci.lane.getLinks() which includes the id of the target lane beyond the junction as well as the internal lane in its result. rega