1)
a) you can use <vType>-attribute *lcOpposite="0"* to disable automatic
opposite direction driving
b) you can use laneChangeMode to disable the interaction between the
laneChange model and traci:
https://sumo.dlr.de/docs/TraCI/Change_Vehicle_State.html#lane_change_mode_0xb6

2) I don't think this is a Veins issue but rather the laneChange model at
work (and possible a bug in the way that the duration argument is
interpreted for opposite-direction driving). The answers to 1) should take
care of this.

regards,
Jakob

Am Do., 2. Jan. 2020 um 17:07 Uhr schrieb Tiago Silva <
[email protected]>:

> 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: 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
> _______________________________________________
> sumo-user mailing list
> [email protected]
> To change your delivery options, retrieve your password, or unsubscribe
> from this list, visit
> https://www.eclipse.org/mailman/listinfo/sumo-user
>
_______________________________________________
sumo-user mailing list
[email protected]
To change your delivery options, retrieve your password, or unsubscribe from 
this list, visit
https://www.eclipse.org/mailman/listinfo/sumo-user

Reply via email to