you can use the sublane model and call traci.vehicle.changeSublane or you can use traci.vehicle.moveToXY for full trajectory control.
Am Mi., 2. Sept. 2020 um 12:21 Uhr schrieb Li Tang <[email protected]>: > Hi Jakob > > Thanks for your reply. However after checking the documents, is it > possible that we can manually control the trajectory time step by time step > in SUMO? Since *changeLane*(self, vehID, laneIndex, duration) only > contain the duration and laneIndex, we would like to control the vehicle to > follow a specific trajectory to do the lane-changing behavior. > > Best regards > > Li > On Mon, Aug 31, 2020 at 3:03 AM Jakob Erdmann <[email protected]> > wrote: > >> Hello, >> the easiest way is to connect your machine learning algorithm via the >> TraCI-API and disable all or part of the build-in lane-changing algorithm: >> https://sumo.dlr.de/docs/TraCI.html >> >> https://sumo.dlr.de/docs/TraCI/Change_Vehicle_State.html#lane_change_mode_0xb6 >> the relevant call is traci.vehicle.changeLane >> >> regards, >> Jakob >> >> Am Fr., 28. Aug. 2020 um 19:33 Uhr schrieb Li Tang <[email protected]>: >> >>> Hi >>> >>> I am doing a project about analyzing a new machine-learning based >>> lane-changing model. I am wondering if and how SUMO can manually change the >>> default lane-changing model to our new model because we searched on the >>> website we barely found related topics. Could someone who is good at SUMO >>> can help us with this? This is the first time for us to use SUMO, we use >>> Vissim previously. >>> >>> -- >>> Best >>> >>> Li >>> _______________________________________________ >>> 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 >> > > > -- > Best > > Li > _______________________________________________ > 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
