Jump to content

[WIP][1.8.1, 1.9.1, 1.10.1] Principia—version Гельфанд, released 2020-11-15—n-Body and Extended Body Gravitation, axial tilt


Recommended Posts

For the new moon (lunation number 254), the new release (Gallai) is out.

  • As previously announced, this release dose not support KSP 1.7.3 and earlier.
  • A rebase button has been added to the flight plan, to take changes to the actual trajectory into account without having to recreate the flight plan.
  • Altitude-related information has been added to the orbit analyser.
  • A number of bugs have been addressed: EVA collision leading to absurd movement, EVA parachutes being broken, vessels disintegrating at absurd speeds, vessels deforming when coming out of warp.

See the change log for more details.

For the convenience of our Chinese users, the binaries can be downloaded either from Google Drive or from 腾讯微云.

Link to post
Share on other sites

Gallai is not playing nice with my 1.8.1 Realism Overhaul install. I simulated Lunar landings with KRASH and noticed that orbit line is stationary and the Moon moves away from it. When I managed to land my craft instantly started sliding across the surface at exactly 120 m/s before getting destroyed.

https://imgur.com/a/15Ecyqe

There's no problem without Principia, but I cannot check with past versions of Principia because there's no more download links to older versions.

 

Link to post
Share on other sites
3 minutes ago, viktor19 said:

I simulated Lunar landings with KRASH

Well, that might be your problem. KRASH, like anything else that manipulates vessel positions, doesn't play well with Principia. The mod keeps track of vessels itself and will vehemently deny anything that messes with vessels.

Link to post
Share on other sites
19 minutes ago, viktor19 said:

There's no problem without Principia, but I cannot check with past versions of Principia because there's no more download links to older versions.

Older versions can be found by looking at the history of the README file on github.

Edited by pleroy
Typo.
Link to post
Share on other sites
29 minutes ago, Delay said:

Well, that might be your problem. KRASH, like anything else that manipulates vessel positions, doesn't play well with Principia. The mod keeps track of vessels itself and will vehemently deny anything that messes with vessels.

Thanks for the input. I suspected that, but KRASH worked well with Principia on 1.7.3.

Link to post
Share on other sites
1 hour ago, MAFman said:

I tried Principia, and it crashed. What's going on?

That's an extremely unhelpful report. It's like saying, "I was walking down the road and now my arm is bruised, what's going on?" I don't know, a hundred different things, maybe you hit a power pole with it or a car drove over it, or it was bruised all along but you just noticed...

Nobody can and will help you unless you properly describe what you were trying to do, how that thing didn't happen the way you expected, what went wrong and, if needed, provide the logs.

Link to post
Share on other sites
54 minutes ago, scimas said:

That's an extremely unhelpful report. It's like saying, "I was walking down the road and now my arm is bruised, what's going on?" I don't know, a hundred different things, maybe you hit a power pole with it or a car drove over it, or it was bruised all along but you just noticed...

Nobody can and will help you unless you properly describe what you were trying to do, how that thing didn't happen the way you expected, what went wrong and, if needed, provide the logs.

The game loaded completely, then suddenly crashed. I'll post the logs a little later.

Log file created at: 2020/07/21 18:06:55
Running on machine: GAMING-MACHINE
Log line format: [IWEF]mmdd hh:mm:ss.uuuuuu threadid file:line] msg
E0721 18:06:55.599108 10992 interface.cpp:697] Initialized Google logging for Principia
E0721 18:06:55.600087 10992 interface.cpp:698] Principia version 2020072018-Gallai-0-ga56778444f09dbc86882d677c08a7b2c58d3bed2 built on 2020-07-15T19:27:44Z by Microsoft Visual C++ version 192628806 for Windows x86-64
E0721 18:06:55.600087 10992 interface.cpp:711] Base address is 00007FFC3AD90000
    @   00007FFC7DC863EF  	google::LogMessageFatal::~LogMessageFatal [0x00007FFC7DC863EE+46]
    @   00007FFC3AE2B233  	principia__LogFatal [0x00007FFC3AE2B232+322]
    @   0000021B0A1A35C8  	(No symbol) [0x0000021B0A1A35C7]
F0721 18:06:55.604099 10992 ksp_plugin_adapter.cs:286] Unexpected KSP version 1.10.0; this build targets 1.8.1 and 1.9.1.
Log file created at: 2020/07/21 18:06:55
Running on machine: GAMING-MACHINE
Log line format: [IWEF]mmdd hh:mm:ss.uuuuuu threadid file:line] msg
    @   00007FFC7DC863EF  	google::LogMessageFatal::~LogMessageFatal [0x00007FFC7DC863EE+46]
    @   00007FFC3AE2B233  	principia__LogFatal [0x00007FFC3AE2B232+322]
    @   0000021B0A1A35C8  	(No symbol) [0x0000021B0A1A35C7]
