You can use getLeftLeaders and getRightLeaders for this.

Am Di., 16. Feb. 2021 um 03:34 Uhr schrieb Mariam Wessam Hassan Mohamed
Nour <[email protected]>:

> Hello,
>
>
>
> I was wondering is there a way to retrieve the lead or/and lag gaps
> between vehicles during a lane change?
>
>
>
> I’ve been trying to use the getLeader function (while using the sublane
> model) and testing using a simple example to compare the outputs with the
> lane changes I visualize. But from what I can observe, the leader vehicle
> is retrieved once the lane change is complete and not during.
>
>
>
> Is there something I’m missing? Or is there a better way to get this kind
> of information?
>
>
>
> Thanks,
>
> Mariam
> _______________________________________________
> 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