mockingbirdnest / Principia

𝑛-Body and Extended Body Gravitation for Kerbal Space Program
MIT License
770 stars 70 forks source link

Misalignment of components occurs during the launch phase. #3718

Closed Aebestach closed 1 year ago

Aebestach commented 1 year ago

2f3b4eb264d6a72a9183af14ced98e9e

image

image mod list

HI. When I am using KcalbelohSystem and Principia, during the launch phase, when launching the rocket, the parts are misaligned. Log.Here's my log file, looking forward to a reply.

pleroy commented 1 year ago

From the Kcalbeloh README:

Kcalbeloh System is NOT compatible with:

* Principia

If the mod author did not make it compatible with Principia, surely you don't expect us to fix that?

Browsing through the configurations I see, for the home world:

semiMajorAxis = 2.718E14

This is extremely large, about 1800 AU (I think that's the point of the mod). At that distance one unit of the last place (ulp) of double is about 3 cm. Sure enough, the integration errors will be in the dozens of ulp, and will result in misplacements of tens of centimetre.

Principia was designed to work fine up to the distance of Pluto and possibly Eris. Farther than that, numerical inaccuracies will cause trouble.

Aebestach commented 1 year ago
Kcalbeloh System is NOT compatible with:

* Principia

In the first few beta versions of the Kcalbeloh System, there were corresponding Principia configurations, and volunteers have written corresponding configurations for it. I have tried these and found that the phenomenon of part displacement still exists.

Then maybe this problem is brought about by numerical inaccuracies.