<?xml version="1.0"?>

<PropertyList>
	
	<!--The wingtip and below-wing views are moved according to wingflex to mimic a camera mounted to the wing-->
	
	<filter>
		<type>gain</type>
		<gain>1</gain>
		<enable>
			<condition>
				<equals>
					<property>/sim/current-view/view-number-raw</property>
					<value>101</value>
				</equals>
			</condition>
		</enable>
		<input>
			<expression>
				<sum>
					<product>
						<property>sim/systems/wingflexer/z-m</property>
						<value>0.31</value>
					</product>
					<value>0.47</value>
				</sum>
			</expression>
		</input>
		<output>/sim/current-view/y-offset-m</output>
	</filter>
	<filter>
		<type>gain</type>
		<gain>1</gain>
		<enable>
			<condition>
				<equals>
					<property>/sim/current-view/view-number-raw</property>
					<value>100</value>
				</equals>
			</condition>
		</enable>
		<input>
			<expression>
				<sum>
					<product>
						<property>sim/systems/wingflexer/z-m</property>
						<value>0.055</value>
					</product>
					<value>-0.05</value>
				</sum>
			</expression>
		</input>
		<output>/sim/current-view/y-offset-m</output>
	</filter>
  
</PropertyList>
