Hello,
during the simulation, you can use traci.person.getStage to access past,
current and future stage information including the destination busStop of
each stage (which is the origin stop for the subsequent stage).
regards,
Jakob

Am Do., 7. Mai 2020 um 08:36 Uhr schrieb Tripplanner Mumbai <
[email protected]>:

> Hello,
> I am trying to capture the origin and destination bus stops of each
> passenger (or on aggregate for a group) and issue tickets accordingly. I
> found that <stopinfo> has information about the line, number of passengers
> boarded and the source bus stop, as given below.
>
> <stopinfo id="bus_14.3" type="bus" lane="109[1][0]+20003_1" pos="30.31"
> parking="0" started="983.00" ended="1080.00" delay="0.00"
> initialPersons="18" loadedPersons="3" unloadedPersons="12"
> initialContainers="0" loadedContainers="0" unloadedContainers="0"
> busStop="busStop#34"/>
>
> Also, it can be noted that <person> has information about the destination
> stop while riding, as given below.
>
> <person id="3" depart="1.20" color="red">
>
>      <walk edges="82 53[0] 78[1][1] 189[0] 189[1][0]+20000"
> busStop="busStop#31"/>
>
>      <ride busStop="busStop#33" lines="14"/>
>
> </person>
>
>
> Now, the question is how to capture both origin and destination
> information while the simulation is going on. Just like the stop
> information, is there any way to generate the ticket information.
>
>
> regards,
>
> Dillip Rout
> _______________________________________________
> 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