Coder Social home page Coder Social logo

Comments (5)

Kerbinator-Fras avatar Kerbinator-Fras commented on May 26, 2024

Another thing is, by watching the change of Skybox and detail of planet texture, now I know what you are doing:
You've directly changed the view from General reference frame of KSP(SCI of Principia) to Planet-centered-Planet-fixed(xCxF of Principia)
well I suggest you ease these bugs by converting to Planet-centered-inertial(xCI) coordinaties, a non-rotating xyz axes whose z axis pass planet north&south pole.
now I can certainly tell that all the faults is caused by the switch to xCxF frame. use xCI frame instead, probably because rotating axes will cause troubles in orbit calculation which may explain the weird force when you are far from the planet, because at that time xCxF speed will be tremendous.

from tiltem.

gavazquez avatar gavazquez commented on May 26, 2024

Hi @Kerbinator-CN at the moment I don't have much time to devote to open source (neither to LMP) but contact me on discord if you need help or want to contribute with code. To be honest I hardly remember what I did for this to make it "work"

from tiltem.

Kerbinator-Fras avatar Kerbinator-Fras commented on May 26, 2024

That's okay anyway, I'm not too anxious to do that (I have a stock mission overhead, and my proposal is on using it for RSS actually).
For current situation, use these two files along with RSS 18.1.3

RSS with Tilts.zip

Data

Installation: install RSS 18.1.3, and replace RSSkopernicus with folder in zip file, install TIltEm and replace TiltEm.cfg with provided ones.

Note: Tilts of regular satelites (all satelites of Jupiter Saturn Uranus, except Iapetus) are same as their parent star. You may manually copy or (idk) use MM grammar to patch any of them who has referenceBody=J/S/U)

Solar Planets Orbital Elements: mean value over several periods
Satelites Orbital Elements: inclination and LAN from 1950.1.1 (JD2433282.5)
Tilts: Jupiter Saturn Uranus from their regular satelites used as equitorial LAN and inclination
Moon Mercury Venus Neptune Pluto from IAU data (north pole) via some conversion
in RSSkopernicus, the rotation period of Uranus, Pluto are also set to be negative. (also Venus, which is originally negative)

TO-DOs (simplified from that bunch of issues; and is much more feasible probably)

  1. option of tilted inertial space (for sake of easier orbital plotting, and a different camera view). invert rotation tilt is hidden to user or as a secondary test-only option. Then title of tilt being "tilted planetarium" instead of "Rotated planetarium". The inertial tilt is toggled at SOI entry or leaving.
    If best, make ship direction persistant during transition.
    This should fix engine shutdown issue.
  2. make harmony patch tilt correct for Uranus (Uranus tilt data entry I believe to be correct, as when rotated planetarium is true the latitude is 0°00'00" confirming it), and small errors of Jupiter and Saturn (about 1° latitude max error when rotated planetarium is false)
    Strange disclaimer: I didn't found things going wrong with Pluto which is also highly tilted. idk whether there's anything wrong.
  3. when one body's tilt is on, except the body itself, its Childrens should minus its tilt, while other objects add its tilt. Also, introduce true tidal locking so that tilt will not need to be duplicated into config. Children can be judged via referenceBody=xxxx chain. For now, Children's children can remain unconsidered if simply used for RSS (with Sun having no tilt); however it may be added later in releases)
    Note: even simply adding angles in spherical axes can be a great effort.

About documentation
by using geometry softwares, result is
tiltX is tied to the z-axis, tiltZ is tied to the rotation axis
tiltZ is looking from Z+ to O, from the rotation axis to the rotation axis yz projection line
tiltX forward is looking from X+ to O, from the rotation axis yz projection line to the z axis
Counterclockwise is positive.
This can be used for turning RA and Dec. into tilt data
image
(Example being Mercury)
Write this into TiltEm wiki, thanks.

At last, thank you for giving us such wonderful mod for those who cannot afford lags of using Principia (or to get rid of station keeping).
@gavazquez

from tiltem.

Kerbinator-Fras avatar Kerbinator-Fras commented on May 26, 2024

(by the way, I cannot find your discord account (I have one, though)
You may tell me here

from tiltem.

gavazquez avatar gavazquez commented on May 26, 2024

Sure, my discord: Dagger#1173

from tiltem.

Related Issues (18)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.