Hello,
there is no direct equivalent to lanechange-output via TraCI. You can piece
together most the information with successive calls to
- vehicle.getLaneID / getLaneIndex to track whether a lane change has
occurred (some care must be taken if the vehicle changes it's edge and it's
lane in the same step)
- vehicle.getLaneChangeState
- vehicle.getLeader / vehicle.getFollower

regards,
Jakob

Am Mo., 8. Nov. 2021 um 02:45 Uhr schrieb Pradeep Viyaluru Harinath <
[email protected]>:

> Hello All,
>
> I am using traci to run my simulation. I would like to know how to obtain
> the “lane change output” written into a file using traci. I know when I use
> the command prompt I am able to get the results using
> –lanechange-output<file> but I wanted to know how to obtain using traci.
>
>
>
> Regards,
>
> V.H.Pradeep
> _______________________________________________
> 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