|
From: Green M. <gre...@gm...> - 2017-01-10 13:39:57
|
Jakob, Thanks for the answer. In this case, what is the difference between this error I sometimes I get in my python script: *traci.exceptions.TraCIException: Stop for vehicle '69' on lane '-36948252_0' is too close to break.* and this warning I get on Sumo log (and the python script is unaware of, except for the vehicle disappearing)? *Warning: Vehicle '53' skips stop on lane '25301895_0' time=471.00* Are they both caused by the same reason? (not enough space to break before the end of the lane)? What would cause one over the other? On Tue, Jan 10, 2017 at 11:15 AM, Jakob Erdmann <nam...@go...> wrote: > Hello, > this behavior arises when the vehicle cannot stop in time because the > remaining route is quite short and the vehicle is too fast. > I recommend you observe this particular vehicle in the gui and track its > speed for confirmation. > To avoid this you can ensure a minimum route length or increase the > permitted deceleration. > > regards, > Jakob > > > > 2017-01-10 5:38 GMT+01:00 Li Yan <ly...@vi...>: > >> I encountered the same problem before. It is because the vehicles in SUMO >> must always have a route to follow. Otherwise, they will subscribe to the >> arrived vehicle list after reaching the dest specified in setStop() and >> disappear. Hint: use traci.vehicle.isStopped(vehID) to judge whether the >> vehicle has stopped, update the route as long as isStopped returns True. >> >> Best regards, >> Li >> >> >> -----Original Message----- >> From: Green Mind [mailto:gre...@gm...] >> Sent: Monday, January 09, 2017 3:21 PM >> To: SUMO Users >> Subject: [sumo-user] Warning: Vehicle '53' skips stop on lane '25301895_0' >> time=471.00 >> >> I use traci to set a route to a vehicle (the route contains about 5 edge), >> and then make it stop on the middle of the last edge: >> >> * traci.vehicle.setRoute(vehicle_id, edges)* >> >> * # stop in the middle of the street* >> * loc = graph.getEdge(dest).getLength() / 2.0* >> * traci.vehicle.setStop(vehicle_id, dest, pos=loc) * >> >> After doing this successfully about 100 times with different vehicles and >> different routes, I get this error: >> >> *Warning: Vehicle '53' skips stop on lane '25301895_0' time=471.00* >> >> And the vehicle dissapears from the map. >> >> This reproduces all the time with this specific vehicle and route. >> >> I will add that this is a part of a script that controls many vehicles and >> sends them in many different routes - the only problem seem to be with >> this >> specific vehicle and this specific route+stop combination, but I have no >> idea what could cause it. Everything looks normal. >> >> Any ideas? >> ------------------------------------------------------------ >> ---------------- >> -- >> Developer Access Program for Intel Xeon Phi Processors Access to Intel >> Xeon >> Phi processor-based developer platforms. >> With one year of Intel Parallel Studio XE. >> Training and support from Colfax. >> Order your platform today. http://sdm.link/xeonphi >> _______________________________________________ >> sumo-user mailing list >> sum...@li... >> https://lists.sourceforge.net/lists/listinfo/sumo-user >> >> >> ------------------------------------------------------------ >> ------------------ >> Developer Access Program for Intel Xeon Phi Processors >> Access to Intel Xeon Phi processor-based developer platforms. >> With one year of Intel Parallel Studio XE. >> Training and support from Colfax. >> Order your platform today. http://sdm.link/xeonphi >> _______________________________________________ >> sumo-user mailing list >> sum...@li... >> https://lists.sourceforge.net/lists/listinfo/sumo-user >> > > |