F0721 18:06:55.604099 10992 ksp_plugin_adapter.cs:286] Unexpected KSP version 1.10.0; this build targets 1.8.1 and 1.9.1.
Log file created at: 2020/07/21 18:06:55
Running on machine: GAMING-MACHINE
Log line format: [IWEF]mmdd hh:mm:ss.uuuuuu threadid file:line] msg
E0721 18:06:55.599108 10992 interface.cpp:697] Initialized Google logging for Principia
E0721 18:06:55.600087 10992 interface.cpp:698] Principia version 2020072018-Gallai-0-ga56778444f09dbc86882d677c08a7b2c58d3bed2 built on 2020-07-15T19:27:44Z by Microsoft Visual C++ version 192628806 for Windows x86-64
E0721 18:06:55.600087 10992 interface.cpp:711] Base address is 00007FFC3AD90000
    @   00007FFC7DC863EF  	google::LogMessageFatal::~LogMessageFatal [0x00007FFC7DC863EE+46]
    @   00007FFC3AE2B233  	principia__LogFatal [0x00007FFC3AE2B232+322]
    @   0000021B0A1A35C8  	(No symbol) [0x0000021B0A1A35C7]
F0721 18:06:55.604099 10992 ksp_plugin_adapter.cs:286] Unexpected KSP version 1.10.0; this build targets 1.8.1 and 1.9.1.
Log file created at: 2020/07/21 18:06:55
Running on machine: GAMING-MACHINE
Log line format: [IWEF]mmdd hh:mm:ss.uuuuuu threadid file:line] msg
E0721 18:06:55.599108 10992 interface.cpp:697] Initialized Google logging for Principia
E0721 18:06:55.600087 10992 interface.cpp:698] Principia version 2020072018-Gallai-0-ga56778444f09dbc86882d677c08a7b2c58d3bed2 built on 2020-07-15T19:27:44Z by Microsoft Visual C++ version 192628806 for Windows x86-64
E0721 18:06:55.600087 10992 interface.cpp:711] Base address is 00007FFC3AD90000
    @   00007FFC7DC863EF  	google::LogMessageFatal::~LogMessageFatal [0x00007FFC7DC863EE+46]
    @   00007FFC3AE2B233  	principia__LogFatal [0x00007FFC3AE2B232+322]
    @   0000021B0A1A35C8  	(No symbol) [0x0000021B0A1A35C7]
F0721 18:06:55.604099 10992 ksp_plugin_adapter.cs:286] Unexpected KSP version 1.10.0; this build targets 1.8.1 and 1.9.1.

 

The problem seems to be that this version isn't built for 1.10.

Link to post
Share on other sites
2 hours ago, MAFman said:

The game loaded completely, then suddenly crashed. I'll post the logs a little later.

Log file created at: 2020/07/21 18:06:55
Running on machine: GAMING-MACHINE
Log line format: [IWEF]mmdd hh:mm:ss.uuuuuu threadid file:line] msg
E0721 18:06:55.599108 10992 interface.cpp:697] Initialized Google logging for Principia
E0721 18:06:55.600087 10992 interface.cpp:698] Principia version 2020072018-Gallai-0-ga56778444f09dbc86882d677c08a7b2c58d3bed2 built on 2020-07-15T19:27:44Z by Microsoft Visual C++ version 192628806 for Windows x86-64
E0721 18:06:55.600087 10992 interface.cpp:711] Base address is 00007FFC3AD90000
    @   00007FFC7DC863EF  	google::LogMessageFatal::~LogMessageFatal [0x00007FFC7DC863EE+46]
    @   00007FFC3AE2B233  	principia__LogFatal [0x00007FFC3AE2B232+322]
    @   0000021B0A1A35C8  	(No symbol) [0x0000021B0A1A35C7]
F0721 18:06:55.604099 10992 ksp_plugin_adapter.cs:286] Unexpected KSP version 1.10.0; this build targets 1.8.1 and 1.9.1.
Log file created at: 2020/07/21 18:06:55
Running on machine: GAMING-MACHINE
Log line format: [IWEF]mmdd hh:mm:ss.uuuuuu threadid file:line] msg
    @   00007FFC7DC863EF  	google::LogMessageFatal::~LogMessageFatal [0x00007FFC7DC863EE+46]
    @   00007FFC3AE2B233  	principia__LogFatal [0x00007FFC3AE2B232+322]
    @   0000021B0A1A35C8  	(No symbol) [0x0000021B0A1A35C7]
