plexe

How to disable lane changes in SuMO?

假如想象 提交于 2019-12-12 19:48:47
问题 I am using a TraCI call to set the lane change mode of a vehicle to 0 to disable all lane changing: TraCICommandInterface::setLaneChangeMode(0b000000000000); However, the vehicle still does a lane change afterwards. I also tried 256 (i.e. 0b000100000000 and 512 (i.e. 0b001000000000 ) as indicated in the wiki or in this post. It seems that the executed lane change action was queued earlier (i.e. before the TraCI call), because the vehicle is flashing its turn light, and could not be executed