Hello Forum.
What is the origin of Coordinate System in Orbiter?
I use this function from Orbiter SDK API:
I've got position of Sun and Earth by this function: (values are rounded to integers)
R = dist(sunPos, earthPos) returns 148761959054, that's similar to 149.6*10^6 from wikipedia.
But what's the center of this coordinate system?
I've found this picture (below) on wikipedia on page for ecliptic system:
So, Sun should be approximately [0 0 0] and Earth should be [x y 0] where sqrt(x^2+y^2) = R (distance from Sun to Earth)
But in our case I see that coordinate y is similar, but not z. And Sun is not in the center of system coordinate.
I think, I don't really understand this ecliptic frame - may be it's related to mjd value?
What is the origin of Coordinate System in Orbiter?
I use this function from Orbiter SDK API:
oapiGetGlobalPos
Returns the position of an object in the global reference frame.
Notes:
• The global reference frame is the heliocentric ecliptic system at ecliptic and
equinox of J2000.
• Units are meters.
I've got position of Sun and Earth by this function: (values are rounded to integers)
Sun:
[ -604130529 21220719 -773332607]
Earth:
[ -148621181901 20988065 14095190016 ]
R = dist(sunPos, earthPos) returns 148761959054, that's similar to 149.6*10^6 from wikipedia.
But what's the center of this coordinate system?
I've found this picture (below) on wikipedia on page for ecliptic system:
So, Sun should be approximately [0 0 0] and Earth should be [x y 0] where sqrt(x^2+y^2) = R (distance from Sun to Earth)
But in our case I see that coordinate y is similar, but not z. And Sun is not in the center of system coordinate.
I think, I don't really understand this ecliptic frame - may be it's related to mjd value?