F0721 18:06:55.604099 10992 ksp_plugin_adapter.cs:286] Unexpected KSP version 1.10.0; this build targets 1.8.1 and 1.9.1.
Log file created at: 2020/07/21 18:06:55
Running on machine: GAMING-MACHINE
Log line format: [IWEF]mmdd hh:mm:ss.uuuuuu threadid file:line] msg
E0721 18:06:55.599108 10992 interface.cpp:697] Initialized Google logging for Principia
E0721 18:06:55.600087 10992 interface.cpp:698] Principia version 2020072018-Gallai-0-ga56778444f09dbc86882d677c08a7b2c58d3bed2 built on 2020-07-15T19:27:44Z by Microsoft Visual C++ version 192628806 for Windows x86-64
E0721 18:06:55.600087 10992 interface.cpp:711] Base address is 00007FFC3AD90000
    @   00007FFC7DC863EF  	google::LogMessageFatal::~LogMessageFatal [0x00007FFC7DC863EE+46]
    @   00007FFC3AE2B233  	principia__LogFatal [0x00007FFC3AE2B232+322]
    @   0000021B0A1A35C8  	(No symbol) [0x0000021B0A1A35C7]
F0721 18:06:55.604099 10992 ksp_plugin_adapter.cs:286] Unexpected KSP version 1.10.0; this build targets 1.8.1 and 1.9.1.
Log file created at: 2020/07/21 18:06:55
Running on machine: GAMING-MACHINE
Log line format: [IWEF]mmdd hh:mm:ss.uuuuuu threadid file:line] msg
E0721 18:06:55.599108 10992 interface.cpp:697] Initialized Google logging for Principia
E0721 18:06:55.600087 10992 interface.cpp:698] Principia version 2020072018-Gallai-0-ga56778444f09dbc86882d677c08a7b2c58d3bed2 built on 2020-07-15T19:27:44Z by Microsoft Visual C++ version 192628806 for Windows x86-64
E0721 18:06:55.600087 10992 interface.cpp:711] Base address is 00007FFC3AD90000
    @   00007FFC7DC863EF  	google::LogMessageFatal::~LogMessageFatal [0x00007FFC7DC863EE+46]
    @   00007FFC3AE2B233  	principia__LogFatal [0x00007FFC3AE2B232+322]
    @   0000021B0A1A35C8  	(No symbol) [0x0000021B0A1A35C7]
F0721 18:06:55.604099 10992 ksp_plugin_adapter.cs:286] Unexpected KSP version 1.10.0; this build targets 1.8.1 and 1.9.1.

 

The problem seems to be that this version isn't built for 1.10.

You solved it yourself, principia is not yet available for ksp 1.10

Link to post
Share on other sites

Hello,

I've been writing configuration files for the JNSQ planet pack to implement axial tilt to the planets and change the moons' orbits and axial tilts accordingly. The orbits and tilts obtained are correct ; however, i've just noticed that the rotation of moons tidally locked to their parents fall out of sync, despite the fact that tidal locking is set to True. They all have in common that their axial tilts were edited.

Here is part of the code for the orbit patches:

