sumo icon indicating copy to clipboard operation
sumo copied to clipboard

Meso-fcd output position interpolate in all outputs

Open aminissn opened this issue 2 months ago • 3 comments

A new PR that I hope is a complete and correct version for https://github.com/eclipse-sumo/sumo/pull/16901

aminissn avatar Oct 08 '25 22:10 aminissn

can I push this PR @behrisch? If modifications are needed I am happy to do so.

aminissn avatar Nov 13 '25 08:11 aminissn

I finally managed to have a look. We still have several issues here:

  1. The GUI calculation is still different because it takes into account the position of the downstream vehicle to avoid vehicle positions being not increasing. If we want to do that we probably need caching of vehicle positions because we do not want to recalculate the whole edge for every vehicle.
  2. Angle and (longitudinal) lane position are not in sync with the x,y pos after the change. We should try to avoid this. While the angle is probably not so relevant there is even a remark in the code that interpolating the lane position can cause problems.
  3. Do we want to keep the old behavior available optionally?
  4. The unrelated speedRelative should not be part of this PR.

behrisch avatar Dec 09 '25 13:12 behrisch

I started a branch here: https://github.com/eclipse-sumo/sumo/tree/refs/heads/interpolated_meso

behrisch avatar Dec 09 '25 15:12 behrisch