You can force and prohibit lane changes by setting laneChangeMode: https://sumo.dlr.de/docs/TraCI/Change_Vehicle_State.html#lane_change_mode_0xb6 For even more fine grained control of trajectories from gps data, consider using moveToXY.
Am Mi., 24. Aug. 2022 um 04:01 Uhr schrieb sri valli <[email protected] >: > > - I need to change lane at a location using gps coordinates I specify > .But by just using *“traci.vehicle.lanechange”* I’m not able to > change lane . > - I have two vehicles on two adjacent lanes.one vehicle has 20km/hr > max speed on lane 0 and other 30km/hr speed on lane1. I want to change > 20km/hr vehicle in to lane having 30km/hr car. But even if I don’t use > *“traci.vehicle.lanechange”* sumo is changing lane. How to avoid this > - How to change lane using traci api instead of vtype parameters like > *lcStrategic > lcSpeedGain lcKeepRight lcCooperative* > - I don’t want lane change done by sumo but I should have control > using Traci script.How to achieve? > > _______________________________________________ > 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
