Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
[sumo-user] correct way to use car following model in traci

Hi,
 
I am trying to reuse the default Krauss car following model in the SUMO by traci, but I cannot understand whether it is correct.
 
Does the speed in the Krauss car following model is
"min(traci.vehicle.getFollowSpeed(vehid, speed, gap, leader_vehid, max_deceleration), traci.vehicle.getStopSpeed(vehid, speed, gap))"?
 
It seems not correct as the speed outputed by "getStopSpeed()" is quite small, and no acceleration limit are considered in "getStopSpeed()". In the function "getStopSpeed()", parameter speed is the current speed for vehid, is the gap the current gap with repect to the leading vehicle?

Back to the top