vehicle.changeSublane(vehID, latDist) overrules all other parameters in the step when it is called. You can use traci.vehicle.laneChangeMode to enable/disable lane change motivations for the vehicle so that it stays at the same lateral position thereafter. See https://sumo.dlr.de/docs/TraCI/Change_Vehicle_State.html#lane_change_mode_0xb6
Am Do., 23. Dez. 2021 um 11:39 Uhr schrieb ali mirzaei <[email protected] >: > Does this mean that all lane-changing-model attributes like lcPushy, > lcSublane,... are covered by latDist component? > > On Thu, Dec 23, 2021 at 1:50 PM Jakob Erdmann <[email protected]> > wrote: > >> traci.vehicle.changeSublane gives full lateral control. >> >> Am Do., 23. Dez. 2021 um 11:12 Uhr schrieb ali mirzaei < >> [email protected]>: >> >>> Hi everyone, >>> Is it possible to change the vehicle behavior when lane changing via >>> TraCI methods (like what we do when using sublane models)? >>> Best, >>> Ali >>> >>> _______________________________________________ >>> 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 >> > _______________________________________________ > 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
