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


<!-- SETTINGS -->

<!DOCTYPE PropertyList [
 <!-- Property defining whether the pushback is connected. -->
 <!ENTITY CONNECTED-PROP "sim/model/autopush/connected">
 <!-- Property for aircraft's front wheel rollspeed in m/s. -->
 <!ENTITY ROLLSPEED-PROP "gear/gear[0]/rollspeed-ms">
 <!-- Property for front wheel steering. -->
 <!ENTITY YAW-PROP "sim/model/autopush/yaw">
 <!-- Scaling factor for the steering property, must be equal to /sim/model/autopush/yaw-mult. -->
 <!ENTITY YAW-MULT "1.0">
 <!-- Property for gear compression in ft. -->
 <!ENTITY COMPRESSION-PROP "gear/gear[0]/compression-ft">
 <!-- Property for aircraft pitch in degrees, or pushback's pitch if it is variable. -->
 <!ENTITY PITCH-PROP "orientation/pitch-deg">
 <!-- Scaling factor for the pitch property. -->
 <!ENTITY PITCH-FACTOR "0.0">
 <!-- Pitch offset, must be equal to /sim/model/autopush/pitch-deg. If pitch is variable, must be "0.0". -->
 <!ENTITY PITCH-OFFSET "0.0">
]>


<!--

AUTOPUSH

Copyright (c) 2018 Autopush authors:
 Michael Danilov <mike.d.ft402 -eh- gmail.com>
 Joshua Davidson http://github.com/Octal450
 Merspieler http://github.com/merspieler
Original code (c) FlightGear
Distribute under the terms of GPLv2.

-->


<PropertyList>
  <path>Models/Airport/Pushback/Goldhofert.ac</path>

  <!-- Trucks models and artworks courtesy of XPGoodWay Team
(http://www.xpgoodwayteam.org/site_xpushback/) -->

  <model>
    <path>Models/Airport/Pushback/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>Models/Airport/Pushback/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>

 <animation>
   <type>spin</type>
   <object-name>wheelfl</object-name>
   <object-name>wheelfr</object-name>
   <property>&ROLLSPEED-PROP;</property>
   <factor>-16.3</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>&ROLLSPEED-PROP;</property>
   <factor>-16.3</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>&CONNECTED-PROP;</property>
   </condition>
 </animation>

 <animation>
   <type>rotate</type>
   <property>&YAW-PROP;</property>
   <factor>&YAW-MULT;</factor>
   <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>

 <animation>
   <type>translate</type>
   <property>&COMPRESSION-PROP;</property>
   <factor>0.3048</factor>
   <axis>
     <x>0</x>
     <y>0</y>
     <z>1</z>
   </axis>
 </animation>

 <animation>
   <type>rotate</type>
   <property>&PITCH-PROP;</property>
   <factor>&PITCH-FACTOR;</factor>
   <offset-deg>&PITCH-OFFSET;</offset-deg>
   <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>
