Veins version 5 is compatible with SUMO 1.2. which already uses TraCI API version 20. I recommend upgrading Veins. http://veins.car2x.org/documentation/upgrading/
Am Do., 9. Jan. 2020 um 17:26 Uhr schrieb Tiago Silva < [email protected]>: > Dear Jakob, > > Thanks for your explanation. I made a mistake. In my first email I said > i'm using the SUMO 1.2.0 but in fact Veins is only compatible with SUMO > 1.0.1 and I am using this version. I noticed that even using the attribute > *lcOpposite="0" *the vehicles remains performing overtakings in SUMO > 1.0.1. > To test, I run my network in SUMO 1.4.0 and noticed that in this version > the attribute *lcOpposite="0" *works fine and no overtakings occurs. But > when I run Veins with SUMO 1.4.0 the following error occurs: > > [image: image.png] > > I think the best approach is to find the change that corrects this > behavior and applies in version supported by Veins TraCI interface > (generating a new version 1.0.1 with the fix applied). The other option is > to adapt the interface to support SUMO 1.4.0. The problem is that is > approach requires many more changes. What is your opinion on these > approaches and what might be the best way to solve this problem? > > Thanks in advance! > > Em qui., 2 de jan. de 2020 às 18:28, Jakob Erdmann <[email protected]> > escreveu: > >> 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 >> > > > -- > 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
