- Code: Select all
<pi-simple-controller>
<name>Roll</name>
<debug>false</debug>
<enable>
<condition>
<equals>
<property>instrumentation/fgc-65/internal/lateral</property>
<value>ROLL</value>
</equals>
</condition>
</enable>
<input>
<property>/orientation/roll-deg</property>
</input>
<reference>
<property>instrumentation/fgc-65/settings/roll</property>
</reference>
<output>
<property>instrumentation/fgc-65/internal/fd/roll</property>
</output>
<config>
<Kp>1.0</Kp>
<Ki>0.0</Ki>
<min>
<property>instrumentation/fgc-65/app-65a/BANK</property>
<scale>-30.0</scale>
</min>
<max>
<property>instrumentation/fgc-65/app-65a/BANK</property>
<scale>30.0</scale>
</max>
</config>
</pi-simple-controller>
This is what I have tried
- Code: Select all
<filter>
<name>Roll</name>
<debug>false</debug>
<enable>
<condition>
<equals>
<property>instrumentation/fgc-65/internal/lateral</property>
<value>ROLL</value>
</equals>
</condition>
</enable>
<type>gain</type>
<input>
<property>/orientation/roll-deg</property>
</input>
<reference>
<property>instrumentation/fgc-65/settings/roll</property>
</reference>
<gain>1.0</gain>
<output>
<property>instrumentation/fgc-65/internal/fd/roll</property>
</output>
<min>
<property>instrumentation/fgc-65/app-65a/BANK</property>
<scale>-30.0</scale>
</min>
<max>
<property>instrumentation/fgc-65/app-65a/BANK</property>
<scale>30.0</scale>
</max>
</filter>