Skip to content
Merged
Show file tree
Hide file tree
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 3 additions & 0 deletions src/flightlog_fielddefs.js
Original file line number Diff line number Diff line change
Expand Up @@ -559,6 +559,9 @@ export function adjustFieldDefsList(firmwareType, firmwareVersion) {
DEBUG_MODE.push('GIMBAL');
DEBUG_MODE.push('WING_SETPOINT');
DEBUG_MODE.push('AUTOPILOT_POSITION');
DEBUG_MODE.push('CHIRP');
DEBUG_MODE.push('FLASH_TEST_PRBS');
DEBUG_MODE.push('MAVLINK_TELEMETRY');
}
if (semver.gte(firmwareVersion, "2025.12.0")) {
//rename DUAL_GYRO_ to MULTI_GYRO
Expand Down
7 changes: 7 additions & 0 deletions src/flightlog_fields_presenter.js
Original file line number Diff line number Diff line change
Expand Up @@ -1134,6 +1134,13 @@ const DEBUG_FRIENDLY_FIELD_NAMES_INITIAL = {
"debug[4]": "Stick Limit",
"debug[5]": "Speed Limit",
},
MAVLINK_TELEMETRY: {
"debug[all]": "MAVLink telemetry",
"debug[0]": "Should send telemetry",
"debug[1]": "Actual free TX buffers space",
"debug[2]": "Estimated free TX buffers space",
"debug[3]": "Telemetries call counter",
},
};

let DEBUG_FRIENDLY_FIELD_NAMES = null;
Expand Down
38 changes: 34 additions & 4 deletions src/graph_config.js
Original file line number Diff line number Diff line change
Expand Up @@ -596,7 +596,7 @@ GraphConfig.getDefaultCurveForField = function (flightLog, fieldName) {
min: 0,
max: 1,
},
};
};
case "debug[6]": // outlier count 0-3
case "debug[7]": // valid count 0-3
return {
Expand All @@ -605,7 +605,7 @@ GraphConfig.getDefaultCurveForField = function (flightLog, fieldName) {
min: 0,
max: 50, // put them at the very bottom
},
};
};
default:
return getCurveForMinMaxFields(fieldName);
}
Expand Down Expand Up @@ -859,15 +859,15 @@ GraphConfig.getDefaultCurveForField = function (flightLog, fieldName) {
min: 0,
max: 1,
},
};
};
case "debug[7]": // smoothed Rx Rate Hz
return {
power: 1.0,
MinMax: {
min: 0,
max: 1200,
},
};
};
default:
return getCurveForMinMaxFields(fieldName);
}
Expand Down Expand Up @@ -1454,6 +1454,36 @@ GraphConfig.getDefaultCurveForField = function (flightLog, fieldName) {
default:
return getCurveForMinMaxFields(fieldName);
}
case "MAVLINK_TELEMETRY":
switch (fieldName) {
case "debug[0]":
return {
power: 1.0,
MinMax: {
min: 0,
max: 1,
},
};
case "debug[1]":
case "debug[2]":
return {
power: 1.0,
MinMax: {
min: 0,
max: 100,
},
};
case "debug[3]":
return {
power: 1.0,
MinMax: {
min: 0,
max: 50,
},
};
default:
return getCurveForMinMaxFields(fieldName);
}
}
}
// if not found above then
Expand Down