<?xml version="1.0"?>

<!-- Instrumentation Drivers -->
<!-- Copyright (c) 2026 Josh Davidson (Octal450) -->

<PropertyList>
	
	<!-- Slowed values used in dc-10-instrumentation.xml -->
	<filter>
		<name>Mach Slow</name>
		<update-interval-secs>1.0</update-interval-secs>
		<type>gain</type>
		<gain>1.0</gain>
		<input>/instrumentation/airspeed-indicator/indicated-mach</input>
		<output>/instrumentation/airspeed-indicator/indicated-mach-slow</output>
	</filter>
	
	<filter>
		<name>TAS Slow</name>
		<update-interval-secs>1.0</update-interval-secs>
		<type>gain</type>
		<gain>1.0</gain>
		<input>/instrumentation/airspeed-indicator/true-speed-kt</input>
		<output>/instrumentation/airspeed-indicator/true-speed-kt-slow</output>
	</filter>
	
	<!-- RMI -->
	<filter>
		<name>RMI 1 NAV 1 Error</name>
		<type>gain</type>
		<gain>1.0</gain>
		<input>
			<condition>
				<property>/instrumentation/nav[0]/in-range</property>
			</condition>
			<property>/instrumentation/nav[0]/heading-deg</property>
			<offset>
				<property>/instrumentation/rmi[0]/heading-true-input</property>
				<scale>-1.0</scale>
			</offset>
		</input>
		<input>0</input>
		<output>/instrumentation/rmi[0]/nav1-error</output>
		<period>
			<min>-180</min>
			<max>180</max>
		</period>
	</filter>
	
	<filter>
		<name>RMI 1 NAV 2 Error</name>
		<type>gain</type>
		<gain>1.0</gain>
		<input>
			<condition>
				<property>/instrumentation/nav[1]/in-range</property>
			</condition>
			<property>/instrumentation/nav[1]/heading-deg</property>
			<offset>
				<property>/instrumentation/rmi[0]/heading-true-input</property>
				<scale>-1.0</scale>
			</offset>
		</input>
		<input>0</input>
		<output>/instrumentation/rmi[0]/nav2-error</output>
		<period>
			<min>-180</min>
			<max>180</max>
		</period>
	</filter>
	
	<filter>
		<name>RMI 2 NAV 1 Error</name>
		<type>gain</type>
		<gain>1.0</gain>
		<input>
			<condition>
				<property>/instrumentation/nav[0]/in-range</property>
			</condition>
			<property>/instrumentation/nav[0]/heading-deg</property>
			<offset>
				<property>/instrumentation/rmi[1]/heading-true-input</property>
				<scale>-1.0</scale>
			</offset>
		</input>
		<input>0</input>
		<output>/instrumentation/rmi[1]/nav1-error</output>
		<period>
			<min>-180</min>
			<max>180</max>
		</period>
	</filter>
	
	<filter>
		<name>RMI 2 NAV 2 Error</name>
		<type>gain</type>
		<gain>1.0</gain>
		<input>
			<condition>
				<property>/instrumentation/nav[1]/in-range</property>
			</condition>
			<property>/instrumentation/nav[1]/heading-deg</property>
			<offset>
				<property>/instrumentation/rmi[1]/heading-true-input</property>
				<scale>-1.0</scale>
			</offset>
		</input>
		<input>0</input>
		<output>/instrumentation/rmi[1]/nav2-error</output>
		<period>
			<min>-180</min>
			<max>180</max>
		</period>
	</filter>
	
	<filter>
		<name>RMI ADF 2 Error</name>
		<type>gain</type>
		<gain>1.0</gain>
		<input>
			<condition>
				<property>/instrumentation/adf[0]/in-range</property>
			</condition>
			<property>/instrumentation/adf[0]/indicated-bearing-deg</property>
		</input>
		<input>0</input>
		<output>/instrumentation/rmi[0]/adf1-error</output>
		<output>/instrumentation/rmi[1]/adf1-error</output>
		<period>
			<min>-180</min>
			<max>180</max>
		</period>
	</filter>
	
	<filter>
		<name>RMI ADF 2 Error</name>
		<type>gain</type>
		<gain>1.0</gain>
		<input>
			<condition>
				<property>/instrumentation/adf[1]/in-range</property>
			</condition>
			<property>/instrumentation/adf[1]/indicated-bearing-deg</property>
		</input>
		<input>0</input>
		<output>/instrumentation/rmi[0]/adf2-error</output>
		<output>/instrumentation/rmi[1]/adf2-error</output>
		<period>
			<min>-180</min>
			<max>180</max>
		</period>
	</filter>

</PropertyList>
