1
0
Fork 0
mirror of https://github.com/iNavFlight/inav-configurator.git synced 2025-07-24 16:55:22 +03:00

Merge pull request #166 from iNavFlight/pid-names

some rationalization in PID table generation and PID names no longer …
This commit is contained in:
Paweł Spychalski 2017-03-15 18:28:56 +01:00 committed by GitHub
commit 5e214f6fab
4 changed files with 88 additions and 104 deletions

View file

@ -742,5 +742,24 @@ var FC = {
"Attitude",
"Cruise"
]
},
getPidNames: function () {
if (semver.lt(CONFIG.flightControllerVersion, "1.6.0")) {
return PID_names;
} else {
return [
'Roll',
'Pitch',
'Yaw',
'Position Z',
'Position XY',
'Velocity XY',
'Surface',
'Level',
'Heading',
'Velocity Z'
];
}
}
};