Dear Jakob, thanks a lot for the information. Is there any way to detect the state while the passenger has completed walking and waiting for a bus / taxi?
I need to detect such passengers and take some action in the Traci program (schedule ondemand taxi). Regards, Manish On Tue, May 31, 2022 at 4:03 PM Jakob Erdmann <[email protected]> wrote: > state 1 (waiting) is only used when the person is in a <stop> stage (and > thus waiting for a specific duration/end time) > state 3 (driving) encompasses everything that belongs to the riding stage > (and this includes waiting for the vehicle) > > Am Di., 31. Mai 2022 um 11:21 Uhr schrieb Manish Chaturvedi < > [email protected]>: > >> Thank you Jakob for your reply. >> >> I have another question. >> >> I define a person trip as follows: >> <person id="person11" depart="0.00" departPos="0" color="green"> >> <walk from="-gneE1" to="gneE0" arrivalPos="10"/> >> <ride from="gneE0" to="gneE2" lines="taxi"/> >> </person> >> >> At every simulation step, I repeatedly check the state of the person >> using the following traci call >> >> personState = traci.person.getStage(personID).type >> >> as specified at >> https://sumo.dlr.de/pydoc/traci._person.html#PersonDomain-getStage >> >> >> While the person is walking, the personState value is 2 which matches >> with the documentation. >> >> After completion of the walk I expect the state to change to 1 ("Waiting" >> for a taxi) as the person is now waiting for a taxi. The SUMO-GUI shows >> the state Waiting for Taxi correctly, however the >> traci.person.getStage(personID).type returns 3 (driving) immediately after >> the person completes the walk. >> >> Am I missing something? Please advise. >> >> Regards, >> Manish >> >> >> On Mon, 30 May 2022, 15:12 Jakob Erdmann, <[email protected]> wrote: >> >>> The 'jamming' happens by design when the number of waiting persons >>> exceeds the capacity of a busStop. In this case persons cannot enter the >>> stop and become 'jammed' on the sidewalk. Thus, the warning is generally >>> not a problem. >>> >>> However, there seems to be some needless jamming on top of that: >>> https://github.com/eclipse/sumo/issues/10822 >>> And the reported collisions could be a collateral of that: >>> https://github.com/eclipse/sumo/issues/10823 >>> >>> regards, >>> Jakob >>> >>> Am Fr., 27. Mai 2022 um 14:09 Uhr schrieb Manish Chaturvedi < >>> [email protected]>: >>> >>>> Dear SUMO users, >>>> >>>> When I run the Citi mobile tutorial, after some time (approx 600 >>>> seconds), it shows warning messages "person <ID> jammed on edge <ID> >>>> Time=XX:" ; >>>> >>>> Also, there are few warnings of the form "Collision of Person <ID> and >>>> Person <ID> on Lane=XX , Time=XX"; which increases significantly towards >>>> the end of the simulation specifically when no bus is available. >>>> >>>> What is the cause of this warning? Does it represent some error in the >>>> scenario? Please suggest. >>>> >>>> Regards, >>>> >>>> Manish >>>> _______________________________________________ >>>> sumo-user mailing list >>>> [email protected] >>>> To unsubscribe from this list, visit >>>> https://www.eclipse.org/mailman/listinfo/sumo-user >>>> >>> _______________________________________________ >>> sumo-user mailing list >>> [email protected] >>> To unsubscribe from this list, visit >>> https://www.eclipse.org/mailman/listinfo/sumo-user >>> >> _______________________________________________ >> sumo-user mailing list >> [email protected] >> To unsubscribe from this list, visit >> https://www.eclipse.org/mailman/listinfo/sumo-user >> > _______________________________________________ > sumo-user mailing list > [email protected] > To unsubscribe from this list, visit > https://www.eclipse.org/mailman/listinfo/sumo-user >
_______________________________________________ sumo-user mailing list [email protected] To unsubscribe from this list, visit https://www.eclipse.org/mailman/listinfo/sumo-user
