Preserve the history of destroyed vessels for future viewing

This issue has been tracked since 2022-12-31.

Scripsit @lpgagnon:

After about a year, the moon ate my first moon orbiter while I wasn't looking. As I try to find an older save from which I can watch the end, I wonder: would it be possible to preserve the history of destroyed vessels for future viewing?

Relatedly, it would be nice to not lose all history upon landing.

Now that we have solved #2400 once and for all—but—Once and for all!, we should be able to do that without ridiculously enlarging saves. We already have zombies, this would be a matter of adding more stuff to them, and coming up with a way to look at that in the case of destroyed vessels.

// Contains the adaptive step parameters for the vessel that existed in the
// past but are no longer known to the plugin. Useful to avoid losing the
// parameters, e.g., when a vessel hits the ground.
// NOTE(phl): This is a leaky map, in the sense that we don't remove deleted
// vessels from it. Hopefully it's small enough that we don't care.
std::map<GUID, Ephemeris<Barycentric>::AdaptiveStepParameters>
zombie_prediction_adaptive_step_parameters_;

eggrobin wrote this answer on 2023-01-01

(It is amusing to note that looking at such zombie trajectories could require reanimation.)

More Details About Repo
Owner Name mockingbirdnest
Repo Name Principia
Full Name mockingbirdnest/Principia
Language C++
Created Date 2014-02-08
Updated Date 2023-03-29
Star Count 664
Watcher Count 29
Fork Count 62
Issue Count 109

YOU MAY BE INTERESTED

Issue Title Created Date Updated Date