Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [sumo-user] * is not downstream the current route. traci.vehicle.setBusStop problem

Jakob,

Thank you for the information. Let me answer all your questions. 

vehicle is already past the stop position?  On what edge and position is the vehicle when sending the setBusStop command?
Yes, the vehicle has already passed the stop position and still on the same edge of the stop, when requests the stop.

In this circumstance, how should I do about it? 

Thanks,

Lei


On Thu, Oct 12, 2017 at 1:42 AM, Jakob Erdmann <namdre.sumo@xxxxxxxxxxxxxx> wrote:
Hello,
Potentially the vehicle is already past the stop position? On what edge and position is the vehicle when sending the setBusStop command?
If the vehicle is upstream of the stop, please send in additional information as described here:
http://sumo.dlr.de/wiki/FAQ#How_do_I_report_erroneous_behavior_of_a_SUMO_application.3F

regards,
Jakob

2017-10-11 18:59 GMT+02:00 Lei Zhu via sumo-user <sumo-user@lists.sourceforge.net>:
Hello,

As checking the archived bugs. I did have a probelm when using
Traci.vehicle.setBusStop().

traci.vehicle.changeTarget(veh_id, departure_stop_edge_id)
print veh_id, traci.vehicle.getRoute(veh_id)
traci.vehicle.setBusStop(veh_id, departure_stop_id, duration = 10)

The error like this
traci.exceptions.TraCIException: Bus stop 'busstop7' for vehicle 'AES_1' on
lane '1/2to2/2_0' is not downstream the current route.

I have checked the route by "traci.vehicle.getRoute(veh_id)" which liked
['2/2to3/2', '3/2to4/2', '4/2to1/2', '1/2to2/2'], where edge "1/2to2/2" is
within the route at index of 3.
It seems the conditions are all satisfied, but error is still there.
1) the stop edge is part of the route.
2) There is only one busstop assigned.
3) No later stops.

Thanks,


*Re: [sumo-user] Error: * is not downstream the current route.
<https://sourceforge.net/p/sumo/mailman/message/33133943/>*
From: Jakob Erdmann <namdre.sumo@go...> - 2014-12-10 07:35:54

Hello,
the netcheck documentation was wrong and has been corrected.
As to the 'not downstream' error, it is triggered in either one of the
following cases
- the stop edge is not part of the route
- the stops do not appear in the same order as the edges in the route
- a later stop appears at an earlier position on the same edge as an
earlier stop
If you can rule out all of these cases, please send in your complete input
files as it may be a bug
(seehttp://sumo.dlr.de/wiki/FAQ#How_do_I_report_Erroneous_behavior_of_a_SUMO-Application.3F
)
regards,
Jakob
------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
_______________________________________________
sumo-user mailing list
sumo-user@xxxxxxxxxxxxxxxxxxxxt
https://lists.sourceforge.net/lists/listinfo/sumo-user
_______________________________________________
sumo-user mailing list
sumo-user@xxxxxxxxxxx
To change your delivery options, retrieve your password, or unsubscribe from this list, visit
https://dev.eclipse.org/mailman/listinfo/sumo-user



Back to the top