<?xml version="1.0"?>
<!--
    This file is part of do228

    The do228 is free software: you can redistribute it and/or modify
    it under the terms of the GNU General Public License as published by
    the Free Software Foundation, either version 2 of the License, or
    (at your option) any later version.

    The do228 is distributed in the hope that it will be useful,
    but WITHOUT ANY WARRANTY; without even the implied warranty of
    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
    GNU General Public License for more details.

    You should have received a copy of the GNU General Public License
    along with do228.  If not, see <http://www.gnu.org/licenses/>.

    Dornier DO228 simulation by Benedikt Wolf (D-ECHO)
    Started 06/2020
-->
				
<PropertyList>

	<path>rsd.ac</path>
	
	<animation>
		<type>rotate</type>
		<object-name>rsd.off_flag</object-name>
		<property>instrumentation/rsd/off-flag</property>
		<factor>90</factor>
		<center>
			<x-m>-0.002384</x-m>
			<z-m> 0.00249 </z-m>
		</center>
		<axis>
			<y>1</y>
		</axis>
	</animation>
	
	<animation>
		<type>rotate</type>
		<object-name>rsd.needle</object-name>
		<property>instrumentation/rsd/rsd-needle</property>
		<factor>-42</factor>
		<center>
			<z-m>-0.010765</z-m>
		</center>
		<axis>
			<x>1</x>
		</axis>
	</animation>
	
	<animation>
		<type>pick</type>
		<object-name>rsd.stall_warn</object-name>
		<action>
			<button>0</button>
			<binding>
				<command>property-assign</command>
				<property>instrumentation/rsd/stall-warning/pushed</property>
				<value>1</value>
			</binding>
			<mod-up>
				<binding>
					<command>property-assign</command>
					<property>instrumentation/rsd/stall-warning/pushed</property>
					<value>0</value>
				</binding>
			</mod-up>
		</action>
	</animation>
	<animation>
		<type>translate</type>
		<object-name>rsd.stall_warn</object-name>
		<property>instrumentation/rsd/stall-warning/pushed</property>
		<factor>-0.003</factor>
		<axis>
			<x>1</x>
		</axis>
	</animation>
	<animation>
		<type>material</type>
		<object-name>rsd.stall_warn</object-name>
		<condition>
			<property>instrumentation/rsd/stall-warning/active</property>
		</condition>
		<emission>
			<red>1.0</red>
			<green>1.0</green>
			<blue>1.0</blue>
		</emission>
	</animation>
    
</PropertyList>
