Hello,

I am currently using the Krauss model for car-following following a very
simple 2-lane scenario. When I use the *traci.vehicle.getLeader*(vehID=vh,
dist=0.0) command, for a vehicle *f.1*, I get the output *('f.0',
1.0995103573504839) *- which is telling me that it is ~1.1m in front of the
vehicle *f.1.*

>From what I can tell, it is calculating this value from
Front bumper position of vehicle f.0 - Front bumper position of vehicle f.1
- Length of vehicle f.0 - Default mingap (2.5 m) = 13.70 - 5.10 - 5.0 - 2.5
= *1.1m*

Is my understanding correct? So if I want the actual distance between the
ego vehicle's front bumper and the leader vehicle's back bumper, I need to
add the value of "minGap"? Is the "dist" parameter related to this?

Thank you.
Sincerely,
Hriday.
_______________________________________________
sumo-user mailing list
[email protected]
To unsubscribe from this list, visit 
https://www.eclipse.org/mailman/listinfo/sumo-user

Reply via email to