Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [sumo-user] Car following model issues

you can use traci functions vehicle.getLeader andvehicle.setTau to detect the relevant situation and adjust headways for all vehicles in the scenario.
see also https://sumo.dlr.de/docs/Simpla.html

Am Mi., 26. Juni 2024 um 14:09 Uhr schrieb Ayomide Afolabi via sumo-user <sumo-user@xxxxxxxxxxx>:
Hello everyone, 

How do I use traci to solve this problem? 

First, I have 2 vehicle types in route file (CV and HV), but I want to specify headgap that I either adjust using traci when running my simulation based on the different scenarios of the vehicle type following each other. 

1. CV following CV
2. HV following HV
3. HV following CV
4. CV following HV


Thanks. 
_______________________________________________
sumo-user mailing list
sumo-user@xxxxxxxxxxx
To unsubscribe from this list, visit https://www.eclipse.org/mailman/listinfo/sumo-user

Back to the top