Fgtape: Difference between revisions

Jump to navigation Jump to search
1,394 bytes added ,  23 September 2015
m
no edit summary
(http://forum.flightgear.org/viewtopic.php?f=37&t=27511&p=258516#p258505)
 
mNo edit summary
Line 6: Line 6:


The whole system is [[XML]]-configurable, so that custom/[[Aircraft properties reference|aircraft-specific properties]] can be easily supported, while generic/common properties are typically included from a shared location in $FG_ROOT.
The whole system is [[XML]]-configurable, so that custom/[[Aircraft properties reference|aircraft-specific properties]] can be easily supported, while generic/common properties are typically included from a shared location in $FG_ROOT.
{{FGCquote|1= fgtape = $FG_ROOT/Docs/README.flightrecorder: http://sourceforge.net/p/flightgear/fgdata/ci/next/tree/Docs/README.flightrecorder(what used to be the old "instant replay" system, but ended up getting generalied by ThorstenB to become a generic "Property Recorder" subsystem.The system could be useful for doing both 1) creating repeatable benchmark situations that override end-user configuration, but also for 2) sharing end-user created flights for reproducing certain issues.The case we've been discussing here is to use the flight recorder subsystem (fgtape) to create/save a "benchmark flight" into $FG_ROOT, so that end-users can use that to "play" the flight, while a few lines of Nasal would sample a handful of properties to determine the impact on frame rate/spacing.The alternative would have been to use Nasal for creating the situation/flight in a scripted fashion, but that is probably not such a good idea, especially because Nasal may very well add to the CPU overhead anywayRight now, fgtapes are all about aircraft-specific properties: http://sourceforge.net/p/flightgear/fgdata/ci/next/tree/Aircraft/Generic/flightrecorder/|2= {{cite web  | url    = http://forum.flightgear.org/viewtopic.php?p=258516#p258516  | title  = <nowiki>Re: How to tell if you are CPU or GPU limited (split)</nowiki>  | author = <nowiki>Hooray</nowiki>  | date  = Sep 22nd, 2015  }}}}

Navigation menu