Hi Alessandro, if you use the default Krauss model the vehicles should always respect the minGap except for rare circumstances which trigger emergency breaking (missing or short yellow phases in traffic lights for instance). Can you send a small example?
Best regards, Michael Am 26.07.2017 um 11:00 schrieb Alessandro Virgilio via sumo-user: > Hi, I have a question about the minGap attribute and the output given by the > method getLeader in Traci for python. > > > I defined two vehicle types, giving some attributes and the mingap. Then, for > each simulated vehicle, I extracted the distance with the leading vehicle, > using the method getLeader. > > > Sometimes it happens that the distance with the leading vehicle is less than > the specified minGap. I can't understand if it's a bug or I misunderstood the > meaning of the minGap attribute. Is it applied only with vehicles stuck in > traffic jam? In this case, is there any way to define a minum distance to > keep for each vehicle during the simulation? > > > Using sumo 0.30.0 and python 2.7 > > Thank You. > > > Regards, > Alessandro V > ------------------------------------------------------------------------------ > Check out the vibrant tech community on one of the world's most > engaging tech sites, Slashdot.org! http://sdm.link/slashdot > _______________________________________________ > sumo-user mailing list > [email protected] > https://lists.sourceforge.net/lists/listinfo/sumo-user >
signature.asc
Description: OpenPGP digital signature
------------------------------------------------------------------------------ Check out the vibrant tech community on one of the world's most engaging tech sites, Slashdot.org! http://sdm.link/slashdot
_______________________________________________ sumo-user mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/sumo-user
