Replays of helicopter flights look weird

From FlightGear wiki
Revision as of 22:35, 9 February 2012 by Sgofferj (talk | contribs) (Created page with "{{infobox FAQ |name = Helicopter replay problems |fgversion = 2.6 and later }} == Problem == When recording and replaying helicopter flights with the new flight recorder, the...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

Template:Infobox FAQ


Problem

When recording and replaying helicopter flights with the new flight recorder, the replay looks weird. The flight path appears to seem edgy and the helicopter performs maneuvers which are physically impossible.


Reason

The new flight recorder in it's default configuration only records the last 60 seconds of the flight in full data resolution. Everything older is stored in a compressed format and interpolated during replay, which leads to unnatural motion patterns in helicopters.


Solution

Change the configuration of the flight recorder in preferences.xml to keep a bigger amount of data uncompressed.


Caveats

Uncompressed data takes more memory than compressed data. As an example, the BK117 requires about 1MB per minute of uncompressed data recording.


Example

This extends the uncompressed recording time to 10 minutes and the medium compression time to 30 minutes.

<replay> <duration type="double">90</duration> <view type="int">1</view> <looped type="bool" userarchive="y">true</looped> <buffer> <high-res-time type="double">600</high-res-time> <medium-res-sample-dt type="double">0.5</medium-res-sample-dt> <medium-res-time type="double">1800</medium-res-time> <low-res-sample-dt type="double">5.0</low-res-sample-dt> <low-res-time type="double">3600.0</low-res-time> </buffer> </replay>