Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
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
12 changes: 11 additions & 1 deletion js/flightlog_fielddefs.js
Original file line number Diff line number Diff line change
Expand Up @@ -305,6 +305,16 @@ var
"D_MIN",
"AC_CORRECTION",
"AC_ERROR",
"DUAL_GYRO_SCALED",
"DSHOT_RPM_ERRORS",
"CRSF_LINK_STATISTICS_UPLINK",
"CRSF_LINK_STATISTICS_PWR",
"CRSF_LINK_STATISTICS_DOWN",
"BARO",
"GPS_RESCUE_THROTTLE_PID",
"DYN_IDLE",
"FF_LIMIT",
"FF_INTERPOLATED",
]),

SUPER_EXPO_YAW = makeReadOnly([
Expand Down Expand Up @@ -409,7 +419,7 @@ function adjustFieldDefsList(firmwareType, firmwareVersion) {
DEBUG_MODE.splice(DEBUG_MODE.indexOf('NOTCH'), 1, 'GYRO_SCALED');
}
if(semver.gte(firmwareVersion, '4.0.0')) {
DEBUG_MODE.splice(DEBUG_MODE.indexOf('RX_FRSKY_SPI'), 0, 'GYRO_RAW');
DEBUG_MODE.splice(DEBUG_MODE.indexOf('GYRO_RAW'), 0, 'RX_SFHSS_SPI');
}
if(semver.gte(firmwareVersion, '4.1.0')) {
DEBUG_MODE.splice(DEBUG_MODE.indexOf('DUAL_GYRO'), 1);
Expand Down
70 changes: 70 additions & 0 deletions js/flightlog_fields_presenter.js
Original file line number Diff line number Diff line change
Expand Up @@ -336,6 +336,76 @@ function FlightLogFieldPresenter() {
'debug[2]':'AC Error [yaw]',
'debug[3]':'Not Used',
},
'DUAL_GYRO_SCALED' : {
'debug[all]':'Dual Gyro Scaled',
'debug[0]':'Gyro 1 [roll]',
'debug[1]':'Gyro 1 [pitch]',
'debug[2]':'Gyro 2 [roll]',
'debug[3]':'Gyro 2 [pitch]',
},
'DSHOT_RPM_ERRORS' : {
'debug[all]':'DSHOT RPM Error',
'debug[0]':'DSHOT RPM Error [1]',
'debug[1]':'DSHOT RPM Error [2]',
'debug[2]':'DSHOT RPM Error [3]',
'debug[3]':'DSHOT RPM Error [4]',
},
'CRSF_LINK_STATISTICS_UPLINK' : {
'debug[all]':'CRSF Stats Uplink',
'debug[0]':'Uplink RSSI 1',
'debug[1]':'Uplink RSSI 2',
'debug[2]':'Uplink Link Quality',
'debug[3]':'RF Mode',
},
'CRSF_LINK_STATISTICS_PWR' : {
'debug[all]':'CRSF Stats Power',
'debug[0]':'Antenna',
'debug[1]':'SNR',
'debug[2]':'TX Power',
'debug[3]':'Not Used',
},
'CRSF_LINK_STATISTICS_DOWN' : {
'debug[all]':'CRSF Stats Downlink',
'debug[0]':'Downlink RSSI',
'debug[1]':'Downlink Link Quality',
'debug[2]':'Downlink SNR',
'debug[3]':'Not Used',
},
'BARO' : {
'debug[all]':'Debug Barometer',
'debug[0]':'Baro State',
'debug[1]':'Baro Temperature',
'debug[2]':'Baro Pressure',
'debug[3]':'Baro Pressure Sum',
},
'GPS_RESCUE_THROTTLE_PID' : {
'debug[all]':'GPS Rescue Throttle PID',
'debug[0]':'Throttle P',
'debug[1]':'Throttle I',
'debug[2]':'Throttle D',
'debug[3]':'Z Velocity',
},
'DYN_IDLE' : {
'debug[all]':'Dyn Idle',
'debug[0]':'Motor Range Min Inc',
'debug[1]':'Target RPS Change Rate',
'debug[2]':'Error',
'debug[3]':'Min RPS',
},
'FF_LIMIT' : {
'debug[all]':'FF Limit',
'debug[0]':'FF [Roll]',
'debug[1]':'FF [Pitch]',
'debug[2]':'FF Final [Roll]',
'debug[3]':'Not Used',
},
'FF_INTERPOLATED' : {
'debug[all]':'FF Interpolated',
'debug[0]':'Setpoint Delta Impl [Roll]',
'debug[1]':'Boost Amount',
'debug[2]':'Boost Amount Clip [Roll]',
'debug[3]':'Clip',
},
};

function presentFlags(flags, flagNames) {
Expand Down