I see, thank you and sorry for the typo.

On Wed, Sep 8, 2021 at 1:07 AM Jakob Erdmann <namdre.s...@gmail.com> wrote:

> [*Caution*: Email from External Sender. Do not click or open links or
> attachments unless you know this sender.]
>
> Assuming you are talking about traci.person.getStage, the sumo
> documentation was outdated: getStage resturns a stage object. (see
> https://github.com/eclipse/sumo/blob/7000071d93beaf45f95f41217f5c89559908a803/tools/traci/_simulation.py#L27-L55
> )
>
> Am Di., 7. Sept. 2021 um 21:12 Uhr schrieb Rachael Yuan <yyu...@uncc.edu>:
>
>> Hello,
>>
>> I want to get the person stage so I run  *traci.person.getEdges(ped_set[i],
>> 0))*,
>> and I get : Stage(type=0, edges=('46610727#2',), travelTime=INVALID,
>> cost=INVALID, length=0.0, depart=INVALID, departPos=INVALID,
>> arrivalPos=37.71, description=waiting (awaiting departure))
>> While in the SUMO document it says that the function will return the type
>> of nth next stage and nothing else, so I was wondering did the function be
>> changed?
>> Also, is there any way to get the stage type (the number) only?
>>
>> Thank you!
>> Rachael
>>
>>
>> _______________________________________________
>> sumo-user mailing list
>> sumo-user@eclipse.org
>> To unsubscribe from this list, visit
>> https://www.eclipse.org/mailman/listinfo/sumo-user
>>
> _______________________________________________
> sumo-user mailing list
> sumo-user@eclipse.org
> To unsubscribe from this list, visit
> https://www.eclipse.org/mailman/listinfo/sumo-user
>
_______________________________________________
sumo-user mailing list
sumo-user@eclipse.org
To unsubscribe from this list, visit 
https://www.eclipse.org/mailman/listinfo/sumo-user

Reply via email to