Suppose that I want to write a CELBODY2 DLL to tell Orbiter where Deimos is.
The only working way I found is:
1) DLL1 calculates Deimos position wrt Mars;
2) DLL2 calculates Mars position wrt Sun;
3) DLL3 calculates Sun position wrt Solar System Barycenter.
All the 3 DLLs return the flags:
EPHEM_TRUEPOS | EPHEM_TRUEVEL | EPHEM_PARENTBARY | EPHEM_BARYISTRUE
and the result is correct.
I'd like to tell Orbiter the coordinates of Deimos directly wrt SSB.
Please, could somebody tell me which flags clbkFastEphemeris and clbkEphemeris should return?
Thank you
Cristiano
The only working way I found is:
1) DLL1 calculates Deimos position wrt Mars;
2) DLL2 calculates Mars position wrt Sun;
3) DLL3 calculates Sun position wrt Solar System Barycenter.
All the 3 DLLs return the flags:
EPHEM_TRUEPOS | EPHEM_TRUEVEL | EPHEM_PARENTBARY | EPHEM_BARYISTRUE
and the result is correct.
I'd like to tell Orbiter the coordinates of Deimos directly wrt SSB.
Please, could somebody tell me which flags clbkFastEphemeris and clbkEphemeris should return?
Thank you
Cristiano
Last edited: