<?xml version="1.0"?>
<!--	Model references:
		[1]-[3]	see Dragonfly-jsbsim.xml
		[4]	Video "Dragonfly Aircraft" by Avia Club Nepal https://www.youtube.com/watch?v=srqdn3Rcp08
			showing the small switchbox at the wing root (3:51)
		[5]	Video "Dreadlocks in a Flat Spin" by MoyesHangGliding https://www.youtube.com/watch?v=zgfna12Rt-k
			showing the small switchbox at the wing root (0:19) and parachute placement (0:27)
			-->
<PropertyList>
	<nasal>
		<load>
			#var livery_update = aircraft.livery_update.new("Aircraft/Dragonfly/Models/Liveries", 10);
			var livery_update = aircraft.livery_update.new("Aircraft/Dragonfly/Models/Liveries");

			# Set up property aliases for animations.
			var rplayer = cmdarg();
			rplayer.getNode("sim/hitches/aerotow/bridle/exist", 1).
			  alias(rplayer.getNode("sim/multiplay/generic/int[0]"));
			rplayer.getNode("sim/model/banner-on-hook", 1).
			  alias(rplayer.getNode("sim/multiplay/generic/int[1]"));
			rplayer.getNode("sim/model/humans/pilot", 1).
			  alias(rplayer.getNode("sim/multiplay/generic/int[2]"));
			rplayer.getNode("sim/model/humans/copilot", 1).
			  alias(rplayer.getNode("sim/multiplay/generic/int[3]"));
			rplayer.getNode("sim/model/big-panel", 1).
			  alias(rplayer.getNode("sim/multiplay/generic/int[4]"));
			rplayer.getNode("sim/model/eis", 1).
			  alias(rplayer.getNode("sim/multiplay/generic/int[5]"));
			rplayer.getNode("sim/model/hwm", 1).
			  alias(rplayer.getNode("sim/multiplay/generic/int[6]"));
			rplayer.getNode("sim/model/woolthread", 1).
			  alias(rplayer.getNode("sim/multiplay/generic/int[7]"));
			rplayer.getNode("sim/hitches/aerotow/bridle/bridle_alpha_segment1-deg", 1).
			  alias(rplayer.getNode("sim/multiplay/generic/float[0]"));
			rplayer.getNode("sim/hitches/aerotow/bridle/bridle_alpha_segment2-deg", 1).
			  alias(rplayer.getNode("sim/multiplay/generic/float[1]"));
			rplayer.getNode("sim/hitches/aerotow/bridle/bridle_beta_segment1-deg", 1).
			  alias(rplayer.getNode("sim/multiplay/generic/float[2]"));
			rplayer.getNode("sim/hitches/aerotow/bridle/bridle_beta_segment2-deg", 1).
			  alias(rplayer.getNode("sim/multiplay/generic/float[3]"));
			rplayer.getNode("sim/hitches/aerotow/bridle/bridle_length_segment1-m", 1).
			  alias(rplayer.getNode("sim/multiplay/generic/float[4]"));
			rplayer.getNode("sim/hitches/aerotow/bridle/bridle_length_segment2-m", 1).
			  alias(rplayer.getNode("sim/multiplay/generic/float[5]"));
			rplayer.getNode("sim/hitches/aerotow/bridle/bridle-diameter-mm", 1).
			  alias(rplayer.getNode("sim/multiplay/generic/float[6]"));
			rplayer.getNode("sim/model/parachute/parachute-pos-norm", 1).
			  alias(rplayer.getNode("sim/multiplay/generic/float[7]"));
			rplayer.getNode("sim/model/banner/alpha-deg", 1).
			  alias(rplayer.getNode("sim/multiplay/generic/float[8]"));
			rplayer.getNode("sim/model/banner/beta-deg", 1).
			  alias(rplayer.getNode("sim/multiplay/generic/float[9]"));
			rplayer.getNode("sim/model/wind-speed-stage2", 1).
			  alias(rplayer.getNode("sim/multiplay/generic/float[10]"));
			rplayer.getNode("sim/model/wind-integrator", 1).
			  alias(rplayer.getNode("sim/multiplay/generic/float[11]"));
			rplayer.getNode("consumables/fuel/tank[0]/level-norm-untied", 1).
			  alias(rplayer.getNode("sim/multiplay/generic/float[12]"));
			rplayer.getNode("sim/model/fuel-tank-effect/pitch-rad", 1).
			  alias(rplayer.getNode("sim/multiplay/generic/float[13]"));
			rplayer.getNode("sim/model/fuel-tank-effect/roll-rad", 1).
			  alias(rplayer.getNode("sim/multiplay/generic/float[14]"));
			rplayer.getNode("controls/flight/aileron", 1).
			  alias(rplayer.getNode("sim/multiplay/generic/float[15]"));
			rplayer.getNode("instrumentation/airspeed-indicator[1]/needle-unit", 1).
			  alias(rplayer.getNode("sim/multiplay/generic/float[16]"));
			rplayer.getNode("instrumentation/woolthread/alpha-woolthread-deg", 1).
			  alias(rplayer.getNode("sim/multiplay/generic/float[17]"));
			rplayer.getNode("instrumentation/woolthread/beta-woolthread-deg", 1).
			  alias(rplayer.getNode("sim/multiplay/generic/float[18]"));
			
			# set some not transmitted properties (to default values)
			rplayer.getNode("sim/model/humans/always-show-humans", 1).setIntValue(1);
			rplayer.getNode("instrumentation/woolthread/severity1", 1).setValue(0);
			rplayer.getNode("instrumentation/woolthread/severity2", 1).setValue(0);
		</load>
		<unload>
			livery_update.stop();
			# unalias
			rplayer.getNode("sim/hitches/aerotow/bridle/exist", 1).unalias();
			rplayer.getNode("sim/model/banner-on-hook", 1).unalias();
			rplayer.getNode("sim/model/humans/pilot", 1).unalias();
			rplayer.getNode("sim/model/humans/copilot", 1).unalias();
			rplayer.getNode("sim/model/big-panel", 1).unalias();
			rplayer.getNode("sim/model/eis", 1).unalias();
			rplayer.getNode("sim/model/hwm", 1).unalias();
			rplayer.getNode("sim/model/woolthread", 1).unalias();
			rplayer.getNode("sim/hitches/aerotow/bridle/bridle_alpha_segment1-deg", 1).unalias();
			rplayer.getNode("sim/hitches/aerotow/bridle/bridle_alpha_segment2-deg", 1).unalias();
			rplayer.getNode("sim/hitches/aerotow/bridle/bridle_beta_segment1-deg", 1).unalias();
			rplayer.getNode("sim/hitches/aerotow/bridle/bridle_beta_segment2-deg", 1).unalias();
			rplayer.getNode("sim/hitches/aerotow/bridle/bridle_length_segment1-m", 1).unalias();
			rplayer.getNode("sim/hitches/aerotow/bridle/bridle_length_segment2-m", 1).unalias();
			rplayer.getNode("sim/hitches/aerotow/bridle/bridle-diameter-mm", 1).unalias();
			rplayer.getNode("sim/model/parachute/parachute-pos-norm", 1).unalias();
			rplayer.getNode("sim/model/banner/alpha-deg", 1).unalias();
			rplayer.getNode("sim/model/banner/beta-deg", 1).unalias();
			rplayer.getNode("sim/model/wind-speed-stage2", 1).unalias();
			rplayer.getNode("sim/model/wind-integrator", 1).unalias();
			rplayer.getNode("consumables/fuel/tank[0]/level-norm-untied", 1).unalias();
			rplayer.getNode("sim/model/fuel-tank-effect/pitch-rad", 1).unalias();
			rplayer.getNode("sim/model/fuel-tank-effect/roll-rad", 1).unalias();
			rplayer.getNode("controls/flight/aileron", 1).unalias();
			rplayer.getNode("instrumentation/airspeed-indicator[1]/needle-unit", 1).unalias();
			rplayer.getNode("instrumentation/woolthread/alpha-woolthread-deg", 1).unalias();
			rplayer.getNode("instrumentation/woolthread/beta-woolthread-deg", 1).unalias();
		</unload>
	</nasal>
	
	<path>dragonfly.ac</path>
	
	<!--
		Datum is passenger seat
		nose is at x=-2.3m and z=-0.08m
	-->
	
	<effect>
		<inherits-from>Effects/cloth</inherits-from>
		<object-name>wings</object-name>
		<object-name>flaperon.L</object-name>
		<object-name>flaperon.R</object-name>
		<object-name>vstab</object-name>
		<object-name>rudder</object-name>
		<object-name>hstab</object-name>
		<object-name>elevator</object-name>
	</effect>
	
	<effect>
		<inherits-from>Effects/model-transparent</inherits-from>
		<object-name>propdisc</object-name>
		<object-name>tank</object-name>
	</effect>
	
	<effect>
		<inherits-from>Effects/model-fuel</inherits-from>
		<parameters>
			<fuel-level-norm type="float"><use>consumables/fuel/tank[0]/level-norm-untied</use></fuel-level-norm>
			<z-min-m type="float">-0.092389</z-min-m>
			<z-max-m type="float">0.272599</z-max-m>
			<front-low-x-m type="float">-1.05816</front-low-x-m>
			<front-high-x-m type="float">-0.859931</front-high-x-m>
			<rear-x-m type="float">-0.659305</rear-x-m>
		</parameters>
		<object-name>tank.contents</object-name>
	</effect>
	
	<animation>
		<type>material</type>
		<object-name>wings</object-name>
		<object-name>flaperon.L</object-name>
		<object-name>flaperon.R</object-name>
		<object-name>vstab</object-name>
		<object-name>rudder</object-name>
		<object-name>hstab</object-name>
		<object-name>elevator</object-name>
		<property-base>sim/model/livery</property-base> 
		<texture-prop>texture</texture-prop> 
		<texture>dragonfly.png</texture>
	</animation>
	
	<model>
		<path>Humans/humans.xml</path>
	</model>
	
	<model>
		<path>engine.xml</path>
		<offsets>
			<x-m>0.5</x-m>
			<y-m>0</y-m>
			<z-m>0.97</z-m>
			<pitch-deg>-9</pitch-deg>
			<heading-deg>180</heading-deg>
		</offsets>
	</model>
	
	<model>
		<path>Aircraft/Dragonfly/Models/Banner/Banner.xml</path>
		<name>Banner</name>
		<condition>
			<property>sim/model/banner-on-hook</property>
		</condition>
		<offsets>
			<x-m>3.65</x-m>
			<y-m>0</y-m>
			<z-m>-0.124</z-m>
			<pitch-deg>0</pitch-deg>
		</offsets>
	</model>
	
	<animation>
		<type>noshadow</type>
		<object-name>Banner</object-name>
		<condition>
			<not>
				<property>sim/model/banner-on-hook</property>
			</not>
		</condition>
	</animation>
	
	<!-- __________________ Rescue Parachute __________________ -->

	<model>
		<name>Parachute</name>
		<path>Aircraft/Dragonfly/Models/Parachute/parachute.xml</path>
		<offsets>
			<x-m>0.</x-m>
			<z-m>1.5</z-m>
			<pitch-deg>90</pitch-deg>
		</offsets>
	</model>
	
	<!-- INSTRUMENT PANEL -->
	<animation>
		<name>big_panel</name>
		<object-name>big.panel</object-name>
		<object-name>big.switch.master</object-name>
		<object-name>big.switch.left_magneto</object-name>
		<object-name>big.switch.right_magneto</object-name>
		<object-name>big.switch.starter</object-name>
	</animation>
	<animation>
		<name>wingroot_panel</name>
		<object-name>wr.panel</object-name>
		<object-name>wr.switch.master</object-name>
		<object-name>wr.switch.left_magneto</object-name>
		<object-name>wr.switch.right_magneto</object-name>
		<object-name>wr.switch.starter</object-name>
	</animation>
	
	<animation>
		<type>pick</type>
		<object-name>big.switch.master</object-name>
		<object-name>wr.switch.master</object-name>
		<action>
			<button>0</button>
			<repeatable>0</repeatable>
			<binding>
				<command>property-toggle</command>
				<property>controls/electric/master-switch</property>
			</binding>
			<binding>
				<command>property-toggle</command>
				<property>sim/model/dragonfly/click-switch</property>
			</binding>
		</action>
	</animation>
	<animation>
		<type>rotate</type>
		<object-name>big.switch.master</object-name>
		<property>controls/electric/master-switch-pos</property>
		<factor>-40</factor>
		<axis>
			<x1-m>-1.74898</x1-m>
			<y1-m>-0.313313</y1-m>
			<z1-m>-0.005226</z1-m>
			<x2-m>-1.74898</x2-m>
			<y2-m>-0.241895</y2-m>
			<z2-m>-0.013281</z2-m>
		</axis>
	</animation>
	<animation>
		<type>rotate</type>
		<object-name>wr.switch.master</object-name>
		<property>controls/electric/master-switch-pos</property>
		<factor>40</factor>
		<center>
			<x-m>-0.770477</x-m>
			<z-m>1.01289</z-m>
		</center>
		<axis>
			<y>1</y>
		</axis>
	</animation>
	<animation>
		<type>pick</type>
		<object-name>big.switch.left_magneto</object-name>
		<object-name>wr.switch.left_magneto</object-name>
		<action>
			<button>0</button>
			<repeatable>0</repeatable>
			<binding>
				<command>property-toggle</command>
				<property>controls/engines/engine/left-magneto-switch</property>
			</binding>
			<binding>
				<command>property-toggle</command>
				<property>sim/model/dragonfly/click-switch</property>
			</binding>
		</action>
	</animation>
	<animation>
		<type>rotate</type>
		<object-name>big.switch.left_magneto</object-name>
		<property>controls/engines/engine/left-magneto-switch-pos</property>
		<factor>-40</factor>
		<axis>
			<x1-m>-1.74898</x1-m>
			<y1-m>-0.313313</y1-m>
			<z1-m>-0.005226</z1-m>
			<x2-m>-1.74898</x2-m>
			<y2-m>-0.241895</y2-m>
			<z2-m>-0.013281</z2-m>
		</axis>
	</animation>
	<animation>
		<type>rotate</type>
		<object-name>wr.switch.left_magneto</object-name>
		<property>controls/engines/engine/left-magneto-switch-pos</property>
		<factor>40</factor>
		<center>
			<x-m>-0.770477</x-m>
			<z-m>1.01289</z-m>
		</center>
		<axis>
			<y>1</y>
		</axis>
	</animation>
	<animation>
		<type>pick</type>
		<object-name>big.switch.right_magneto</object-name>
		<object-name>wr.switch.right_magneto</object-name>
		<action>
			<button>0</button>
			<repeatable>0</repeatable>
			<binding>
				<command>property-toggle</command>
				<property>controls/engines/engine/right-magneto-switch</property>
			</binding>
			<binding>
				<command>property-toggle</command>
				<property>sim/model/dragonfly/click-switch</property>
			</binding>
		</action>
	</animation>
	<animation>
		<type>rotate</type>
		<object-name>big.switch.right_magneto</object-name>
		<property>controls/engines/engine/right-magneto-switch-pos</property>
		<factor>-40</factor>
		<axis>
			<x1-m>-1.74898</x1-m>
			<y1-m>-0.313313</y1-m>
			<z1-m>-0.005226</z1-m>
			<x2-m>-1.74898</x2-m>
			<y2-m>-0.241895</y2-m>
			<z2-m>-0.013281</z2-m>
		</axis>
	</animation>
	<animation>
		<type>rotate</type>
		<object-name>wr.switch.right_magneto</object-name>
		<property>controls/engines/engine/right-magneto-switch-pos</property>
		<factor>40</factor>
		<center>
			<x-m>-0.770477</x-m>
			<z-m>1.01289</z-m>
		</center>
		<axis>
			<y>1</y>
		</axis>
	</animation>
	<animation>
		<type>pick</type>
		<object-name>big.switch.starter</object-name>
		<object-name>wr.switch.starter</object-name>
		<action>
			<button>0</button>
			<repeatable>0</repeatable>
			<binding>
				<command>property-assign</command>
				<property>controls/switches/starter</property>
				<value>1</value>
			</binding>
			<binding>
				<command>property-toggle</command>
				<property>sim/model/dragonfly/click-starter</property>
			</binding>
			<mod-up>
				<binding>
					<command>property-assign</command>
					<property>controls/switches/starter</property>
					<value>0</value>
				</binding>
				<binding>
					<command>property-toggle</command>
					<property>sim/model/dragonfly/click-starter</property>
				</binding>
			</mod-up>
		</action>
	</animation>
	<animation>
		<type>translate</type>
		<object-name>big.switch.starter</object-name>
		<property>controls/switches/starter-pos</property>
		<factor>0.004</factor>
		<axis>
			<x1-m>-1.74166</x1-m>
			<y1-m>-0.234126</y1-m>
			<z1-m>-0.011635</z1-m>
			<x2-m>-1.74921</x2-m>
			<y2-m>-0.234353</y2-m>
			<z2-m>-0.013645</z2-m>
		</axis>
	</animation>
	<animation>
		<type>translate</type>
		<object-name>wr.switch.starter</object-name>
		<property>controls/switches/starter-pos</property>
		<factor>0.002</factor>
		<axis>
			<x1-m>-0.347096</x1-m>
			<y1-m>0.0</y1-m>
			<z1-m>-0.469521</z1-m>
			<x2-m>-0.347096</x2-m>
			<y2-m>0.0</y2-m>
			<z2-m>-0.112865</z2-m>
		</axis>
	</animation>
	
	<!-- Instruments -->
	<model>
		<path>instruments.xml</path>
		<usage>interior</usage>
	</model>
	
	<model>
		<path>Aircraft/Dragonfly/Models/Instruments/Wool-Thread/wool-thread.xml</path>
		<name>WoolThread</name>
		<offsets>
			<x-m>-1.95</x-m>
			<y-m>-0.3</y-m> <!-- 0.24 -->
			<z-m>0.38</z-m>
			<pitch-deg>0.</pitch-deg>
			<heading-deg>0.</heading-deg>
			<roll-deg>0.</roll-deg>
		</offsets>
	</model>
	
	<!-- Tow System -->
	<model>
		<path>Aircraft/Dragonfly/Models/TowSystem/TowSystem.xml</path>
		<name>TowSystem</name>
		<offsets>
			<x-m>3.65</x-m>
			<y-m>0.0</y-m>
			<z-m>2.08</z-m>
			<pitch-deg>0.</pitch-deg>
			<heading-deg>0.</heading-deg>
			<roll-deg>0.</roll-deg>
		</offsets>
	</model>
	
	<!-- Parachute -->
	<animation>
		<type>pick</type>
		<object-name>parachute.handle</object-name>
		<action>
			<button>0</button>
			<button>1</button>
			<button>2</button>
			<button>3</button>
			<button>4</button>
			<repeatable>0</repeatable>
			<binding>
				<command>property-assign</command>
				<property>fdm/jsbsim/systems/chute/chute-cmd-norm</property>
				<value>1</value>
			</binding>
				<binding>
					<command>property-toggle</command>
					<property>sim/model/parachute/parachute</property>
					<value>0</value>
					<value>1</value>
				</binding>
		</action>
	</animation>
	
	<animation>
		<type>translate</type>
		<object-name>parachute.handle</object-name>
		<!--
		<property>sim/model/parachute/parachute</property>
		<factor>-0.04</factor>
		<offset-m>0</offset-m>
		-->
		<property>sim/model/parachute/parachute-pos-norm</property>
		<interpolation>
			<entry> <ind> 0.0   </ind> <dep> 0.00</dep> </entry>
			<entry> <ind> 0.0001</ind> <dep>-0.04</dep> </entry>
			<entry> <ind> 0.8   </ind> <dep>-0.04</dep> </entry>
			<entry> <ind> 1.0   </ind> <dep> 0.00</dep> </entry>
		</interpolation>
		<axis>
			<x>0.242</x>
			<y>0</y>
			<z>0.970</z>
		</axis>
	</animation>
	
	<animation>
		<type>select</type>
		<object-name>big_panel</object-name>
		<object-name>Airspeed</object-name>
		<object-name>Altimeter</object-name>
		<object-name>Coolant Temperature</object-name>
		<object-name>Tachometer</object-name>
		<object-name>Compass</object-name>
		<condition>
			<property>sim/model/big-panel</property>
		</condition>
	</animation>
	
	<animation>
		<type>select</type>
		<object-name>wingroot_panel</object-name>
		<condition>
			<not>
				<property>sim/model/big-panel</property>
			</not>
		</condition>
	</animation>
	
	<animation>
		<type>select</type>
		<object-name>EIS</object-name>
		<condition>
			<property>sim/model/eis</property>
		</condition>
	</animation>
	
	<animation>
		<type>select</type>
		<object-name>HallWindMeter</object-name>
		<condition>
			<property>sim/model/hwm</property>
		</condition>
	</animation>
	
	<animation>
		<type>select</type>
		<object-name>WoolThread</object-name>
		<condition>
			<property>sim/model/woolthread</property>
		</condition>
	</animation>
	
	<!-- FLIGHT CONTROL SURFACES -->
	
	<animation>
		<type>rotate</type>
		<object-name>flaperon.L</object-name>
		<property>surface-positions/left-aileron-pos-norm</property>
		<factor>-23.66</factor>
		<axis>
			<x1-m>0.633689</x1-m>
			<y1-m>-0.717594</y1-m>
			<z1-m>0.703577</z1-m>
			<x2-m>0.708537</x2-m>
			<y2-m>-5.09879</y2-m>
			<z2-m>0.948216</z2-m>
		</axis>
	</animation>
	
	<animation>
		<type>rotate</type>
		<object-name>flaperon.R</object-name>
		<property>surface-positions/right-aileron-pos-norm</property>
		<factor>-23.66</factor>
		<axis>
			<x1-m>0.633689</x1-m>
			<y1-m>0.717594</y1-m>
			<z1-m>0.703577</z1-m>
			<x2-m>0.708537</x2-m>
			<y2-m>5.09879</y2-m>
			<z2-m>0.948216</z2-m>
		</axis>
	</animation>
	
	<animation>
		<type>rotate</type>
		<object-name>elevator</object-name>
		<property>surface-positions/elevator-pos-norm</property>
		<factor>30.48</factor>
		<axis>
			<x>0.0</x>
			<y>1.0</y>
			<z>0.0</z>
		</axis>
		<center>
			<x-m>2.916</x-m>
			<y-m>0</y-m>
			<z-m>0.067128</z-m>
		</center>
	</animation>
	
	<animation>
		<type>rotate</type>
		<object-name>rudder</object-name>
		<property>surface-positions/rudder-pos-norm</property>
		<factor>22.12</factor>
		<axis>
			<x1-m>2.76383</x1-m>
			<y1-m>0.0</y1-m>
			<z1-m>-0.296812</z1-m>
			<x2-m>3.37238</x2-m>
			<y2-m>0.0</y2-m>
			<z2-m>1.18907</z2-m>
		</axis>
	</animation>
	
	<!-- COCKPIT CONTROLS -->
	
	<!-- Control stick -->
	<animation>
		<type>rotate</type>
		<object-name>stick.F</object-name>
		<object-name>stick_lever.base</object-name>
		<object-name>stick_lever.lever</object-name>
		<property>surface-positions/elevator-pos-norm</property>
		<factor>25.0</factor>
		<offset-deg>-5</offset-deg>
		<axis>
			<x>0.0</x>
			<y>-1.0</y>
			<z>0.0</z>
		</axis>
		<center>
			<x-m>-1.64211</x-m>
			<y-m>0</y-m>
			<z-m>-0.160147</z-m>
		</center>
	</animation>
	
	<animation>
		<type>rotate</type>
		<object-name>stick.R</object-name>
		<property>surface-positions/elevator-pos-norm</property>
		<factor>25.0</factor>
		<offset-deg>-5</offset-deg>
		<axis>
			<x>0.0</x>
			<y>-1.0</y>
			<z>0.0</z>
		</axis>
		<center>
			<x-m>-0.36074</x-m>
			<y-m>0</y-m>
			<z-m>-0.054159</z-m>
		</center>
	</animation>
	
	<animation>
		<type>rotate</type>
		<object-name>stick.F</object-name>
		<object-name>stick_lever.base</object-name>
		<object-name>stick_lever.lever</object-name>
		<property>controls/flight/aileron</property>
		<factor>20.0</factor>
		<axis>
			<x>-1.0</x>
			<y>0.0</y>
			<z>0.0</z>
		</axis>
		<center>
			<x-m>-1.64211</x-m>
			<y-m>0</y-m>
			<z-m>-0.160147</z-m>
		</center>
	</animation>
	
	<animation>
		<type>rotate</type>
		<object-name>stick.R</object-name>
		<property>controls/flight/aileron</property>
		<factor>20.0</factor>
		<axis>
			<x>-1.0</x>
			<y>0.0</y>
			<z>0.0</z>
		</axis>
		<center>
			<x-m>-0.36074</x-m>
			<y-m>0</y-m>
			<z-m>-0.054159</z-m>
		</center>
	</animation>
	
	<!--	Throttle lever	-->
	<animation>
		<type>rotate</type>
		<object-name>throttle.lever</object-name>
		<object-name>brake.lever</object-name>
		<property>controls/engines/engine[0]/throttle</property>
		<factor>-25</factor>
		<axis>
			<x>0.0</x>
			<y>1.0</y>
			<z>0.0</z>
		</axis>
		<center>
			<x-m>-1.58489</x-m>
			<y-m>0</y-m>
			<z-m>-0.145842</z-m>
		</center>
	</animation>
	
	<!--	Wheel brake lever	-->
	<animation>
		<type>rotate</type>
		<object-name>brake.lever</object-name>
		<expression>
			<product>
				<max>
					<property>controls/gear/brake-left</property>
					<property>controls/gear/brake-right</property>
					<property>controls/gear/brake-parking</property>
				</max>
				<value>25</value>
			</product>
		</expression>
		<!-- <factor>25</factor> -->
		<axis>
			<x>0.0</x>
			<y>1.0</y>
			<z>0.0</z>
		</axis>
		<center>
			<x-m>-1.60149</x-m>
			<y-m>0</y-m>
			<z-m>-0.135219</z-m>
		</center>
	</animation>
	
	<!--	Bike brake style lever attached to the front stick	-->
	<animation>
		<type>rotate</type>
		<object-name>stick_lever.lever</object-name>
		<property>controls/hook-lever-open</property>
		<factor>25.8</factor>
		<axis>
			<x>0.0</x>
			<y>1.0</y>
			<z>0.0</z>
		</axis>
		<center>
			<x-m>-1.57702</x-m>
			<y-m>0</y-m>
			<z-m>0.100578</z-m>
		</center>
	</animation>
	
	<animation>
		<type>pick</type>
		<object-name>stick_lever.lever</object-name>
		<action>
			<button>0</button>
			<button>1</button>
			<button>2</button>
			<button>3</button>
			<button>4</button>
			<repeatable>false</repeatable>
			<binding>
				<command>property-toggle</command>
				<property>sim/hitches/aerotow/open</property>
				<value>0</value>
				<value>1</value>
			</binding>
		</action>
	</animation>
	
	<!-- Rudder pedals -->
	<animation>
		<type>rotate</type>
		<object-name>rudder.pedal.L</object-name>
		<property>surface-positions/rudder-pos-norm</property>
		<factor>20.0</factor>
		<axis>
			<x>0.0</x>
			<y>1.0</y>
			<z>0.0</z>
		</axis>
		<center>
			<x-m>-2.29126</x-m>
			<y-m>0</y-m>
			<z-m>-0.082556</z-m>
		</center>
	</animation>
	
	<animation>
		<type>rotate</type>
		<object-name>rudder.pedal.R</object-name>
		<property>surface-positions/rudder-pos-norm</property>
		<factor>-20.0</factor>
		<axis>
			<x>0.0</x>
			<y>1.0</y>
			<z>0.0</z>
		</axis>
		<center>
			<x-m>-2.29126</x-m>
			<y-m>0</y-m>
			<z-m>-0.082556</z-m>
		</center>
	</animation>
	
	<animation>
		<type>rotate</type>
		<object-name>gear.L</object-name>
		<object-name>wheel.L</object-name>
		<property>gear/gear[0]/compression-norm</property>
		<factor>-20.0</factor>
		<axis>
			<x>1.0</x>
			<y>0.0</y>
			<z>0.0</z>
		</axis>
		<center>
			<y-m>-0.227264</y-m>
			<z-m>-0.23788</z-m>
		</center>
	</animation>
	
	<animation>
		<type>rotate</type>
		<object-name>gear.R</object-name>
		<object-name>wheel.R</object-name>
		<property>gear/gear[1]/compression-norm</property>
		<factor>20.0</factor>
		<axis>
			<x>1.0</x>
			<y>0.0</y>
			<z>0.0</z>
		</axis>
		<center>
			<y-m> 0.227264</y-m>
			<z-m>-0.23788</z-m>
		</center>
	</animation>
	
	<!-- Tail Wheel -->
	<animation>
		<type>rotate</type>
		<object-name>wheel.T</object-name>
		<object-name>gear.T.1</object-name>
		<object-name>gear.T.2</object-name>
		<object-name>gear.T.3</object-name>
		<property>surface-positions/rudder-pos-norm</property>
		<factor>60.0</factor>
		<axis>
			<x>0.0</x>
			<y>0.0</y>
			<z>1.0</z>
		</axis>
		<center>
			<x-m>2.55085</x-m>
			<y-m>0</y-m>
			<z-m>-0.477738</z-m>
		</center>
	</animation>
	<animation>
		<type>rotate</type>
		<object-name>gear.T.2</object-name>
		<property>surface-positions/rudder-pos-norm</property>
		<factor>-60.0</factor>
		<axis>
			<x>0.0</x>
			<y>0.0</y>
			<z>1.0</z>
		</axis>
		<center>
			<x-m> 2.55136</x-m>
			<y-m>-0.097822</y-m>
		</center>
	</animation>
	<animation>
		<type>rotate</type>
		<object-name>gear.T.3</object-name>
		<property>surface-positions/rudder-pos-norm</property>
		<factor>-60.0</factor>
		<axis>
			<x>0.0</x>
			<y>0.0</y>
			<z>1.0</z>
		</axis>
		<center>
			<x-m> 2.55136</x-m>
			<y-m> 0.097822</y-m>
		</center>
	</animation>
	
	<!-- bridle hook -->
	<animation>
		<type>rotate</type>
		<object-name>ReleaseArm</object-name>
		<property>controls/hook-lever-open</property>
		<factor>-20.</factor>
		<axis>
			<x>0.0</x>
			<y>1.0</y>
			<z>0.0</z>
		</axis>
		<center>
			<x-m>3.0576</x-m>
			<y-m>0</y-m>
			<z-m>-0.6266</z-m>
		</center>
	</animation>
	
	<animation>
		<type>scale</type>
		<object-name>ReleaseSpring</object-name>
		<property>controls/hook-lever-open</property>
		<x-factor>-0.7</x-factor>
		<y-factor>1.</y-factor>
		<z-factor>1.</z-factor>
		<x-min>0.</x-min>
		<y-min>1.0</y-min>
		<z-min>1.</z-min>
		<x-offset>1</x-offset>
		<!--
			<x-min>0.9890</x-min>
			<y-min>1.0</y-min>
			<z-min>0.1478</z-min>
		-->
		<center>
			<x-m>3.0361</x-m>
			<y-m>0</y-m>
			<z-m>-0.5920</z-m>
		</center>
	</animation>
	
	<animation>
		<type>rotate</type>
		<object-name>ReleaseHook</object-name>
		<property>sim/hitches/aerotow/bridle/exist</property>
		<interpolation>
			<entry><ind>0</ind><dep>  0.</dep></entry>
			<entry><ind>1</ind><dep>  0.</dep></entry>
			<entry><ind>2</ind><dep>210.</dep></entry>
		</interpolation>
		<axis>
			<x>0.0</x>
			<y>1.0</y>
			<z>0.0</z>
		</axis>
		<center>
			<x-m>3.0923</x-m>
			<y-m>0</y-m>
			<z-m>-0.6175</z-m>
		</center>
	</animation>
	
	<!--<animation>
		<type>rotate</type>
		<object-name>Throttle</object-name>
		<property>controls/engines/engine[0]/throttle</property>
		<factor>-60.0</factor>
		<axis>
			<x>0.0</x>
			<y>1.0</y>
			<z>0.0</z>
		</axis>
		<center>
			<x-m>-0.503904</x-m>
			<y-m>0</y-m>
			<z-m>0.320428</z-m>
		</center>
	</animation>-->
	
</PropertyList>
