You could accomplish this by setting changeLeft="custom1" and changing the vClass of the vehicles to "custom1" after the accident - via traci.vehicle.setVehicleClass - via traci.vehicleType.setVehicleClass - via a type calibrator that switches the vehicles to a type with another vClass: https://sumo.dlr.de/docs/Simulation/Calibrator.html#calibrating_vehicle_types
regards, Jakob Am So., 18. Juli 2021 um 08:44 Uhr schrieb q kevin <[email protected]>: > In order to simulate the traffic in the tunnel, it is forbidden to change > lanes, I use changeLeft and changeRight to set the forbidden lane-change in > the net file. > But I want to know how to simulate a lane accident, the subsequent > vehicles need to change lane operation?That is to say, I need to make the > vehicle lane change in the simulation, although I set it with changeleft > and changeright in the net file > _______________________________________________ > 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
