API Question Orbital elements not updated after a time acceleration

SELEN

New member
Joined
Jul 3, 2017
Messages
1
Reaction score
0
Points
0
Hi everyone!

I have successfully managed to extract data from Orbiter using Orb::connect and some Python script, in order to get the orbital elements of the spacecraft. They are correct and using a separate tool we can plot the orbit we are on.

But I have an issue right after a time warp : the osculating elements almost all update properly, but the mean longitude (L) and the Julian date (MJD) are not updated to the new values after the time acceleration, and continue to evolve as if this acceleration had never taken place!
This is quite strange, as inside the game, the orbit MFD of course gets all its parameters updated.

Does anybody know any way of getting the correct value for L and MJD even after a timewarp (without having to stop and relaunch the game)?

Thanks a lot! :hailprobe:
 
Top