Hi,

I'm currently looking into an overhaul of the replay system. The buffer 
mechanisms of the existing replay system itself won't change, but I'm 
replacing the hard-coded recorder/FDM interface. Instead, I'll introduce 
a fully configurable "flight recorder". It's basically a "property 
recorder", so anything that's in the property tree can be recorded - and 
replayed. Aircraft-specific XML descriptions can be used to specify 
properties, data type and interpolation method (discrete, linear, or 
rotational in degrees/radiant) for each "signal".

There'll be a set of default property lists which can be included, so 
only custom properties need to be specified manually. Naturally, all 
(existing) aircraft not providing any recorder configuration will use a 
default, matching the hard-coded system of <= FG 2.4.0.

I have a prototype which also shows the new system is going to be 
faster, mainly since it doesn't resolve property paths at run-time and 
avoids copying data around. It'll also use less memory, since most 
properties can be recorded with reduced precision, e.g. it's unnecessary 
to record things like flap or gear position with full "double" 
precision. And the current system always records properties for 4 
engines + 4 propellers + 6 tanks + 3 gear. With the new system, this can 
be easily adapted - a glider doesn't even need 
tank/gear/engine/propeller properties. On the other hand, most jet 
engine properties weren't recorded so far - this will also improve. And 
the obvious advantage of the new system is the option of recording 
custom properties.

Finally, the new system also comes with a new replay "dialog". Looks 
more like a video player, provides a "time slider" and, also new, 
introduces slow-motion play back. Sneak preview:
http://imageshack.us/photo/my-images/683/fgfsreplay.png/

I have a working prototype, but nothing ready to be committed. 
Meanwhile, constructive comments/ideas are welcome.

cheers,
Thorsten


------------------------------------------------------------------------------
Special Offer -- Download ArcSight Logger for FREE!
Finally, a world-class log management solution at an even better 
price-free! And you'll get a free "Love Thy Logs" t-shirt when you
download Logger. Secure your free ArcSight Logger TODAY!
http://p.sf.net/sfu/arcsisghtdev2dev
_______________________________________________
Flightgear-devel mailing list
Flightgear-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/flightgear-devel

Reply via email to