Question Real time flight data acquisition

xjflcf520

Member
Joined
Feb 26, 2021
Messages
70
Reaction score
6
Points
23
Location
Chana
I want to make a plug-in to update the flight data of the spacecraft in real time, such as longitude and latitude, altitude and distance from the target.
 

N_Molson

Addon Developer
Addon Developer
Donator
Joined
Mar 5, 2010
Messages
9,271
Reaction score
3,244
Points
203
Location
Toulouse
OK, you define your goal there but you have to be a bit more specific and use some kind of method :

  • What tools do you plan to use ? In Orbiter making a "plug-in" means coding a .dll, but what you say can be achieved through a LUA script, too.
  • What is the problem / the series of problems you're facing ?
 

xjflcf520

Member
Joined
Feb 26, 2021
Messages
70
Reaction score
6
Points
23
Location
Chana
OK, you define your goal there but you have to be a bit more specific and use some kind of method :

  • What tools do you plan to use ? In Orbiter making a "plug-in" means coding a .dll, but what you say can be achieved through a LUA script, too.
  • What is the problem / the series of problems you're facing ?
It would be better if Lua file could be used to update flight data on the screen in real time from an external perspective. I hope you can give a detailed Lua implementation code
 

N_Molson

Addon Developer
Addon Developer
Donator
Joined
Mar 5, 2010
Messages
9,271
Reaction score
3,244
Points
203
Location
Toulouse
Look in Orbiter 2016 Beta folder, you have examples in and a reference "Windows help file" in OrbiterSDK/doc. For disambiguation a "LUA file" is a script, and LUA is a language. You only need a decent raw text editor (Notepad ++). A plugin is a .dll module written in C++ programming language that can be switched on/off in the Launchpad.
 
Top