Something doesn't make sense...

Have a question about using Celestia? Check here first for FAQs and helpful advice.
Forum rules
Please help to make this forum more useful by checking the FAQs before posting! Keep it clean, keep it civil, keep it truthful, stay on topic, be responsible, share your knowledge.
Avatar
Topic author
Chuft-Captain
Posts: 1779
Joined: 18.12.2005
With us: 18 years 11 months

Something doesn't make sense...

Post #1by Chuft-Captain » 21.09.2012, 20:01

Here's the orbit definition for Io from solarsys.ssc:

Code: Select all

   CustomOrbit "io"

   # Overridden by CustomOrbit
   # EllipticalOrbit
   # {
   #    Epoch 2443000.00038375
   #    Period         1.769138
   #    SemiMajorAxis  421600
   #    Eccentricity   0.0041
   #    Inclination    0.040
   #    AscendingNode    312.981
   #    LongOfPericenter  97.735
   #    MeanLongitude    106.724
   # }


Now, to my way of thinking, I would expect that the CustomOrbit overriding the older EllipticalOrbit definition should place Io in a similar (if more accurate) position to the older definition.

Therefore, if I create a test object and give it the old Io orbit defiition:

Code: Select all

    EllipticalOrbit
    {
       Epoch 2443000.00038375
       Period         1.769138
       SemiMajorAxis  421600
       Eccentricity   0.0041
       Inclination    0.040
       AscendingNode    312.981
       LongOfPericenter  97.735
       MeanLongitude    106.724
    }


then I would expect it's orbit (if not it's position in the orbit) to be quite similar to that of Io.

I can understand that it's position in the orbit may be considerably advanced or degraded from Io's CustomOrbit position, however what I find that it's (the test object) orbit is also considerably inclined to Io's orbit (something like 30 degrees).

Can anyone explain what's going on here?
Surely the inclination of Io's orbit won't have changed through the use of a CustomOrbit rather than EllipticalOrbit definition?

A similar thing happens if I go through the same exercise with Earth's Moon... what is causing this difference in inclination?

Cheers
CC
"Is a planetary surface the right place for an expanding technological civilization?"
-- Gerard K. O'Neill (1969)

CATALOG SYNTAX HIGHLIGHTING TOOLS LAGRANGE POINTS

Avatar
selden
Developer
Posts: 10192
Joined: 04.09.2002
With us: 22 years 2 months
Location: NY, USA

Re: Something doesn't make sense...

Post #2by selden » 21.09.2012, 20:33

I can only think that you've made a typo somewhere.

I created a separate test_object.ssc using the commented-out parameters from solarsys.ssc

Code: Select all

"test_object" "Sol/Jupiter"
{
   Radius   1821.6
   Color [ 1 1 0]

    EllipticalOrbit
    {
       Epoch 2443000.00038375
       Period         1.769138
       SemiMajorAxis  421600
       Eccentricity   0.0041
       Inclination    0.040
       AscendingNode    312.981
       LongOfPericenter  97.735
       MeanLongitude    106.724
    }

   BodyFrame { EquatorJ2000 {} }

    UniformRotation
    {
       Inclination    25.50
       AscendingNode 358.05
       MeridianAngle 200.39
    }

   Albedo         0.61
}


Then, for this url:
view io and test_object
Celestia drew this:
test_object.jpg

These two orbits look reasonably close to me. There's certainly no 30 degree tilt.
Selden

Avatar
John Van Vliet
Posts: 2944
Joined: 28.08.2002
With us: 22 years 2 months

Re: Something doesn't make sense...

Post #3by John Van Vliet » 22.09.2012, 01:10

--- edit ---
Last edited by John Van Vliet on 19.10.2013, 04:26, edited 1 time in total.

Avatar
PlutonianEmpire M
Posts: 1374
Joined: 09.09.2004
Age: 40
With us: 20 years 2 months
Location: MinneSNOWta
Contact:

Re: Something doesn't make sense...

Post #4by PlutonianEmpire » 22.09.2012, 03:03

Yeah, this is precisely why ReferenceFrames can be so irritating to work with in Celestia. Hardly anything goes right when working with them.

urhgaaugh.png


This pretty much sums it all up with ReferenceFrames.
Terraformed Pluto: Now with New Horizons maps! :D

Avatar
Topic author
Chuft-Captain
Posts: 1779
Joined: 18.12.2005
With us: 18 years 11 months

Re: Something doesn't make sense...

Post #5by Chuft-Captain » 22.09.2012, 09:06

selden wrote:I can only think that you've made a typo somewhere.
...
These two orbits look reasonably close to me. There's certainly no 30 degree tilt.
Thanks for replicating this. It's useful to know that it worked for you, and examining the differences between your implementation and mine, enabled me to isolate the cause...

The only difference is that I had the following statement as well:

Code: Select all

   OrbitFrame {
      EquatorJ2000 { Center "Sol/Jupiter" }
   }
(Add this to your code if you want tol see what was happening for me.)
Why this causes a problem, I wish I understood :roll: , but commenting it out does solve the problem.

john Van Vliet wrote:that "tilt" sounds like an error with

BodyFrame { EclipticJ2000
vs.
BodyFrame { EquatorJ2000

issue
I know what you're getting at John, but only in the context of an OrbitFrame statement. Your example uses a BodyFrame which affects the Orientation of the object itself, rather than it's orbit.

Thanks guys.
CC
"Is a planetary surface the right place for an expanding technological civilization?"
-- Gerard K. O'Neill (1969)

CATALOG SYNTAX HIGHLIGHTING TOOLS LAGRANGE POINTS

Avatar
PlutonianEmpire M
Posts: 1374
Joined: 09.09.2004
Age: 40
With us: 20 years 2 months
Location: MinneSNOWta
Contact:

Re: Something doesn't make sense...

Post #6by PlutonianEmpire » 22.09.2012, 23:12

Chuft-Captain wrote:
selden wrote:The only difference is that I had the following statement as well:

Code: Select all

   OrbitFrame {
      EquatorJ2000 { Center "Sol/Jupiter" }
   }
(Add this to your code if you want tol see what was happening for me.)
Why this causes a problem, I wish I understood :roll: , but commenting it out does solve the problem.
Using the "EquatorJ2000" frame simply causes an object's orbit or orientation to be locked to the Earth's equatorial plane as it was on January 1, 2000, regardless of what body it orbits.
Terraformed Pluto: Now with New Horizons maps! :D


Return to “Help Central”