Dear Simon,
the FCD data is already sorted by the vehicle position on the edge. The
"pos" value indicates the position along the given edge, where higher
values indicate a more downstream position. So you can take the values of
two subsequent rows to calculate what you weant. You'd have to get the
vehicle length from the vehicle type definition to determine the net
distance.
Best regards
Mirko
-----Original-Nachricht-----
Betreff: distance gap determination
Datum: 2023-11-01T08:34:22+0100
Von: "Simon Hailemichael" <[email protected]>
An: "Mirko Barthauer" <[email protected]>
Dear Sir
My name is Simon. I am working on SUMO and I have generated FCD output
which has ( X, Y , speed ,acceleration etc) .
However, I am facing a challenge in calculating the distance gap and time
gap between the leading vehicle and the following vehicle. Could you please
advise me on how to do this from the given data? I would appreciate your
guidance and support. I have attached a sample screenshot of the output
data for your reference.
--
Simon Michael
Road and Transport Engineer
Tell:+8613194998145
_______________________________________________
sumo-user mailing list
[email protected]
To unsubscribe from this list, visit
https://www.eclipse.org/mailman/listinfo/sumo-user