Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [sumo-user] CitiMobile tutorial - person jam and collisions

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"/>  

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

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.


On Mon, 30 May 2022, 15:12 Jakob Erdmann, <namdre.sumo@xxxxxxxxx> 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: 
And the reported collisions could be a collateral of that:


Am Fr., 27. Mai 2022 um 14:09 Uhr schrieb Manish Chaturvedi <msc.nit@xxxxxxxxx>:
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.


sumo-user mailing list
To unsubscribe from this list, visit
sumo-user mailing list
To unsubscribe from this list, visit

Back to the top