From bd14f22f05d28d3e44889ba67ad6574b8b76b63a Mon Sep 17 00:00:00 2001 From: Mark Haslinghuis Date: Tue, 11 Feb 2025 20:08:05 +0100 Subject: [PATCH] Add CHIRP debug mode (#4340) Add CHIRP debug --- src/js/debug.js | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/src/js/debug.js b/src/js/debug.js index 48f3abd9..f4c1bb4e 100644 --- a/src/js/debug.js +++ b/src/js/debug.js @@ -783,6 +783,10 @@ const DEBUG = { "debug[4]": "Current Setpoint [yaw]", "debug[5]": "Adjusted Setpoint [yaw]", }, + CHIRP: { + "debug[all]": "Chirp", + "debug[0]": "Chirp sinarg", + }, }, enableFields: [ @@ -823,6 +827,7 @@ function update() { DEBUG.modes.splice(DEBUG.modes.indexOf("GYRO_SCALED"), 1); DEBUG.modes.splice(DEBUG.modes.indexOf("RANGEFINDER_QUALITY") + 1, 0, "OPTICALFLOW"); DEBUG.modes.push("AUTOPILOT_POSITION"); + DEBUG.modes.push("CHIRP"); delete DEBUG.fieldNames.GPS_RESCUE_THROTTLE_PID; delete DEBUG.fieldNames.GYRO_SCALED;