Hi

Am 10.01.2017 um 14:39 schrieb Green Mind:
> 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.*
-> this could happen if you insert vehicle too
close to an intersection where its urged to break
but the given speed is too big.
> 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*
-> you may try to get the stop state each step via traci (eg. 
subscriptions) - to detect such events - still a sticky solution*:
Once the vehicle finishes or aborts its __last__
stop traci.vehicle.getStop() will return 0 and the
vehicle will complete its route. After arriving the end
of the final route the vehicle will be removed from the net.

-> The error can also emerge when moving around stopped vehicles but 
this might not be your use case here.

* @DLR-Team: maybe it would be an enhancement to get the
sumo warnings via traci as well.
> 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 <[email protected]>
> 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 <[email protected]>:
>>
>>> 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:[email protected]]
>>> 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
>>> [email protected]
>>> 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
>>> [email protected]
>>> 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
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/sumo-user
best Marek Heinrich
simoserv GmbH

------------------------------------------------------------------------------
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
[email protected]
https://lists.sourceforge.net/lists/listinfo/sumo-user

Reply via email to