Skip to content

Commit

Permalink
IMPROVEMENT: Use a post ArduPilot 4.5 logging method
Browse files Browse the repository at this point in the history
Also disable logging when no longer necessary
  • Loading branch information
amilcarlucas committed Jan 17, 2025
1 parent bc6e6af commit bb38dfc
Show file tree
Hide file tree
Showing 32 changed files with 46 additions and 18 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -244,7 +244,7 @@
"auto_changed_by": "",
"forced_parameters": {
"INS_LOG_BAT_OPT": { "New Value": 4, "Change Reason": "Logs measured data both before and after the filters for Filter Review Webtool usage" },
"LOG_BITMASK": { "New Value": 2242524, "Change Reason": "Logs Notch filter data and other control signals" },
"LOG_BITMASK": { "New Value": 2242558, "Change Reason": "Logs Notch filter data and other control signals" },
"LOG_FILE_DSRMROT": { "New Value": 1, "Change Reason": "One .bin log file per flight, not per battery/reboot" }
},
"old_filenames": ["13_logging.param"]
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -244,7 +244,7 @@
"auto_changed_by": "",
"forced_parameters": {
"INS_LOG_BAT_OPT": { "New Value": 4, "Change Reason": "Logs measured data both before and after the filters for Filter Review Webtool usage" },
"LOG_BITMASK": { "New Value": 2242524, "Change Reason": "Logs Notch filter data and other control signals" },
"LOG_BITMASK": { "New Value": 2242558, "Change Reason": "Logs Notch filter data and other control signals" },
"LOG_FILE_DSRMROT": { "New Value": 1, "Change Reason": "One .bin log file per flight, not per battery/reboot" }
},
"old_filenames": ["13_logging.param"]
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -241,7 +241,7 @@
"auto_changed_by": "",
"forced_parameters": {
"INS_LOG_BAT_OPT": { "New Value": 4, "Change Reason": "Logs measured data both before and after the filters for Filter Review Webtool usage" },
"LOG_BITMASK": { "New Value": 2242524, "Change Reason": "Logs Notch filter data and other control signals" },
"LOG_BITMASK": { "New Value": 2242558, "Change Reason": "Logs Notch filter data and other control signals" },
"LOG_FILE_DSRMROT": { "New Value": 1, "Change Reason": "One .bin log file per flight, not per battery/reboot" }
},
"old_filenames": ["13_logging.param"]
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -244,7 +244,7 @@
"auto_changed_by": "",
"forced_parameters": {
"INS_LOG_BAT_OPT": { "New Value": 4, "Change Reason": "Logs measured data both before and after the filters for Filter Review Webtool usage" },
"LOG_BITMASK": { "New Value": 2242524, "Change Reason": "Logs Notch filter data and other control signals" },
"LOG_BITMASK": { "New Value": 2242558, "Change Reason": "Logs Notch filter data and other control signals" },
"LOG_FILE_DSRMROT": { "New Value": 1, "Change Reason": "One .bin log file per flight, not per battery/reboot" }
},
"old_filenames": ["13_logging.param"]
Expand Down
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
INS_RAW_LOG_OPT,0 # Notch filters are configured, log less
LOG_BITMASK,145406 # Notch filters are configured, log less
QUIK_AUTO_FILTER,1
QUIK_AUTO_SAVE,0
QUIK_AXES,7
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
INS_LOG_BAT_MASK,0 # Will not use batch logging
INS_LOG_BAT_OPT,0 # Keep default value, use INS_RAW_LOG_OPT instead
INS_RAW_LOG_OPT,9 # Logs measured data both before and after the filters for Filter Review Webtool usage
LOG_BITMASK,2242524 # Logs Notch filter data and other control signals
LOG_BITMASK,2242558 # Logs Notch filter data and other control signals
LOG_FILE_DSRMROT,1 # One .bin log file per flight, not per battery/reboot
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
INS_RAW_LOG_OPT,0 # Notch filters are configured, log less
LOG_BITMASK,145406 # Notch filters are configured, log less
QUIK_AUTO_FILTER,1
QUIK_AUTO_SAVE,0
QUIK_AXES,7
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
INS_LOG_BAT_MASK,0 # Will not use batch logging
INS_LOG_BAT_OPT,0 # Keep default value, use INS_RAW_LOG_OPT instead
INS_RAW_LOG_OPT,9 # Logs measured data both before and after the filters for Filter Review Webtool usage
LOG_BITMASK,2242524 # Logs Notch filter data and other control signals
LOG_BITMASK,2242558 # Logs Notch filter data and other control signals
LOG_FILE_DSRMROT,1 # One .bin log file per flight, not per battery/reboot
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
INS_RAW_LOG_OPT,0 # Notch filters are configured, log less
LOG_BITMASK,145406 # Notch filters are configured, log less
QUIK_AUTO_FILTER,1
QUIK_AUTO_SAVE,0
QUIK_AXES,7
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
INS_LOG_BAT_MASK,0 # Will not use batch logging
INS_LOG_BAT_OPT,0
INS_RAW_LOG_OPT,0
LOG_BITMASK,2242524 # Logs Notch filter data and other control signals
LOG_BITMASK,2242558 # Logs Notch filter data and other control signals
LOG_FILE_DSRMROT,1 # One .bin log file per flight, not per battery/reboot
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
INS_RAW_LOG_OPT,0 # Notch filters are configured, log less
LOG_BITMASK,145406 # Notch filters are configured, log less
QUIK_AUTO_FILTER,1
QUIK_AUTO_SAVE,0
QUIK_AXES,7
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,5 +2,5 @@ INS_LOG_BAT_CNT,512 # the default of 1024 causes some problems with https://fir
INS_LOG_BAT_MASK,0 # Will not use batch logging
INS_LOG_BAT_OPT,0 # No extra options
INS_RAW_LOG_OPT,9 # Logs measured data both before and after the filters for Filter Review Webtool usage
LOG_BITMASK,2242524 # Logs Notch filter data and other control signals
LOG_BITMASK,2242558 # Logs Notch filter data and other control signals
LOG_FILE_DSRMROT,1 # One .bin log file per flight, not per battery/reboot
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
INS_RAW_LOG_OPT,0 # Notch filters are configured, log less
LOG_BITMASK,145406 # Notch filters are configured, log less
QUIK_AUTO_FILTER,1
QUIK_AUTO_SAVE,0
QUIK_AXES,7
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
INS_LOG_BAT_MASK,0 # Will not use batch logging
INS_LOG_BAT_OPT,0 # Keep default value, use INS_RAW_LOG_OPT instead
INS_RAW_LOG_OPT,9 # Logs measured data both before and after the filters for Filter Review Webtool usage
LOG_BITMASK,2242524 # Logs Notch filter data and other control signals
LOG_BITMASK,2242558 # Logs Notch filter data and other control signals
LOG_FILE_DSRMROT,1 # One .bin log file per flight, not per battery/reboot
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
INS_RAW_LOG_OPT,0 # Notch filters are configured, log less
LOG_BITMASK,145406 # Notch filters are configured, log less
QUIK_AUTO_FILTER,1
QUIK_AUTO_SAVE,0
QUIK_AXES,7
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
INS_LOG_BAT_MASK,0 # Will not use batch logging
INS_LOG_BAT_OPT,0 # Keep default value, use INS_RAW_LOG_OPT instead
INS_RAW_LOG_OPT,9 # Logs measured data both before and after the filters for Filter Review Webtool usage
LOG_BITMASK,2242524 # Logs Notch filter data and other control signals
LOG_BITMASK,2242558 # Logs Notch filter data and other control signals
LOG_FILE_DSRMROT,1 # One .bin log file per flight, not per battery/reboot
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
INS_RAW_LOG_OPT,0 # Notch filters are configured, log less
LOG_BITMASK,145406 # Notch filters are configured, log less
QUIK_AUTO_FILTER,1
QUIK_AUTO_SAVE,0
QUIK_AXES,7
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
INS_LOG_BAT_MASK,0 # Will not use batch logging
INS_LOG_BAT_OPT,0 # Keep default value, use INS_RAW_LOG_OPT instead
INS_RAW_LOG_OPT,9 # Logs measured data both before and after the filters for Filter Review Webtool usage change this to 9
LOG_BITMASK,2242524 # Logs Notch filter data and other control signals
LOG_BITMASK,2242558 # Logs Notch filter data and other control signals
LOG_FILE_DSRMROT,1 # One .bin log file per flight, not per battery/reboot
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
INS_RAW_LOG_OPT,0 # Notch filters are configured, log less
LOG_BITMASK,145406 # Notch filters are configured, log less
QUIK_AUTO_FILTER,1
QUIK_AUTO_SAVE,0
QUIK_AXES,7
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,5 +2,5 @@ INS_LOG_BAT_CNT,512 # the default of 1024 causes some problems with https://fir
INS_LOG_BAT_MASK,0 # Will not use batch logging
INS_LOG_BAT_OPT,0 # Keep default value, use INS_RAW_LOG_OPT instead
INS_RAW_LOG_OPT,9 # Logs measured data both before and after the filters for Filter Review Webtool usage
LOG_BITMASK,2242524 # Logs Notch filter data and other control signals
LOG_BITMASK,2242558 # Logs Notch filter data and other control signals
LOG_FILE_DSRMROT,1 # One .bin log file per flight, not per battery/reboot
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
INS_RAW_LOG_OPT,0 # Notch filters are configured, log less
LOG_BITMASK,145406 # Notch filters are configured, log less
QUIK_AUTO_FILTER,1.0
QUIK_AUTO_SAVE,0.0
QUIK_AXES,7
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
INS_LOG_BAT_MASK,3 # The Matek H743 Slim flight controller only has two IMUs
INS_LOG_BAT_OPT,4 # Logs measured data both before and after the filters for Filter Review Webtool usage
INS_RAW_LOG_OPT,0 # To get more Notch filter data
LOG_BITMASK,2242524 # Logs Notch filter data and other control signals
LOG_BITMASK,2242558 # Logs Notch filter data and other control signals
LOG_FILE_DSRMROT,1 # One .bin log file per flight, not per battery/reboot
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
INS_RAW_LOG_OPT,0 # Notch filters are configured, log less
LOG_BITMASK,145406 # Notch filters are configured, log less
QUIK_AUTO_FILTER,1.0
QUIK_AUTO_SAVE,0.0
QUIK_AXES,7
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
INS_LOG_BAT_MASK,3 # The Matek H743 Slim flight controller only has two IMUs
INS_LOG_BAT_OPT,4 # Logs measured data both before and after the filters for Filter Review Webtool usage
INS_RAW_LOG_OPT,0 # To get more Notch filter data
LOG_BITMASK,2242524 # Logs Notch filter data and other control signals
LOG_BITMASK,2242558 # Logs Notch filter data and other control signals
LOG_FILE_DSRMROT,1 # One .bin log file per flight, not per battery/reboot
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
INS_RAW_LOG_OPT,0 # Notch filters are configured, log less
LOG_BITMASK,145406 # Notch filters are configured, log less
QUIK_AUTO_FILTER,1.0
QUIK_AUTO_SAVE,0.0
QUIK_AXES,7
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
INS_LOG_BAT_MASK,0 # Will not use batch logging
INS_LOG_BAT_OPT,0 # Keep default value, use INS_RAW_LOG_OPT instead
INS_RAW_LOG_OPT,9 # Logs measured data both before and after the filters for Filter Review Webtool usage
LOG_BITMASK,2242524 # Logs Notch filter data and other control signals
LOG_BITMASK,2242558 # Logs Notch filter data and other control signals
LOG_FILE_DSRMROT,1 # One .bin log file per flight, not per battery/reboot
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
INS_RAW_LOG_OPT,0 # Notch filters are configured, log less
LOG_BITMASK,145406 # Notch filters are configured, log less
QUIK_AUTO_FILTER,1
QUIK_AUTO_SAVE,0
QUIK_AXES,7
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
INS_LOG_BAT_MASK,0 # Will not use batch logging
INS_LOG_BAT_OPT,0 # Keep default value, use INS_RAW_LOG_OPT instead
INS_RAW_LOG_OPT,9 # Logs measured data both before and after the filters for Filter Review Webtool usage
LOG_BITMASK,2242524 # Logs Notch filter data and other control signals
LOG_BITMASK,2242558 # Logs Notch filter data and other control signals
LOG_FILE_DSRMROT,1 # One .bin log file per flight, not per battery/reboot
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
INS_RAW_LOG_OPT,0 # Notch filters are configured, log less
LOG_BITMASK,145406 # Notch filters are configured, log less
QUIK_AUTO_FILTER,1.0
QUIK_AUTO_SAVE,0.0
QUIK_AXES,7
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -252,7 +252,7 @@
"auto_changed_by": "",
"forced_parameters": {
"INS_LOG_BAT_OPT": { "New Value": 4, "Change Reason": "Logs measured data both before and after the filters for Filter Review Webtool usage" },
"LOG_BITMASK": { "New Value": 2242524, "Change Reason": "Logs Notch filter data and other control signals" },
"LOG_BITMASK": { "New Value": 2242558, "Change Reason": "Logs Notch filter data and other control signals" },
"LOG_FILE_DSRMROT": { "New Value": 1, "Change Reason": "One .bin log file per flight, not per battery/reboot" }
},
"old_filenames": ["13_logging.param"]
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
INS_LOG_BAT_MASK,0 # Will not use batch logging
INS_LOG_BAT_OPT,0 # Keep default value, use INS_RAW_LOG_OPT instead
INS_RAW_LOG_OPT,0 # No logging needed
LOG_BITMASK,2242524 # Logs Notch filter data and other control signals
LOG_BITMASK,2242558 # Logs Notch filter data and other control signals
LOG_FILE_DSRMROT,1 # One .bin log file per flight, not per battery/reboot
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
INS_RAW_LOG_OPT,0 # Notch filters are configured, log less
LOG_BITMASK,145406 # Notch filters are configured, log less
QUIK_AUTO_FILTER,1
QUIK_AUTO_SAVE,0
QUIK_AXES,7
Expand Down

0 comments on commit bb38dfc

Please sign in to comment.