Skip to content

Latitude Error when Rotated Planetarium=False #19

@Kerbinator-Fras

Description

@Kerbinator-Fras

When having one of my vessels orbiting equatorially for configured Uranus, the KER readout of latitude is always 0 which is correct (expected). However, on-rail setting tilt to false lead to problem, then the latitude will not be 0. (the vessel is on-rail, so there is no change in vessel orbit because of other possible bugs involve)
For Saturn, Jupiter, this is negliable (not greater than 0.5deg); however it randomly distribules and make a 20deg peak for Uranus whose original inclination is close to 90 degrees.
And I can sure it's not fault of KER readout, since the brown dot on Uranus north pole has changed its position.
Note that at the beginning of KSP loading, the maximum latitude recorded is 22°7'46'' (or by pressing reset)
KSP.log
The TiltX and TiltZ are made based on there regular satelites' orbit (their orbit plane is almost same as planet equator, and I've got the equation of TiltX&TiltZ versus LAN&inclination of an Equatorial orbit.
The data and formula are shown here (inclination shortened as i)
sin(tiltZ)=sin(i)*sin(LAN), cos(tiltX)=cos(i)/cos(tiltZ)
then use trial and error to determine whether this is an acute or obtuse angle, positive or negative angle
and data gathered from this method

   @Body[Jupiter]
    {
        @Properties
        {
            tiltx = -1.90762
            tiltz = 0.829245
        }
    }
    @Body[Saturn]
    {
        @Properties
        {
            tiltx = 27.638
            tiltz = -4.6761
        }
    }
    @Body[Uranus]
    {
        @Properties
        {
            tiltx = -82.0191
            tiltz = 12.18444
        }
    }

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions