Stuart Buchanan:
I have a simple update to Protocol/playback.xml. It improves on the existing version by recording flight control surface, airspeed, engine RPM and gear status. It makes for quite nice demoes, though I've only really tested it with the C172, Hunter and Concorde.
This commit is contained in:
parent
b47560fd77
commit
f6894e4020
1 changed files with 368 additions and 3 deletions
|
@ -1,5 +1,12 @@
|
|||
<?xml version="1.0"?>
|
||||
|
||||
<!--
|
||||
Usage:
|
||||
|
||||
Recording: fgfs --generic=file,out,20,flight.out,playback
|
||||
Playback: fgfs --generic=file,in,20,flight.out,playback --fdm=null
|
||||
-->
|
||||
|
||||
<PropertyList>
|
||||
|
||||
<generic>
|
||||
|
@ -14,7 +21,7 @@
|
|||
<name>aileron</name>
|
||||
<type>float</type>
|
||||
<format>%f</format>
|
||||
<node>/controls/flight/aileron</node>
|
||||
<node>/controls/flight/aileron[0]</node>
|
||||
</chunk>
|
||||
|
||||
<chunk>
|
||||
|
@ -55,22 +62,24 @@
|
|||
<chunk>
|
||||
<name>flaps</name>
|
||||
<type>float</type>
|
||||
<format>%f</format>
|
||||
<node>/controls/flight/flaps</node>
|
||||
</chunk>
|
||||
|
||||
<chunk>
|
||||
<name>slats</name>
|
||||
<type>float</type>
|
||||
<format>%f</format>
|
||||
<node>/controls/flight/slats</node>
|
||||
</chunk>
|
||||
|
||||
<chunk>
|
||||
<name>speedbrake</name>
|
||||
<type>float</type>
|
||||
<format>%f</format>
|
||||
<node>/controls/flight/speedbrake</node>
|
||||
</chunk>
|
||||
|
||||
|
||||
<!-- Engines -->
|
||||
<chunk>
|
||||
<name>throttle</name>
|
||||
|
@ -88,34 +97,40 @@
|
|||
<chunk>
|
||||
<name>starter</name>
|
||||
<type>float</type>
|
||||
<format>%f</format>
|
||||
<node>/controls/engines/engine[0]/starter</node>
|
||||
</chunk>
|
||||
<chunk>
|
||||
<name>starter</name>
|
||||
<type>float</type>
|
||||
<format>%f</format>
|
||||
<node>/controls/engines/engine[1]/starter</node>
|
||||
</chunk>
|
||||
|
||||
<chunk>
|
||||
<name>fuel-pump</name>
|
||||
<type>float</type>
|
||||
<format>%f</format>
|
||||
<node>/controls/engines/engine[0]/fuel-pump</node>
|
||||
</chunk>
|
||||
<chunk>
|
||||
<name>fuel-pump</name>
|
||||
<type>float</type>
|
||||
<format>%f</format>
|
||||
<node>/controls/engines/engine[1]/fuel-pump</node>
|
||||
</chunk>
|
||||
|
||||
<chunk>
|
||||
<name>cutoff</name>
|
||||
<type>float</type>
|
||||
<format>%f</format>
|
||||
<node>/controls/engines/engine[0]/cutoff</node>
|
||||
</chunk>
|
||||
<name>cutoff</name>
|
||||
<chunk>
|
||||
<name>cutoff</name>
|
||||
<type>float</type>
|
||||
<format>%f</format>
|
||||
<node>/controls/engines/engine[1]/cutoff</node>
|
||||
</chunk>
|
||||
|
||||
|
@ -148,22 +163,26 @@
|
|||
<chunk>
|
||||
<name>magnetos</name>
|
||||
<type>float</type>
|
||||
<format>%f</format>
|
||||
<node>/controls/engines/engine[0]/magnetos</node>
|
||||
</chunk>
|
||||
<chunk>
|
||||
<name>magnetos</name>
|
||||
<type>float</type>
|
||||
<format>%f</format>
|
||||
<node>/controls/engines/engine[1]/magnetos</node>
|
||||
</chunk>
|
||||
|
||||
<chunk>
|
||||
<name>ignition</name>
|
||||
<type>float</type>
|
||||
<format>%f</format>
|
||||
<node>/controls/engines/engine[0]/ignition</node>
|
||||
</chunk>
|
||||
<chunk>
|
||||
<name>ignition</name>
|
||||
<type>float</type>
|
||||
<format>%f</format>
|
||||
<node>/controls/engines/engine[1]/ignition</node>
|
||||
</chunk>
|
||||
|
||||
|
@ -172,18 +191,21 @@
|
|||
<chunk>
|
||||
<name>brake-left</name>
|
||||
<type>float</type>
|
||||
<format>%f</format>
|
||||
<node>/controls/gear/brake-left</node>
|
||||
</chunk>
|
||||
|
||||
<chunk>
|
||||
<name>brake-right</name>
|
||||
<type>float</type>
|
||||
<format>%f</format>
|
||||
<node>/controls/gear/brake-right</node>
|
||||
</chunk>
|
||||
|
||||
<chunk>
|
||||
<name>brake-parking</name>
|
||||
<type>float</type>
|
||||
<format>%f</format>
|
||||
<node>/controls/gear/brake-parking</node>
|
||||
</chunk>
|
||||
|
||||
|
@ -197,9 +219,45 @@
|
|||
<chunk>
|
||||
<name>gear-down</name>
|
||||
<type>float</type>
|
||||
<format>%f</format>
|
||||
<node>/controls/gear/gear-down</node>
|
||||
</chunk>
|
||||
|
||||
<chunk>
|
||||
<name>gear-position</name>
|
||||
<type>float</type>
|
||||
<format>%f</format>
|
||||
<node>/gear/gear/position-norm</node>
|
||||
</chunk>
|
||||
|
||||
<chunk>
|
||||
<name>gear-position</name>
|
||||
<type>float</type>
|
||||
<format>%f</format>
|
||||
<node>/gear/gear[1]/position-norm</node>
|
||||
</chunk>
|
||||
|
||||
<chunk>
|
||||
<name>gear-position</name>
|
||||
<type>float</type>
|
||||
<format>%f</format>
|
||||
<node>/gear/gear[2]/position-norm</node>
|
||||
</chunk>
|
||||
|
||||
<chunk>
|
||||
<name>gear-position</name>
|
||||
<type>float</type>
|
||||
<format>%f</format>
|
||||
<node>/gear/gear[3]/position-norm</node>
|
||||
</chunk>
|
||||
|
||||
<chunk>
|
||||
<name>gear-position</name>
|
||||
<type>float</type>
|
||||
<format>%f</format>
|
||||
<node>/gear/gear[4]/position-norm</node>
|
||||
</chunk>
|
||||
|
||||
<!-- Hydraulics -->
|
||||
<chunk>
|
||||
<name>engine-pump</name>
|
||||
|
@ -330,6 +388,153 @@
|
|||
<node>/orientation/side-slip-deg</node>
|
||||
</chunk>
|
||||
|
||||
<!-- Velocities -->
|
||||
<chunk>
|
||||
<name>airspeed-kt</name>
|
||||
<type>float</type>
|
||||
<format>%f</format>
|
||||
<node>/velocities/airspeed-kt</node>
|
||||
</chunk>
|
||||
|
||||
<chunk>
|
||||
<name>glideslope</name>
|
||||
<type>float</type>
|
||||
<format>%f</format>
|
||||
<node>/velocities/glideslope</node>
|
||||
</chunk>
|
||||
|
||||
<chunk>
|
||||
<name>mach</name>
|
||||
<type>float</type>
|
||||
<format>%f</format>
|
||||
<node>/velocities/mach</node>
|
||||
</chunk>
|
||||
|
||||
<chunk>
|
||||
<name>speed-down-fps</name>
|
||||
<type>float</type>
|
||||
<format>%f</format>
|
||||
<node>/velocities/speed-down-fps</node>
|
||||
</chunk>
|
||||
|
||||
<chunk>
|
||||
<name>speed-east-fps</name>
|
||||
<type>float</type>
|
||||
<format>%f</format>
|
||||
<node>/velocities/speed-east-fps</node>
|
||||
</chunk>
|
||||
|
||||
<chunk>
|
||||
<name>speed-north-fps</name>
|
||||
<type>float</type>
|
||||
<format>%f</format>
|
||||
<node>/velocities/speed-north-fps</node>
|
||||
</chunk>
|
||||
|
||||
<chunk>
|
||||
<name>uBody-fps</name>
|
||||
<type>float</type>
|
||||
<format>%f</format>
|
||||
<node>/velocities/uBody-fps</node>
|
||||
</chunk>
|
||||
|
||||
<chunk>
|
||||
<name>vBody-fps</name>
|
||||
<type>float</type>
|
||||
<format>%f</format>
|
||||
<node>/velocities/vBody-fps</node>
|
||||
</chunk>
|
||||
|
||||
<chunk>
|
||||
<name>wBody-fps</name>
|
||||
<type>float</type>
|
||||
<format>%f</format>
|
||||
<node>/velocities/wBody-fps</node>
|
||||
</chunk>
|
||||
|
||||
<chunk>
|
||||
<name>vertical-speed-fps</name>
|
||||
<type>float</type>
|
||||
<format>%f</format>
|
||||
<node>/velocities/vertical-speed-fps</node>
|
||||
</chunk>
|
||||
|
||||
<!-- Accelerations -->
|
||||
<chunk>
|
||||
<name>nlf</name>
|
||||
<type>float</type>
|
||||
<format>%f</format>
|
||||
<node>/accelerations/nlf</node>
|
||||
</chunk>
|
||||
<chunk>
|
||||
<name>ned-down-accel-fps_sec</name>
|
||||
<type>float</type>
|
||||
<format>%f</format>
|
||||
<node>/accelerations/ned/down-accel-fps_sec</node>
|
||||
</chunk>
|
||||
<chunk>
|
||||
<name>ned-east-accel-fps_sec</name>
|
||||
<type>float</type>
|
||||
<format>%f</format>
|
||||
<node>/accelerations/ned/east-accel-fps_sec</node>
|
||||
</chunk>
|
||||
<chunk>
|
||||
<name>ned-north-accel-fps_sec</name>
|
||||
<type>float</type>
|
||||
<format>%f</format>
|
||||
<node>/accelerations/ned/north-accel-fps_sec</node>
|
||||
</chunk>
|
||||
|
||||
<chunk>
|
||||
<name>pilot-x-accel-fps_sec</name>
|
||||
<type>float</type>
|
||||
<format>%f</format>
|
||||
<node>/accelerations/pilot/x-accel-fps_sec</node>
|
||||
</chunk>
|
||||
<chunk>
|
||||
<name>pilot-y-accel-fps_sec</name>
|
||||
<type>float</type>
|
||||
<format>%f</format>
|
||||
<node>/accelerations/pilot/y-accel-fps_sec</node>
|
||||
</chunk>
|
||||
<chunk>
|
||||
<name>pilot-z-accel-fps_sec</name>
|
||||
<type>float</type>
|
||||
<format>%f</format>
|
||||
<node>/accelerations/pilot/z-accel-fps_sec</node>
|
||||
</chunk>
|
||||
|
||||
<!-- Surface Positions -->
|
||||
<chunk>
|
||||
<name>elevator-pos-norm</name>
|
||||
<type>float</type>
|
||||
<format>%f</format>
|
||||
<node>/surface-positions/elevator-pos-norm[0]</node>
|
||||
</chunk>
|
||||
<chunk>
|
||||
<name>flap-pos-norm</name>
|
||||
<type>float</type>
|
||||
<format>%f</format>
|
||||
<node>/surface-positions/flap-pos-norm[0]</node>
|
||||
</chunk>
|
||||
<chunk>
|
||||
<name>left-aileron-pos-norm</name>
|
||||
<type>float</type>
|
||||
<format>%f</format>
|
||||
<node>/surface-positions/left-aileron-pos-norm[0]</node>
|
||||
</chunk>
|
||||
<chunk>
|
||||
<name>right-aileron-pos-norm</name>
|
||||
<type>float</type>
|
||||
<format>%f</format>
|
||||
<node>/surface-positions/right-aileron-pos-norm[0]</node>
|
||||
</chunk>
|
||||
<chunk>
|
||||
<name>rudder-pos-norm</name>
|
||||
<type>float</type>
|
||||
<format>%f</format>
|
||||
<node>/surface-positions/rudder-pos-norm[0]</node>
|
||||
</chunk>
|
||||
</output>
|
||||
|
||||
<input>
|
||||
|
@ -514,6 +719,41 @@
|
|||
<node>/controls/gear/gear-down</node>
|
||||
</chunk>
|
||||
|
||||
<chunk>
|
||||
<name>gear-position</name>
|
||||
<type>float</type>
|
||||
<format>%f</format>
|
||||
<node>/gear/gear/position-norm</node>
|
||||
</chunk>
|
||||
|
||||
<chunk>
|
||||
<name>gear-position</name>
|
||||
<type>float</type>
|
||||
<format>%f</format>
|
||||
<node>/gear/gear[1]/position-norm</node>
|
||||
</chunk>
|
||||
|
||||
<chunk>
|
||||
<name>gear-position</name>
|
||||
<type>float</type>
|
||||
<format>%f</format>
|
||||
<node>/gear/gear[2]/position-norm</node>
|
||||
</chunk>
|
||||
|
||||
<chunk>
|
||||
<name>gear-position</name>
|
||||
<type>float</type>
|
||||
<format>%f</format>
|
||||
<node>/gear/gear[3]/position-norm</node>
|
||||
</chunk>
|
||||
|
||||
<chunk>
|
||||
<name>gear-position</name>
|
||||
<type>float</type>
|
||||
<format>%f</format>
|
||||
<node>/gear/gear[4]/position-norm</node>
|
||||
</chunk>
|
||||
|
||||
<!-- Hydraulics -->
|
||||
<chunk>
|
||||
<name>engine-pump</name>
|
||||
|
@ -637,7 +877,132 @@
|
|||
<node>/orientation/side-slip-deg</node>
|
||||
</chunk>
|
||||
|
||||
</input>
|
||||
<!-- Velocities -->
|
||||
<chunk>
|
||||
<name>airspeed-kt</name>
|
||||
<type>float</type>
|
||||
<node>/velocities/airspeed-kt</node>
|
||||
</chunk>
|
||||
|
||||
<chunk>
|
||||
<name>glideslope</name>
|
||||
<type>float</type>
|
||||
<node>/velocities/glideslope</node>
|
||||
</chunk>
|
||||
|
||||
<chunk>
|
||||
<name>mach</name>
|
||||
<type>float</type>
|
||||
<node>/velocities/mach</node>
|
||||
</chunk>
|
||||
|
||||
<chunk>
|
||||
<name>speed-down-fps</name>
|
||||
<type>float</type>
|
||||
<node>/velocities/speed-down-fps</node>
|
||||
</chunk>
|
||||
|
||||
<chunk>
|
||||
<name>speed-east-fps</name>
|
||||
<type>float</type>
|
||||
<node>/velocities/speed-east-fps</node>
|
||||
</chunk>
|
||||
|
||||
<chunk>
|
||||
<name>speed-north-fps</name>
|
||||
<type>float</type>
|
||||
<node>/velocities/speed-north-fps</node>
|
||||
</chunk>
|
||||
|
||||
<chunk>
|
||||
<name>uBody-fps</name>
|
||||
<type>float</type>
|
||||
<node>/velocities/uBody-fps</node>
|
||||
</chunk>
|
||||
|
||||
<chunk>
|
||||
<name>vBody-fps</name>
|
||||
<type>float</type>
|
||||
<node>/velocities/vBody-fps</node>
|
||||
</chunk>
|
||||
|
||||
<chunk>
|
||||
<name>wBody-fps</name>
|
||||
<type>float</type>
|
||||
<node>/velocities/wBody-fps</node>
|
||||
</chunk>
|
||||
|
||||
<chunk>
|
||||
<name>vertical-speed-fps</name>
|
||||
<type>float</type>
|
||||
<node>/velocities/vertical-speed-fps</node>
|
||||
</chunk>
|
||||
|
||||
<!-- Accelerations -->
|
||||
<chunk>
|
||||
<name>nlf</name>
|
||||
<type>float</type>
|
||||
<node>/accelerations/nlf</node>
|
||||
</chunk>
|
||||
<chunk>
|
||||
<name>ned-down-accel-fps_sec</name>
|
||||
<type>float</type>
|
||||
<node>/accelerations/ned/down-accel-fps_sec</node>
|
||||
</chunk>
|
||||
<chunk>
|
||||
<name>ned-east-accel-fps_sec</name>
|
||||
<type>float</type>
|
||||
<node>/accelerations/ned/east-accel-fps_sec</node>
|
||||
</chunk>
|
||||
<chunk>
|
||||
<name>ned-north-accel-fps_sec</name>
|
||||
<type>float</type>
|
||||
<node>/accelerations/ned/north-accel-fps_sec</node>
|
||||
</chunk>
|
||||
|
||||
<chunk>
|
||||
<name>pilot-x-accel-fps_sec</name>
|
||||
<type>float</type>
|
||||
<node>/accelerations/pilot/x-accel-fps_sec</node>
|
||||
</chunk>
|
||||
<chunk>
|
||||
<name>pilot-y-accel-fps_sec</name>
|
||||
<type>float</type>
|
||||
<node>/accelerations/pilot/y-accel-fps_sec</node>
|
||||
</chunk>
|
||||
<chunk>
|
||||
<name>pilot-z-accel-fps_sec</name>
|
||||
<type>float</type>
|
||||
<node>/accelerations/pilot/z-accel-fps_sec</node>
|
||||
</chunk>
|
||||
|
||||
<!-- Surface Positions -->
|
||||
<chunk>
|
||||
<name>elevator-pos-norm</name>
|
||||
<type>float</type>
|
||||
<node>/surface-positions/elevator-pos-norm[0]</node>
|
||||
</chunk>
|
||||
<chunk>
|
||||
<name>flap-pos-norm</name>
|
||||
<type>float</type>
|
||||
<node>/surface-positions/flap-pos-norm[0]</node>
|
||||
</chunk>
|
||||
<chunk>
|
||||
<name>left-aileron-pos-norm</name>
|
||||
<type>float</type>
|
||||
<node>/surface-positions/left-aileron-pos-norm[0]</node>
|
||||
</chunk>
|
||||
<chunk>
|
||||
<name>right-aileron-pos-norm</name>
|
||||
<type>float</type>
|
||||
<node>/surface-positions/right-aileron-pos-norm[0]</node>
|
||||
</chunk>
|
||||
<chunk>
|
||||
<name>rudder-pos-norm</name>
|
||||
<type>float</type>
|
||||
<node>/surface-positions/rudder-pos-norm[0]</node>
|
||||
</chunk>
|
||||
</input>
|
||||
|
||||
</generic>
|
||||
|
||||
|
|
Loading…
Reference in a new issue