<?xml version="1.0" encoding="UTF-8" ?>

<PropertyList>
	<path>Goldhofert.ac</path>
  <nopreview />
	<params>
		<max-nw-degree>-80</max-nw-degree>
		<position>engines/engine[2]/n2</position>
		<visible>sim/hitches/aerotow/is-slave</visible>
	</params>
	
	<!-- Trucks models and artworks courtesy of XPGoodWay Team
	(http://www.xpgoodwayteam.org/site_xpushback/) -->
	
	<model>
		<path>Goldhofert-warning-light.xml</path>
		<offsets>
			<x-m>-2.908</x-m>
			<y-m>0.260</y-m>
			<z-m>1.326</z-m>
			<heading-deg>0</heading-deg>
		</offsets>
	</model>
	
	<model>
		<path>Goldhofert-warning-light.xml</path>
		<offsets>
			<x-m>-1.781</x-m>
			<y-m>0.260</y-m>
			<z-m>1.326</z-m>
			<heading-deg>90</heading-deg>
		</offsets>
	</model>
	
	<!-- switch to night/day textures -->
	
	<animation>
		<type>textranslate</type>
		<object-name>Mesh</object-name>
		<object-name>Mesh.001</object-name>
		<object-name>Mesh.002</object-name>
		<object-name>Mesh.003</object-name>
		<object-name>wheelfl</object-name>
		<object-name>wheelfr</object-name>
		<object-name>wheelrl</object-name>
		<object-name>wheelrr</object-name>
		<property>/sim/time/sun-angle-rad</property>
		<step>1.60 </step>
		<factor>0.318471338</factor>
		<center>
			<x-m>0</x-m>
			<y-m>0</y-m>
			<z-m>0</z-m>
		</center>
		<axis>
			<x>-1</x>
			<y>0</y>
			<z>0</z>
		</axis>
	</animation>
	
	<animation>
		<type>material</type>
		<object-name>Mesh</object-name>
		<object-name>Mesh.001</object-name>
		<object-name>Mesh.002</object-name>
		<object-name>Mesh.003</object-name>
		<object-name>wheelfl</object-name>
		<object-name>wheelfr</object-name>
		<object-name>wheelrl</object-name>
		<object-name>wheelrr</object-name>
		<condition>		
			<greater-than>		
				<property>/sim/time/sun-angle-rad</property>
				<value>1.60</value>
			</greater-than>
		</condition>
		<emission>	
			<red>1</red>	
			<green>1</green>	
			<blue>1</blue>
		</emission>
	</animation>
	
	<animation>
		<type>material</type>
		<object-name>Mesh</object-name>
		<object-name>Mesh.001</object-name>
		<object-name>Mesh.002</object-name>
		<object-name>Mesh.003</object-name>
		<object-name>wheelfl</object-name>
		<object-name>wheelfr</object-name>
		<object-name>wheelrl</object-name>
		<object-name>wheelrr</object-name>
		<condition>		
			<less-than-equals>		
				<property>/sim/time/sun-angle-rad</property>
				<value>1.60</value>
			</less-than-equals>
		</condition>
		<emission>	
			<red>0</red>	
			<green>0</green>	
			<blue>0</blue>
		</emission>
	</animation>
	
	<animation>
		<type>spin</type>
		<object-name>wheelfl</object-name>
		<object-name>wheelfr</object-name>
		<property>velocities/uBody-fps</property>
		<factor>-4.973</factor>
		<center>
			<x-m>-2.8976</x-m>
			<y-m>0</y-m>
			<z-m>0.5809</z-m>
		</center>
		<axis>
			<x>0</x>
			<y>1</y>
			<z>0</z>
		</axis>
	</animation>
	
	<animation>
		<type>spin</type>
		<object-name>wheelrl</object-name>
		<object-name>wheelrr</object-name>
		<property>velocities/uBody-fps</property>
		<factor>-4.973</factor>
		<center>
			<x-m>2.0501</x-m>
			<y-m>0</y-m>
			<z-m>0.5735</z-m>
		</center>
		<axis>
			<x>0</x>
			<y>1</y>
			<z>0</z>
		</axis>
	</animation>
	
	<animation>
		<type>select</type>
		<condition>
			<property alias="/params/visible" />
		</condition>
	</animation>
	
	<animation>
		<type>rotate</type>
		<condition>
			<greater-than>
				<property alias="/params/position" />
				<value>0.99</value>
			</greater-than>
		</condition>
		<property>gear/gear[0]/steering-norm</property>
		<factor alias="/params/max-nw-degree" />
		<center>
			<x-m>0</x-m>
			<y-m>0</y-m>
			<z-m>0</z-m>
		</center>
		<axis>
			<x>0</x>
			<y>0</y>
			<z>1</z>
		</axis>
	</animation>
	
	<!-- change heading of the pushback when driving the arc -->
	<animation>
		<type>rotate</type>
		<property alias="/params/position" />
		<factor>-90</factor>
		<offset-deg>90</offset-deg>
		<center>
			<x-m>0</x-m>
			<y-m>0</y-m>
			<z-m>0</z-m>
		</center>
		<axis>
			<x>0</x>
			<y>0</y>
			<z>1</z>
		</axis>
	</animation>
	
	<!-- compensate for gear compression -->
	<animation>
		<type>translate</type>
		<property>gear/gear[0]/compression-ft</property>
		<factor>0.3048</factor>
		<axis>
			<x>0</x>
			<y>0</y>
			<z>1</z>
		</axis>
	</animation>
	
	<!-- precalculated sin and asin to move the pushback on a 90deg arc, 25m radius -->
	<animation>
		<type>translate</type>
		<property alias="/params/position" />
		<interpolation>
			<entry><ind>1.000000</ind><dep>0.000000</dep></entry>
			<entry><ind>0.950000</ind><dep>1.961477</dep></entry>
			<entry><ind>0.900000</ind><dep>3.910862</dep></entry>
			<entry><ind>0.850000</ind><dep>5.836134</dep></entry>
			<entry><ind>0.800000</ind><dep>7.725425</dep></entry>
			<entry><ind>0.750000</ind><dep>9.567086</dep></entry>
			<entry><ind>0.700000</ind><dep>11.349763</dep></entry>
			<entry><ind>0.650000</ind><dep>13.062464</dep></entry>
			<entry><ind>0.600000</ind><dep>14.694631</dep></entry>
			<entry><ind>0.550000</ind><dep>16.236201</dep></entry>
			<entry><ind>0.500000</ind><dep>17.677670</dep></entry>
			<entry><ind>0.450000</ind><dep>19.010149</dep></entry>
			<entry><ind>0.400000</ind><dep>20.225425</dep></entry>
			<entry><ind>0.350000</ind><dep>21.316004</dep></entry>
			<entry><ind>0.300000</ind><dep>22.275163</dep></entry>
			<entry><ind>0.250000</ind><dep>23.096988</dep></entry>
			<entry><ind>0.200000</ind><dep>23.776413</dep></entry>
			<entry><ind>0.150000</ind><dep>24.309248</dep></entry>
			<entry><ind>0.100000</ind><dep>24.692209</dep></entry>
			<entry><ind>0.050000</ind><dep>24.922933</dep></entry>
			<entry><ind>0.000000</ind><dep>25.000000</dep></entry>
		</interpolation>
		<axis>
			<x>-1</x>
			<y>0</y>
			<z>0</z>
		</axis>
	</animation>
    <animation>
		<type>translate</type>
		<property alias="/params/position" />
		<interpolation>
			<entry><ind>1.000000</ind><dep>0.000000</dep></entry>
			<entry><ind>0.950000</ind><dep>0.077067</dep></entry>
			<entry><ind>0.900000</ind><dep>0.307791</dep></entry>
			<entry><ind>0.850000</ind><dep>0.690752</dep></entry>
			<entry><ind>0.800000</ind><dep>1.223587</dep></entry>
			<entry><ind>0.750000</ind><dep>1.903012</dep></entry>
			<entry><ind>0.700000</ind><dep>2.724837</dep></entry>
			<entry><ind>0.650000</ind><dep>3.683996</dep></entry>
			<entry><ind>0.600000</ind><dep>4.774575</dep></entry>
			<entry><ind>0.550000</ind><dep>5.989851</dep></entry>
			<entry><ind>0.500000</ind><dep>7.322330</dep></entry>
			<entry><ind>0.450000</ind><dep>8.763799</dep></entry>
			<entry><ind>0.400000</ind><dep>10.305369</dep></entry>
			<entry><ind>0.350000</ind><dep>11.937536</dep></entry>
			<entry><ind>0.300000</ind><dep>13.650238</dep></entry>
			<entry><ind>0.250000</ind><dep>15.432914</dep></entry>
			<entry><ind>0.200000</ind><dep>17.274575</dep></entry>
			<entry><ind>0.150000</ind><dep>19.163866</dep></entry>
			<entry><ind>0.100000</ind><dep>21.089138</dep></entry>
			<entry><ind>0.050000</ind><dep>23.038523</dep></entry>
			<entry><ind>0.000000</ind><dep>25.000000</dep></entry>
		</interpolation>
		<axis>
			<x>0</x>
			<y>-1</y>
			<z>0</z>
		</axis>
	</animation>
    <!-- compensate for pitch of aircraft, keep pushback level -->
	<animation>
		<type>rotate</type>
		<property>orientation/pitch-deg</property>
		<factor>-1</factor>
		<center>
			<x-m>0</x-m>
			<y-m>0</y-m>
			<z-m>0</z-m>
		</center>
		<axis>
			<x>0</x>
			<y>1</y>
			<z>0</z>
		</axis>
	</animation>
</PropertyList>
