Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [sumo-user] Retrieving lead/lag gaps during lane change

You can use getLeftLeaders and getRightLeaders for this.

Am Di., 16. Feb. 2021 um 03:34 Uhr schrieb Mariam Wessam Hassan Mohamed Nour <mariam.nour@xxxxxxxxxxxxxxx>:

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
sumo-user@xxxxxxxxxxx
To unsubscribe from this list, visit https://www.eclipse.org/mailman/listinfo/sumo-user

Back to the top