Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [sumo-user] Parallel Vehicles

you can use vehicle.subscribeContext to retrieve surrounding vehicles in a small radius and you can furthermore use
vehicle.addSubscriptionFilterLCManeuver to restrict the retrieved vehicles to the adjacent lanes.

Am Mo., 9. Jan. 2023 um 21:26 Uhr schrieb Jordan Poots <jordan.poots@xxxxxxxxxxx>:

I am looking to see if there are any vehicles exactly parallel to me in an adjacent lane. Currently I am using a for loop over ids in the edge and comparing positions with the vehicle in question.

Is there a better way of doing this?


sumo-user mailing list
To unsubscribe from this list, visit

Back to the top