Board index FlightGear Support Flying

Recording and Playback on flightgear

Controlling your aircraft, using the autopilot etc.

Recording and Playback on flightgear

Postby Kaosiia » Wed Mar 11, 2020 11:04 am

Hello there,

So i am currently working on a project and I need to be able to record flights and save them and be able to obtain data (glidescope deviation, localizer deviation , distance from centerline runway etc ) from them later on.

So my question now is,
how do i record and save flights so i can playback for later and be able to obtain these information.


Thank you so much for your help!
Kaosiia
 
Posts: 29
Joined: Fri Jan 24, 2020 12:06 am

Re: Recording and Playback on flightgear

Postby Necolatis » Wed Mar 11, 2020 11:07 am

Record those properties as flightrecorder signals.

See here: https://sourceforge.net/p/flightgear/fg ... htrecorder
"Airplane travel is nature's way of making you look like your passport photo."
— Al Gore
User avatar
Necolatis
 
Posts: 2107
Joined: Mon Oct 29, 2012 12:40 am
Location: EKOD
Callsign: Leto
IRC name: Neco
Version: 2019.1.2
OS: Windows 10

Re: Recording and Playback on flightgear

Postby Hooray » Wed Mar 11, 2020 11:21 am

For some background, see: http://wiki.flightgear.org/Instant_Replay

There is the remaining issue, that the system is aircraft-focused, i.e. for any non-aircraft data, you would need to set up a separate logger or use XML/Nasal code to set up the corresponding properties first.

For instance, the glideslope is obviously airport/runway specific - but you could set up the logger to record the corresponding instrumentation properties (think nav1/nav2 and VOR/CDI or HSI)

Note that it would be fairly simple to develop such a utility in-sim, using the existing scripting system and the 2D drawing API, there is also a dedicated "addon framework" available - these tools can be used to easily create fairly sophisticated graphics without having to use external tools and without having to patch/rebuild FlightGear, for example see:

http://wiki.flightgear.org/Howto:Implem ... y_in_Nasal
Image

http://wiki.flightgear.org/Howto:Implem ... GCA_system
Image

http://wiki.flightgear.org/Canvas_MapStructure
Image

http://wiki.flightgear.org/PAR_instrument
Image

http://wiki.flightgear.org/Spoken_GCA
Image
Please don't send support requests by PM, instead post your questions on the forum so that all users can contribute and benefit
Thanks & all the best,
Hooray
Help write next month's newsletter !
pui2canvas | MapStructure | Canvas Development | Programming resources
Hooray
 
Posts: 11783
Joined: Tue Mar 25, 2008 8:40 am


Return to Flying

Who is online

Users browsing this forum: No registered users and 4 guests