mirror of
https://github.com/iNavFlight/inav-configurator.git
synced 2025-07-25 01:05:12 +03:00
add autotrim feature to configuration tab
This commit is contained in:
parent
6b091f3f66
commit
2f1cdcf5c2
2 changed files with 8 additions and 1 deletions
|
@ -611,6 +611,12 @@
|
||||||
"featureFW_LAUNCH": {
|
"featureFW_LAUNCH": {
|
||||||
"message": "Permanently enable Launch Mode for Fixed Wing"
|
"message": "Permanently enable Launch Mode for Fixed Wing"
|
||||||
},
|
},
|
||||||
|
"featureFW_AUTOTRIM": {
|
||||||
|
"message": "Continuously trim servos on Fixed Wing"
|
||||||
|
},
|
||||||
|
"featureFW_AUTOTRIMTip": {
|
||||||
|
"message": "When flying in a stabilzied mode, continuosusly adjust the servo midpoints so that the airplane keeps flying straight when switching to manual mode. Requires GPS."
|
||||||
|
},
|
||||||
"featureDYNAMIC_FILTERS": {
|
"featureDYNAMIC_FILTERS": {
|
||||||
"message": "Dynamic Gyro Filters"
|
"message": "Dynamic Gyro Filters"
|
||||||
},
|
},
|
||||||
|
|
3
js/fc.js
3
js/fc.js
|
@ -577,7 +577,8 @@ var FC = {
|
||||||
{bit: 30, group: 'other', name: 'FW_LAUNCH', haveTip: false, showNameInTip: false},
|
{bit: 30, group: 'other', name: 'FW_LAUNCH', haveTip: false, showNameInTip: false},
|
||||||
{bit: 2, group: 'other', name: 'TX_PROF_SEL', haveTip: false, showNameInTip: false},
|
{bit: 2, group: 'other', name: 'TX_PROF_SEL', haveTip: false, showNameInTip: false},
|
||||||
{bit: 0, group: 'other', name: 'THR_VBAT_COMP', haveTip: true, showNameInTip: true},
|
{bit: 0, group: 'other', name: 'THR_VBAT_COMP', haveTip: true, showNameInTip: true},
|
||||||
{bit: 3, group: 'other', name: 'BAT_PROFILE_AUTOSWITCH', haveTip: true, showNameInTip: true}
|
{bit: 3, group: 'other', name: 'BAT_PROFILE_AUTOSWITCH', haveTip: true, showNameInTip: true},
|
||||||
|
{bit: 31, group: 'other', name: "FW_AUTOTRIM", haveTip: true, showNameInTip: true}
|
||||||
];
|
];
|
||||||
|
|
||||||
if (semver.gte(CONFIG.flightControllerVersion, "2.4.0") && semver.lt(CONFIG.flightControllerVersion, "2.5.0")) {
|
if (semver.gte(CONFIG.flightControllerVersion, "2.4.0") && semver.lt(CONFIG.flightControllerVersion, "2.5.0")) {
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue