There is currently no code that automates this so you have to manually
compute an optimized pickup-order.

Am Do., 2. Juni 2022 um 08:23 Uhr schrieb Manish Chaturvedi <
[email protected]>:

> Dear Jakob, Thanks a lot for your help.
>
> The earlier problem occurred because the  the taxi Reservations are served
> in the sequence in which the previous stage (e.g. walking) completes, i.e.
> if Pi completes walking first, its taxi reservation is served first.
>
> Is there any traci function that generates a pick-up and drop sequence
> such that the passenger encountered first on an edge is picked first, and
> similarly for the dropping?  Or one has to write a small piece of code to
> manipulate the default sequence ? Please suggest.
>
> Regards,
>
> Manish
>
>
> On Wed, Jun 1, 2022 at 9:30 PM Jakob Erdmann <[email protected]>
> wrote:
>
>> 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 <
>> [email protected]>:
>>
>>> 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 <[email protected]>
>>> wrote:
>>>
>>>> Please give it a try.
>>>>
>>>> Am Mi., 1. Juni 2022 um 12:18 Uhr schrieb Manish Chaturvedi <
>>>> [email protected]>:
>>>>
>>>>> I am using version 1.12. Should  I upgrade to version 1.13?
>>>>>
>>>>> On Wed, Jun 1, 2022 at 3:21 PM Jakob Erdmann <[email protected]>
>>>>> 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 <
>>>>>> [email protected]>:
>>>>>>
>>>>>>> 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 <[email protected]>
>>>>>>> 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 <
>>>>>>>> [email protected]>:
>>>>>>>>
>>>>>>>>> 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
>>>>>>>>>
>>>>>>>> _______________________________________________
>>>>>>>> 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
>>>>
>>> _______________________________________________
>>> 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

Reply via email to