@Kopernicus:FOR[JNSQ]
{
    @Body:HAS[#name[Mun]]
    {
        @Orbit
        {
            @longitudeOfAscendingNode = 89.12579
            @inclination = 23.85602
            @argumentOfPeriapsis = 120.80061
        }
        @Properties
        {
            %tidallyLocked:NEEDS[Principia] = True
        }
    }
    @Body:HAS[#name[Minmus]]
    {
        @Orbit
        {
            @longitudeOfAscendingNode = 86.83435
            @inclination = 29.33432
            @argumentOfPeriapsis = 302.83890
        }
        @Properties
        {
            %tidallyLocked:NEEDS[Principia] = True
        }
    }
}

Here are the corresponding axial tilt patches:

principia_gravity_model:NEEDS[JNSQ] {
    body {
        name                    = Kerbin
        reference_instant       = JD2451545.000000000
        axis_right_ascension    = 0 deg
        axis_declination        = 66.5 deg
        reference_angle         = 0 deg

    }
    body {
        name                    = Mun
        reference_instant       = JD2451545.000000000
        axis_right_ascension    = -0.87421 deg
        axis_declination        = 66.14398 deg
        reference_angle         = 0 deg
    }
    body {
        name                    = Minmus
        reference_instant       = JD2451545.000000000
        axis_right_ascension    = -3.16565 deg
        axis_declination        = 66.66468 deg
        reference_angle         = 0 deg
    }
}

Finally, the cfg files for bodies of the JNSQ pack are in the following format:

@Kopernicus:FOR[JNSQ]
{
  Body
  {
    Orbit
    {
      ...
      someOrbitalParamter = xxx
      ...
    }
    Properties
    {
      ...
      parentBody = something
      tidallyLocked:NEEDS[Principia] = True
      ...
    }
  ...
  }

 

So my question is : is the lack of tidal locking a result of my own misunderstanding of moduleManager, or is it a limitation of Principia itself ?

Edited by décepteur
Syntax
Link to post
Share on other sites
On 7/22/2020 at 7:50 PM, décepteur said:

So my question is : is the lack of tidal locking a result of my own misunderstanding of moduleManager, or is it a limitation of Principia itself ?

The stock tidal locking flag never really works in the presence of Principia, and leads to aberrant spin and de-spin; Principia thus always disables it.

It should be noted that, in a non-Keplerian world, finding the correct rotation period for tidal locking is tricky. As you have seen in the orbit analyser, satellites have three different orbital periods, none of which are equal to the osculating period (the period of the stock Kepler orbit at a given instant), and the same holds for a celestial body.

Since we do not model pressions of the axes at this time (the rotation axis is fixed in space), you want to use the sidereal period of the body as its rotation period.

Computing that period may prove to be a challenge, as the orbit analyser does not currently work for celestial bodies.

Link to post
Share on other sites
22 hours ago, eggrobin said:

The stock tidal locking flag never really works in the presence of Principia, and leads to aberrant spin and de-spin; Principia thus always disables it.

It should be noted that, in a non-Keplerian world, finding the correct rotation period for tidal locking is tricky. As you have seen in the orbit analyser, satellites have three different orbital periods, none of which are equal to the osculating period (the period of the stock Kepler orbit at a given instant), and the same holds for a celestial body.

Since we do not model pressions of the axes at this time (the rotation axis is fixed in space), you want to use the sidereal period of the body as its rotation period.

Computing that period may prove to be a challenge, as the orbit analyser does not currently work for celestial bodies.

Thank you for your reply. Do you have any idea of when the modelling of said precessions will become a priority ?

Link to post
Share on other sites
  • 2 weeks later...
On 7/26/2020 at 10:32 AM, décepteur said:

Thank you for your reply. Do you have any idea of when the modelling of said precessions will become a priority ?

Probably never.  Principia is not intended as a general-purpose astronomic calculator (there are much better tools for that), it's trying to add value to KSP.  The precession of equinoxes is less than 1 degree per century, it's hard to believe that it would be useful in any game situation.  Regardless, this is irrelevant for your tidal locking problem.

Link to post
Share on other sites

I would like to open the historical version of the download, many people are using the version before 1.8. And most people don't use source code, and I'm one of them. If you open the history version to download, I would be very grateful.

Link to post
Share on other sites
10 hours ago, TMe26 said:

I would like to open the historical version of the download, many people are using the version before 1.8. And most people don't use source code, and I'm one of them. If you open the history version to download, I would be very grateful.

Check the history of the README.md file on github, you should be able to get the links there. But note that bug fixes and new features are not ported to older versions, so you won't get them.

Link to post
Share on other sites

For the new moon (lunation number 255), the new release (Galois) is out.

  • It is now possible to insert and delete manœuvres in the flight plan; in particular, this makes it possible to insert correction manœuvres after rebasing.
  • Manœuvres can be collapsed and expanded, making it easier to manage flight plans with many manœuvres.
  • A bug involving incorrect thrust when planning RCS manœuvres was fixed. Thanks to @Butcher for contributing this fix.

See the change log for more details.

For the convenience of our Chinese users, the binaries can be downloaded either from Google Drive or from 腾讯微云.

Link to post
Share on other sites

Hi, I have an issue. I have Ksp version 1.9.0 clean install. I downloaded principia (latest version Galois).

What happens  the game loads up fine, but on startup, I get a message in Principia's dialogue box that the Principia DLL couldn't be loaded, because the dependency Microsoft Visual C++ x64 redistributable couldn't be founded. I have tripled checked this and I do have this dependency in my PC. So please help me because I can't figure out what's wrong. 

I play in Windows 10 x64. Thanks in Advance.

 

Edited by DA299
Link to post
Share on other sites
5 hours ago, DA299 said:

What happens  the game loads up fine, but on startup, I get a message in Principia's dialogue box that the Principia DLL couldn't be loaded, because the dependency Microsoft Visual C++ x64 redistributable couldn't be founded. I have tripled checked this and I do have this dependency in my PC. So please help me because I can't figure out what's wrong.

Please follow the steps here and give us a PML file tracing what KSP is doing and what is happening on your machine.

Link to post
Share on other sites

im using these mods with 1.8.1 and i have principia installed in the game data directory. 

Spoiler

KSP: 1.8.1 (Win64) - Unity: 2019.2.2f1 - OS: Windows 10  (10.0.0) 64bit
ClickThroughBlocker - 0.1.10.11
Filter Extensions - 3.2.5
TexturesUnlimited - 1.5.9.24
Toolbar - 1.8.0.5
ToolbarControl - 0.1.9.4
Advanced Jet Engine - 2.15
B9 Part Switch - 2.14
B9 Aerospace Procedural Parts - 0.93
BD Animation Modules - 0.6.5.8
Community Resource Pack - 1.3
CommunityTechTree - 3.4.2
Connected Living Space - 2.0.0.5
Contract Configurator - 1.28.3
CryoEngines - 1.1.3
CryoTanks - 1.5.2
CustomBarnKit - 1.1.21
Deadly Reentry - 7.8
DeployableEngines - 1.2.2
DMagic Orbital Science - 1.4.3
Contract Parser - 1.0.9
Contracts Window Plus - 1.0.9.4
Progress Parser - 1.0.11
DynamicBatteryStorage - 2.1.8
EditorExtensionsRedux - 3.4.1.1
Environmental Visual Enhancements - 1.8.0.2
Ferram Aerospace Research - 0.15.11.4
Firespitter - 7.15
FShangarExtender - 3.6
JanitorsCloset - 0.3.7
JetSoundsUpdated - 1.3.0.6
RasterPropMonitor - 0.31.4
Kerbal Construction Time - 1.4.8
Kerbal Engineer Redux - 1.1.7.2
Kerbalism - 3.11
Kerbal Joint Reinforcement - 3.5.1
Kopernicus - 1.8.1.1
KSC Switcher - 1.8
AdvancedFlyByWire - 1.8.3.2
KSP-AVC Plugin - 1.4.1.5
KSPWheel - 0.16.14.33
MagiCore - 1.3.2.3
MechJebForAll - 1.3.0.6
ModularFlightIntegrator - 1.2.7
NearFutureExploration - 1.0.10
NearFutureProps - 0.6.3
NearFutureSolar - 1.2.3
NearFutureSpacecraft - 1.3.3
PatchManager - 0.0.17.2
Persistent Thrust - 1.7.5
PlanetShine - 0.2.6.3
Precise Editor - 1.3.3
Precise Maneuver - 2.4.4
Procedural Fairings - 1.8.3
RCS Build Aid - 0.10
RCS Sounds - 5.2
RealAntennas - 1.2.1
RealChute - 1.4.8
RealFuels - 12.8.4.1
Real Heat - 5.1
RealismOverhaul - 12.8.1
RealSolarSystem - 18.1.3
ReStock - 1.1.2
ReStockPlus - 1.1.2
RetractableLiftingSurface - 0.2.1.1
US and Soviet Solar Panels Pack - 1.6
ROSolar - 1.1.1
RSSVE - 1.5.0.1
Saturable RW - 1.6.1.1
SCANsat - 1.20.2
SolverEngines - 3.7.5
Soundtrack Editor Forked - 4.7.1.3
ButtonManager - 0.0.1
KSP_ColorPicker - 0.1.0.1
KSP_Log - 0.1.0.1
PartHighlighter - 0.1.0.1
SpaceTuxLibrary - 0.0.2.3
SpaceTuxUtility - 0.0.1
VesselModuleSave - 0.0.1
SXTContinued - 0.3.29.5
Telemachus Reborn - 1.7.41
TelemachusForAll - 0.1.1.1
TextureReplacer - 4.1.1
TexturesUnlimitedFX - 1.0.2.3
VenStockRevamp - 1.14.2
ZeroMiniAVC - 1.1.0.1

 

Link to post
Share on other sites
  • eggrobin changed the title to [WIP][1.8.1, 1.9.1, 1.10.1] Principia—version Гельфанд, released 2020-11-15—n-Body and Extended Body Gravitation, axial tilt

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...