Spacecraft orbit: how to do?

Post requests, images, descriptions and reports about work in progress here.
Topic author
Ferbik EN
Posts: 2
Joined: 21.08.2023
With us: 8 months 20 days

Spacecraft orbit: how to do?

Post #1by Ferbik EN » 22.08.2023, 04:08

I decided to look at what text in another addition to on the spacecraft, and saw that every coordinate was registered in its flight to Mars. Is it really necessary to count? :eh:

Avatar
selden
Developer
Posts: 10190
Joined: 04.09.2002
With us: 21 years 8 months
Location: NY, USA

Post #2by selden » 25.08.2023, 20:03

If you are asking about how coordinates are used in an xyz or xyzv trajectory, then no. You don't have to provide many coordinates that are close together. Celestia interpolates between adjacent coordinates. When a trajectory is almost straight, like when traveling between planets, coordinates can be far apart. When the trajectory is curving rapidly, like when a spacecraft is orbiting a planet, then the coordinates need to be closer together.

The xyz or xyzv coordinates of many real spacecraft trajectories can be obtained from the NASA JPL Horizons ephemeris server. See https://ssd.jpl.nasa.gov/horizons/

A template for use with their email interface is available at https://www.classe.cornell.edu/~seb/celestia/horizons-template.txt

Modifying the output provided by Horizons so it can be used by Celestia is relatively straight forward.
Selden


Return to “Add-on development”