sumo
sumo copied to clipboard
Meso-fcd output position interpolate in all outputs
A new PR that I hope is a complete and correct version for https://github.com/eclipse-sumo/sumo/pull/16901
can I push this PR @behrisch? If modifications are needed I am happy to do so.
I finally managed to have a look. We still have several issues here:
- 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.
- 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.
- Do we want to keep the old behavior available optionally?
- The unrelated speedRelative should not be part of this PR.
I started a branch here: https://github.com/eclipse-sumo/sumo/tree/refs/heads/interpolated_meso