Files
orbital-test/visual_test.py
Lucy e2c706ecb0 Fix: recompute sun-frame trail and SOI crossings after flyby
After SOI exit the asteroid has new orbital elements (gravity assist).
Previously the old trail and crossing predictions were never updated,
causing three bugs:
  1. Old trajectory still drawn after exit
  2. Next SOI entry time based on stale orbit
  3. Subsequent SOI entries never triggered

Now on exit: recompute trail, rescans for future SOI crossings,
and resets the crossing index.
2026-05-21 20:35:17 +02:00

14 KiB