|
From: Pietro N. <pi...@ti...> - 2011-11-09 10:57:50
|
Hello, I updated to version 0.13 and I rewrote the parameter, and now it works. But I found a little bug (supposedly). I run a simulation with a map of mine, and if a vehicle has a short road as a destination (arrivalPos is set to -0.1), when it exits sumo reports a wrong teleport and collision: Warning: Teleporting vehicle '1188'; collision, lane='-543232277_0', time=291.00. In this case, the road -543232277 is 6 meters long, the car was travelling at 7,88 m/s and at step 291 it was positioned at 1,08 m. in the destination road. In the following step, the car arrives and disappears, but sumo prints the above error message. There were absolutely no other cars around. My understanding is that since the car was travelling faster than the remaining length, this is recognized as a wrong collision. Does it make any sense? Thanks for your help! Pietro Da: Jakob Erdmann [mailto:nam...@go...] Inviato: martedì 8 novembre 2011 12:12 A: Pietro Niccoli Cc:; eg...@gm... Oggetto: Re: [sumo-user] arrivalPos option As Daniel said, the option should work. If it does not work for you (using the latest version of SUMO) please send a small example. regards, Jakob 2011/11/4 Pietro Niccoli <pi...@ti...> Hi everyone, I tried using that parameter, but the cars still exit at the beginning of the destination road. Here (http://sumo.sourceforge.net/doc/current/docs/Definition_of_Vehicles,_Vehicl <http://sumo.sourceforge.net/doc/current/docs/Definition_of_Vehicles,_Vehicl %0Ae_Types,_and_Routes.html> e_Types,_and_Routes.html) it's said that this parameter is currently not evaluated, anyone can confirm this? Thanks all, Pietro -----Messaggio originale----- Da: Daniel Krajzewicz [mailto:d.k...@go...] Inviato: lunedì 31 ottobre 2011 13:50 A: Eric Gamess Cc: sum...@li... Oggetto: Re: [sumo-user] Route with only one edge Dear Eric, just write <vehicle arrivalPos="-1" ...><route edges="myedge"/></vehicle>... You have to set the arrivalPos attribute to the position at the end of your last edge in order to pass it, too. Negative numbers, as "-1" are counted from the end of the edge. sincerely, Daniel 2011/10/31 Eric Gamess <eg...@gm...> > Hello all, > > .... > > Also, in SUMO, vehicles disappear at the beginning > of the last edge of a route. Is there a way to make > them disappear at the end of the last edge??? > > Thank you for you help. > > Eric. |