<?xml version="1.0"?>


<system name="">
    
    <channel name="Roll">
        
        <summer name="Roll Trim Sum">
            <input>fcs/aileron-cmd-norm</input>
            <input>fcs/roll-trim-cmd-norm</input>
            <clipto>
                <min>-1</min>
                <max>1</max>
            </clipto>
            <output>fcs/aileron-pos-norm</output>
        </summer>
        
        <pure_gain name="Aileron Position">
            <input>fcs/aileron-pos-norm</input>
            <gain>1</gain>
            <output>/surface-positions/aileron-pos-norm</output>
        </pure_gain>
        
        <aerosurface_scale name="Left Aileron Control">
            <input>fcs/roll-trim-sum</input>
            <range>
                <min> -0.20 </min>
                <max>  0.20 </max>
            </range>
            <output>fcs/left-aileron-pos-rad</output>
        </aerosurface_scale>
        
        <aerosurface_scale name="Right Aileron Control">
            <input>fcs/roll-trim-sum</input>
            <range>
                <min> -0.20 </min>
                <max>  0.20 </max>
            </range>
            <output>fcs/right-aileron-pos-rad</output>
        </aerosurface_scale>
        
    </channel>
    
</system>
