Skip to content

Commit c5e676f

Browse files
authored
Add missing GPS Rescue Throttle PID debug fields (#4630)
Add missing GPS Rescue Throttle PID fields
1 parent 593ef30 commit c5e676f

File tree

1 file changed

+11
-0
lines changed

1 file changed

+11
-0
lines changed

src/js/debug.js

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -828,6 +828,17 @@ function update() {
828828
"debug[6]": "Pitch Forward Angle",
829829
"debug[7]": "dcmKp Gain",
830830
};
831+
DEBUG.fieldNames.GPS_RESCUE_THROTTLE_PID = {
832+
"debug[all]": "GPS Rescue throttle PID",
833+
"debug[0]": "Throttle P",
834+
"debug[1]": "Throttle D",
835+
"debug[2]": "Altitude",
836+
"debug[3]": "Target altitude",
837+
"debug[4]": "Throttle I",
838+
"debug[5]": "Tilt adjustment",
839+
"debug[6]": "Throttle D before lp smoothing",
840+
"debug[7]": "Throttle adjustment",
841+
};
831842
}
832843

833844
if (semver.gte(FC.CONFIG.apiVersion, API_VERSION_1_47)) {

0 commit comments

Comments
 (0)