1
0
Fork 0

Fix autopilot multikey commands

Replace `AoA Hold` to `FPA Hold`
This commit is contained in:
Roman Ludwicki 2022-04-22 23:04:21 +02:00
parent c55c17dd64
commit efe0b52674

View file

@ -875,24 +875,24 @@
<binding>
<command>nasal</command>
<script>
setprop("/autopilot/settings/target-pitch-degree", arg[0]);
setprop("/autopilot/settings/target-pitch-deg", arg[0]);
setprop("/autopilot/locks/altitude", "pitch-hold");
</script>
</binding>
</key>
</key>
<key n="111">
<name>o</name>
<desc>AoA hold</desc>
<key n="102">
<name>f</name>
<desc>FPA hold</desc>
<key n="901">
<name>%f</name>
<desc>AoA angle = %.1f degree</desc>
<desc>FPA = %.1f degree</desc>
<binding>
<command>nasal</command>
<script>
setprop("/autopilot/settings/target-aoa-degree", arg[0]);
setprop("/autopilot/locks/altitude", "aoa-hold");
setprop("/autopilot/settings/target-fpa-deg", arg[0]);
setprop("/autopilot/locks/altitude", "fpa-hold");
</script>
</binding>
</key>