chrisarridge / Ikuchi

Ikuchi is a Javascript application for viewing magnetospheric geometries
GNU General Public License v3.0
7 stars 2 forks source link

Elliptical satellite orbits and more accurate ephemeris using WebGeoCalc REST API #6

Open chrisarridge opened 10 months ago

chrisarridge commented 10 months ago

Satellite orbits are currently circular and not inclined but of course in reality are elliptical and inclined. We could implement this by fully solving for the position of a Keplerian orbit but this would need a set of Keplerian orbital elements and their evolution in time. Alternatively we could correctly calculate the orbits and orientation/position of the planets using accurate ephemeris from the WebGeoCalc REST API. Each time the planet or time changes we would obtain the states of the current planet and satellites using WebGeoCalc, turn the orbits into Keplerian orbital elements and then continue as normal. If the visualisation is running very fast then we should regularly update the orbital elements.