Hi,

To simulate a crashed vehicle holding up a lane, when I catch a  
teleported vehicle, I re-insert it at its previous position, with a  
small route and zero speed.

I've set up a dedicated vehicle type for this, mainly so that I can  
show it in a unique colour, but it does mean I can play with vehicle  
parameters too.

The problem I have, is that I think the 'safe distance' metric might  
be kicking in but in a more extreme way than usual? For some reason I  
seem to need about 9 to 10 seconds gap between vehicles, compared to  
inserting vehicles into the road network normally which is around 2-3  
seconds gap.

I've tried changing minGap in case this made a difference, but doesn't  
seem to. The only unique thing I can think of is that I insert the  
'crashed' vehicle back with a speed of 0.

The weirder thing, is that if the gap is approx 8 seconds, it seems  
insufficient, and so a number of vehicles go past the location I wish  
to re-insert the crashed vehicle, but then all of a sudden it will  
insert, maybe 2-3 seconds ahead of another vehicle.

I'm a bit stuck, the only workaround I have at the moment is to make  
sure there is a large gap behind any vehicle that is likely to crash,  
so that it can be inserted, which isn't so realistic.

Thanks

Vincent



------------------------------------------------------------------------------
_______________________________________________
sumo-user mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/sumo-user

Reply via email to