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

Thanks for the example. The problem has been fixed : https://github.com/eclipse/sumo/issues/10860
You can obtain an updated version of sumo tomorrow at https://sumo.dlr.de/docs/Downloads.php#nightly_snapshots

Am Mi., 1. Juni 2022 um 14:10 Uhr schrieb Manish Chaturvedi <msc.nit@xxxxxxxxx>:
The problem persists in version 1.13

PFA the attached .zip file of the scenario.

The files are :
1) runner.py
2) data/net.net.xml
3) data/demand.rou.xml
4) data/sumo.sumocfg
5) and the output file data/tripinfo.xml


On Wed, Jun 1, 2022 at 3:54 PM Jakob Erdmann <namdre.sumo@xxxxxxxxx> wrote:
Please give it a try.

Am Mi., 1. Juni 2022 um 12:18 Uhr schrieb Manish Chaturvedi <msc.nit@xxxxxxxxx>:
I am using version 1.12. Should  I upgrade to version 1.13?

On Wed, Jun 1, 2022 at 3:21 PM Jakob Erdmann <namdre.sumo@xxxxxxxxx> wrote:
If the problem occurs with version 1.13.0, please provide all necessary files for reproducing the problem.

Am Mi., 1. Juni 2022 um 11:09 Uhr schrieb Manish Chaturvedi <msc.nit@xxxxxxxxx>:
Dear Jakob,

I could detect the persons waiting for taxi using the suggested API.

I got into an another issue: the vehicle disappears without dropping a person in the following scenario:

Consider the two persons P1 and P2 sharing a taxi. 

The pick up location of P1 and P2 are  at position 100 and 200 on edge E1, respectively; 
 and the  drop location of P1 and P2 are at position 100 and 200 on edge E2, respectively.

Further, the pick up and drop sequence is (P2, P1, P2, P1).

During the pick-up, the taxi traverses E1 until 200 and picks up P2 first (it skips P1 to satisfy the pickup sequence); then it traverses a full circle of route to pickup P1 (this is as expected).

However, the interesting stuff occurs during the drop: the taxi drops P2 first (it skips P1 to satisfy the drop sequence), but the vehicle disappears at the end of the edge and the drop of P1 never occurs.

What can be the cause of this? Please suggest.

Yours Sincerely,

Manish



On Wed, Jun 1, 2022 at 10:56 AM Jakob Erdmann <namdre.sumo@xxxxxxxxx> wrote:
if a person is in stage 3 and traci.person.getVehicle returns "", this means it is waiting for a vehicle.
You can also look at the description attribute of person.getStage.

Am Mi., 1. Juni 2022 um 05:24 Uhr schrieb Manish Chaturvedi <msc.nit@xxxxxxxxx>:
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 <namdre.sumo@xxxxxxxxx> 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 <msc.nit@xxxxxxxxx>:
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 



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, <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: 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 <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.

Regards,

Manish 
_______________________________________________
sumo-user mailing list
sumo-user@xxxxxxxxxxx
To unsubscribe from this list, visit https://www.eclipse.org/mailman/listinfo/sumo-user
_______________________________________________
sumo-user mailing list
sumo-user@xxxxxxxxxxx
To unsubscribe from this list, visit https://www.eclipse.org/mailman/listinfo/sumo-user
_______________________________________________
sumo-user mailing list
sumo-user@xxxxxxxxxxx
To unsubscribe from this list, visit https://www.eclipse.org/mailman/listinfo/sumo-user
_______________________________________________
sumo-user mailing list
sumo-user@xxxxxxxxxxx
To unsubscribe from this list, visit https://www.eclipse.org/mailman/listinfo/sumo-user
_______________________________________________
sumo-user mailing list
sumo-user@xxxxxxxxxxx
To unsubscribe from this list, visit https://www.eclipse.org/mailman/listinfo/sumo-user
_______________________________________________
sumo-user mailing list
sumo-user@xxxxxxxxxxx
To unsubscribe from this list, visit https://www.eclipse.org/mailman/listinfo/sumo-user
_______________________________________________
sumo-user mailing list
sumo-user@xxxxxxxxxxx
To unsubscribe from this list, visit https://www.eclipse.org/mailman/listinfo/sumo-user
_______________________________________________
sumo-user mailing list
sumo-user@xxxxxxxxxxx
To unsubscribe from this list, visit https://www.eclipse.org/mailman/listinfo/sumo-user
_______________________________________________
sumo-user mailing list
sumo-user@xxxxxxxxxxx
To unsubscribe from this list, visit https://www.eclipse.org/mailman/listinfo/sumo-user
_______________________________________________
sumo-user mailing list
sumo-user@xxxxxxxxxxx
To unsubscribe from this list, visit https://www.eclipse.org/mailman/listinfo/sumo-user
_______________________________________________
sumo-user mailing list
sumo-user@xxxxxxxxxxx
To unsubscribe from this list, visit https://www.eclipse.org/mailman/listinfo/sumo-user

Back to the top