diff --git a/_locales/en/messages.json b/_locales/en/messages.json
index ec145e16..03691f36 100755
--- a/_locales/en/messages.json
+++ b/_locales/en/messages.json
@@ -782,6 +782,9 @@
"pidTuningHideUnusedPids": {
"message": "Hide unused PIDs"
},
+ "pidTuningPidSettings": {
+ "message": "PID Controller Settings"
+ },
"pidTuningProportional": {
"message": "Proportional"
},
@@ -1742,16 +1745,22 @@
"configurationMagHardware": {
"message": "Magnetometer (if supported)"
},
- "PIDTip": {
+ "pidTuningProfile": {
+ "message": "Profile"
+ },
+ "pidTuningProfileTip": {
+ "message": "Up to 3 (2 for some controllers) different profiles can be stored on the flight controller. The profiles include all the settings on this tab. Once in the field, simple stick commands (see online instructions) can be used to switch between the profiles."
+ },
+ "pidTuningPidTip": {
"message": "Derivative from Error provides more direct stick response and is mostly prefered for Racing.
Derivative from Measurement provides smoother stick response what is more usefull for freestyling"
},
- "PIDControllerTip": {
+ "pidTuningPidControllerTip": {
"message": "Legacy vs Betaflight (float): PID scaling and PID logic is exactly the same. Not necessarily retune needed. Legacy is old betaflight evolved rewrite, which is basic PID controller based on integer math. Betaflight PID controller uses floating point math and has many new features specifically designed for multirotor applications
Float vs Integer: PID scaling and PID logic is exactly the same. No retune needed. F1 boards have no onboard FPU and floating point math increases CPU load and integer math will improve performance, but float math might gain slightly more precision."
},
- "FilterTip": {
+ "pidTuningFilterTip": {
"message": "Gyro Soft Filter: Lowpass filter for gyro. Use lower value for more filtering.
D Term Filter: Lowpass filter for Dterm. Can affect D tuning. Use lower value for more filtering.
Yaw Filter: Filters yaw output. It can help on setups with noisy yaw axis."
},
- "PIDTuningTip": {
+ "pidTuningPidTuningTip": {
"message": "Proportional: You will notice a very strong resistant force to any attempts to move the MultiRotor
Integral: Increase the ability to hold overall initial position and reduce drift, but also increase the delay in returning to initial position.
Derivative: Improves the speed at which deviations are recovered, but increases noise
Rates and Expo: Determine your stick feel based on these parameters. Use the graph and live 3D model to find your favourite rate setting"
},
"pidTuningRatesTip": {
diff --git a/js/msp.js b/js/msp.js
index 09c15d67..dbf74f21 100755
--- a/js/msp.js
+++ b/js/msp.js
@@ -283,7 +283,7 @@ var MSP = {
CONFIG.activeSensors = data.getUint16(4, 1);
CONFIG.mode = data.getUint32(6, 1);
CONFIG.profile = data.getUint8(10);
- $('select[name="profilechange"]').val(CONFIG.profile);
+ $('.tab-pid_tuning select[name="profilechange"]').val(CONFIG.profile);
sensor_status(CONFIG.activeSensors);
$('span.i2c-error').text(CONFIG.i2cError);
@@ -297,9 +297,10 @@ var MSP = {
CONFIG.profile = data.getUint8(10);
CONFIG.cpuload = data.getUint16(11, 1);
CONFIG.numProfiles = data.getUint8(13);
- $('select[name="profilechange"]').val(CONFIG.profile);
- if (CONFIG.numProfiles === 2) {
- $('select[name="profilechange"] .profile3').hide();
+ $('.tab-pid_tuning select[name="profilechange"]').val(CONFIG.profile);
+ if (semver.gte(CONFIG.flightControllerVersion, "3.0.0")
+ && CONFIG.numProfiles === 2) {
+ $('.tab-pid_tuning select[name="profilechange"] .profile3').hide();
}
sensor_status(CONFIG.activeSensors);
diff --git a/main.css b/main.css
index a08fc399..c929989f 100644
--- a/main.css
+++ b/main.css
@@ -1516,15 +1516,6 @@ dialog {
}
-#profile_change {
- color:white;
- margin-top: 16px;
- width:125px;
- float: right;
- margin-right: 0px;
- line-height: 12px;
-}
-
.dataflash-contents_global {
margin-top: 18px;
border: 1px solid #4A4A4A;
diff --git a/main.html b/main.html
index 76cabecd..c6b6513c 100755
--- a/main.html
+++ b/main.html
@@ -145,17 +145,6 @@