Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
[sumo-user] Ovetaking via TraCI

Hello!

I'm developing a Veins application to control the overtaking maneuver of vehicles in a road with 2 single lane with opposite direction routes in SUMO 1.2.0:

image.png
Blue vehicles must overtake red vehicle and avoid collision with green vehicles (that travel in the opposite direction). I would like to trigger overtaking maneuver via TraCI (from Veins, using V2V to get environment awareness). But I'm having two issues that I would like a suggestion from you:

1. To perform the overtaking, I include the 'neigh' information in the network. With this, Sumo perform automatically the overtaking of some vehicles. Is there any way to disable automatic overtaking in Sumo so that only TraCI overtaking occurs?

2. When I trigger the overtaking via changeLaneRelative TraCI command, in some cases, the vehicle starts jumping between the current line and the opposite line several times. I tracked the submission of the command and it is occurring only once. Is there a mechanism in Veins that forces the vehicle back to its current lane even before the changeLaneRelative timeout?

Thanks in advance!

--
Att.
Tiago Alves Silva

Back to the top