XNAV system

I’ve been working on XNAV system – on-board computer display software for X-30, capable of doing a lot of interesting things. Right now it can calculate and predict orbit, it shows all required orbital elements, updating live from the simulator.

IMG_0027a

There are some issues right now, the orbit prediction is slightly imprecise because of the way I am calculating velocity vector (I am calculating spacecraft position in global coordinate system, tied to Earth. Velocity vector is normalized difference between current and previous position multiplied by velocity magnitude, speed received from simulator). I will rewrite this to use coordinates and velocities from local OpenGL coordinate system of X-Plane, rotated so it becomes global coordinate system.

There is also slight change of some variables over time – most likely because constants I used slightly differ from the ones X-Plane uses.

0 Responses to “XNAV system”


  • No Comments

Leave a Reply