Re: [sumo-user] Traci getDistance error

2017-05-18 Thread Dula, Walker L (398I)
Hi Eugene, Even if you don’t have a junction, to create a ring, I presume you must have at least one node to complete it. As a result, there are gaps in the circuit where vehicles are not on an edge, even if the loop seems contiguous. You should check the timestamps when the errors occur and

Re: [sumo-user] Traci getDistance error

2017-05-18 Thread Eugene Vinitsky
Hi Walker, Thanks for the advice! Unfortunately, our system is just a ring so I don't think the error can be due to that? Sincerely, Eugene On Thu, May 18, 2017 at 4:17 PM, Dula, Walker L (398I) < walker.l.d...@jpl.nasa.gov> wrote: > Hi Eugene, > If I recall, I had the same error code crop up

Re: [sumo-user] Traci getDistance error

2017-05-18 Thread Dula, Walker L (398I)
Hi Eugene, If I recall, I had the same error code crop up whenever a vehicle was within an intersection. I believe getDistance only returns a valid number when a vehicle is on an actual edge. Hope that helps! Walker Dula > On May 18, 2017, at 4:10 PM, Eugene Vinitsky

[sumo-user] Traci getDistance error

2017-05-18 Thread Eugene Vinitsky
Hello, On occasion traci returns the error code -1001 when a call is made to getDistance. Does anyone know what triggers this? I'm getting this pretty regularly and it's causing some issues. Thanks for any and all help! Eugene

[sumo-user] Problem with sumo 0.30.0 duarouter

2017-05-18 Thread Dula, Walker L (398I)
Hi all, I have encountered a problem since upgrading to SUMO 0.30.0 from 0.29.0. I notice that when I use duarouter to create a route file from a flow file and a vehicle type file, the speedDev and speedFactor parameters for each vType are concatenated like so: speedFactor=“9.0”

Re: [sumo-user] randomTrips pearson of multimodal (personTrip)

2017-05-18 Thread Jakob Erdmann
Hello, Possibly there is something in your network which prevents car trips. It's working fine in my test case. i.e. netgenerate --grid --grid.number 5 --grid.alphanumerical-ids -o grid5.net.xml randomTrips.py -n grid5.net.xml -o trips.xml -r routefile.rou.xml --persontrips -t 'modes="car" '

Re: [sumo-user] TRAFFIC LIGHTS TRACI

2017-05-18 Thread Jakob Erdmann
Hello, you can place an induction loop at the end of that lane and call method traci.inductionloop.getLastStepVehicleNumber() in each simulation step. Note, that this may lead to inaccuracies if a vehicle stops on the inductionloop but this can be avoided if the induction loop is placed on the

Re: [sumo-user] randomTrips pearson of multimodal (personTrip)

2017-05-18 Thread CARLOS SEPULVEDA
Dear Jakob,Thanks for your quick response. I did what you say (randomtrips -n mynetfile.net.xml -o mytripfile.trips.xml -r routefile.rou.xml --persontrips -t 'modes="car" ' --validate, and the program runs, but when I opened the routefile.rou.xml every person movement has only walk edges. What

Re: [sumo-user] MacPorts SUMO FOX

2017-05-18 Thread Lockhart, Thomas G (398I)
fox-1.6.54 and sumo-0.30.0 are both now in the MacPorts repo. You should see them with the usual update sequence: port selfupdate port upgrade outdated Thanks! - Tom > On May 14, 2017, at 1:31 AM, Tammo Ricklefs > wrote: > > Hello, > with SUMO 0.29.0 and

[sumo-user] TRAFFIC LIGHTS TRACI

2017-05-18 Thread Flávio Alexandre
Hi. How to know (or count) the number of vehicles that leave a lane? Thanks, Flávio Nunes -- Check out the vibrant tech community on one of the world's most engaging tech sites, Slashdot.org! http://sdm.link/slashdot

Re: [sumo-user] randomTrips pearson of multimodal (personTrip)

2017-05-18 Thread Jakob Erdmann
Hello, - walking mode is always available so you do not need to set this - bicycle mode requires the the string 'bicycle' but it cannot vouch for this functionality as it is untested - you do not need to define vehicles as they will be defined automatically if you use modes="car" - you've stumbled

Re: [sumo-user] traCI: waiting time of vehicle not set

2017-05-18 Thread Jakob Erdmann
The documentation updates sometimes during the morning. Check again, it now reads: *getWaitingTime*(self, vehID)getWaitingTime () -> double The waiting time of a vehicle is defined as the time (in seconds) spent

[sumo-user] randomTrips pearson of multimodal (personTrip)

2017-05-18 Thread CARLOS SEPULVEDA
Hi, I'm newbie to SUMO, so sorry if my questions are so obvious, but I been trying to generate a simulation with intermodal routing using randomTrips with no results. I have my net file properlly configure. So my questions i what to do to achive randomTrips intermodal, becasue when i call: