From: Pavlos B. <pba...@gm...> - 2014-04-08 08:46:46
|
So if i a execute the command change lane when the positions are not accurate due to some small miscalculation e.g 0.8m and this results in a crush, with the lanechangemode at 513 this will be avoided? Many thanks, Pavlos 2014-04-08 11:37 GMT+03:00 Jakob Erdmann <nam...@go...>: > Hello, > if you use laneChangeMode 0b1000000001 = 513 > vehicles will only perform strategic changes autonomously but will ensure > that TraCI requests are handled safely. > see http://sumo-sim.org/wiki/TraCI/Change_Vehicle_State for the meaning > of all bits > regards, > Jakob > > > 2014-04-08 9:44 GMT+02:00 Pavlos Basaras <pba...@gm...>: > > Sorry for sendind this message only to you. Please let me repost it. >> >> Thank you very much for your answer. >> >> One last thing that i want to better understand. I have disabled tha >> default lane change of sumo by using strategic mode. I use the command >> change lane to force vehicles based on some criteria to change a lane. I >> exchange information with neighboring vehicle through beacons. So i have >> the neighbor position and velocity at the time it sent the beacon. >> >> To calculate the actual distance between me and a neighbor (at the time >> of my decision in changing the lane) i multiply the velocity of the >> neighbor vehicle with (simTime()-time that received the beacon) and add it >> to the position i got from the beacon. >> >> Should i add another 0.1 seconds to the time interval where i compute the >> actual distance of my neighbor when the command lane change is about to be >> executed? >> >> For example vehicle 3.4 changing down to the lane of 2.4 will be decided >> in a very small distance gap so the slightest miscalculation in his >> position is a problem. >> >> Any advice? >> >> [image: Ενσωματωμένη εικόνα 1] >> >> Many thanks again, >> Pavlos >> >> >> 2014-04-07 9:51 GMT+03:00 Jakob Erdmann <nam...@go...>: >> >> Hello, >>> that is to be expected given my previous reply. >>> Upgrade to the latest svn version if you want to use the fix. Or simply >>> subtract 1 from the simulation step shown in the GUI in your head. >>> regards, >>> Jakob >>> >>> >>> 2014-04-06 8:53 GMT+02:00 Pavlos Basaras <pba...@gm...>: >>> >>> What i get with sumo version 20 and veins is: >>>> >>>> Warning: Teleporting vehicle 'flow3.1'; collision with 'flow3.4', >>>> lane='1to2_2', gap=-0.82, time=132.20 stage=laneChange >>>> >>>> when i check the position in gui it seems that the vehicle that >>>> collides has not completely overtaken the next vehicle but when i am >>>> printing their position with traci->getCurrentPosition() they are at >>>> distance of 5 or 6 meters , i.e the the vehicle has already passed the >>>> other vehicle and is ahead 5 meters. Any advise? >>>> >>>> many thanks, >>>> Pavlos >>>> >>>> >>>> 2014-04-01 12:06 GMT+03:00 Jakob Erdmann <nam...@go...>: >>>> >>>> Hello, >>>>> sumo-gui shows you the state that corresponds to the previous time >>>>> step. >>>>> This is fixed in the very latest svn revision [16093]. >>>>> regards, >>>>> Jakob >>>>> >>>>> >>>>> 2014-03-30 12:16 GMT+02:00 Pavlos Basaras <pba...@gm...>: >>>>> >>>>>> Hello, >>>>>> >>>>>> does the sumo gui induce some delay in visualizing the vehicles? I use >>>>>> traci->getCurrentPosition() to get a vehicles position and what i see >>>>>> in >>>>>> gui in the x-axis is a little smaller than what i get from traci at >>>>>> about >>>>>> maybe 10m or so. >>>>>> >>>>>> best, >>>>>> Pavlos >>>>>> >>>>>> ------------------------------------------------------------------------------ >>>>>> _______________________________________________ >>>>>> sumo-user mailing list >>>>>> sum...@li... >>>>>> https://lists.sourceforge.net/lists/listinfo/sumo-user >>>>>> >>>>> >>>>> >>>> >>> >> > |