The simplest approach would be to move the vehicle to the correct longitudinal position using speed adjustments and then force the change by setting laneChangeMode to disregard gaps and calling changeLane.
Am Mi., 3. März 2021 um 20:46 Uhr schrieb MohamadReza-Haghani < [email protected]>: > Hi, > > I intend to write a code in TraCI to order a vehicle to change lane and > move > to a free space between two specific vehicles in the target lane. I was > wondering to know what command is appropriate for this purpose. Using the > "changeLane" command, vehicles would change lane, but it is not guarantied > that the vehicle would move to a predefined space between other vehicles. I > appreciate in advance for your help. > > Regards, > Reza. > > > > -- > Sent from: http://sumo-user-mailing-list.90755.n8.nabble.com/ > _______________________________________________ > sumo-user mailing list > [email protected] > To unsubscribe from this list, visit > https://www.eclipse.org/mailman/listinfo/sumo-user >
_______________________________________________ sumo-user mailing list [email protected] To unsubscribe from this list, visit https://www.eclipse.org/mailman/listinfo/sumo-user
