Skip to content

Commit bb38dfc

Browse files
committed
IMPROVEMENT: Use a post ArduPilot 4.5 logging method
Also disable logging when no longer necessary
1 parent bc6e6af commit bb38dfc

32 files changed

+46
-18
lines changed

ardupilot_methodic_configurator/configuration_steps_ArduCopter.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -244,7 +244,7 @@
244244
"auto_changed_by": "",
245245
"forced_parameters": {
246246
"INS_LOG_BAT_OPT": { "New Value": 4, "Change Reason": "Logs measured data both before and after the filters for Filter Review Webtool usage" },
247-
"LOG_BITMASK": { "New Value": 2242524, "Change Reason": "Logs Notch filter data and other control signals" },
247+
"LOG_BITMASK": { "New Value": 2242558, "Change Reason": "Logs Notch filter data and other control signals" },
248248
"LOG_FILE_DSRMROT": { "New Value": 1, "Change Reason": "One .bin log file per flight, not per battery/reboot" }
249249
},
250250
"old_filenames": ["13_logging.param"]

ardupilot_methodic_configurator/configuration_steps_ArduPlane.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -244,7 +244,7 @@
244244
"auto_changed_by": "",
245245
"forced_parameters": {
246246
"INS_LOG_BAT_OPT": { "New Value": 4, "Change Reason": "Logs measured data both before and after the filters for Filter Review Webtool usage" },
247-
"LOG_BITMASK": { "New Value": 2242524, "Change Reason": "Logs Notch filter data and other control signals" },
247+
"LOG_BITMASK": { "New Value": 2242558, "Change Reason": "Logs Notch filter data and other control signals" },
248248
"LOG_FILE_DSRMROT": { "New Value": 1, "Change Reason": "One .bin log file per flight, not per battery/reboot" }
249249
},
250250
"old_filenames": ["13_logging.param"]

ardupilot_methodic_configurator/configuration_steps_Heli.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -241,7 +241,7 @@
241241
"auto_changed_by": "",
242242
"forced_parameters": {
243243
"INS_LOG_BAT_OPT": { "New Value": 4, "Change Reason": "Logs measured data both before and after the filters for Filter Review Webtool usage" },
244-
"LOG_BITMASK": { "New Value": 2242524, "Change Reason": "Logs Notch filter data and other control signals" },
244+
"LOG_BITMASK": { "New Value": 2242558, "Change Reason": "Logs Notch filter data and other control signals" },
245245
"LOG_FILE_DSRMROT": { "New Value": 1, "Change Reason": "One .bin log file per flight, not per battery/reboot" }
246246
},
247247
"old_filenames": ["13_logging.param"]

ardupilot_methodic_configurator/configuration_steps_Rover.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -244,7 +244,7 @@
244244
"auto_changed_by": "",
245245
"forced_parameters": {
246246
"INS_LOG_BAT_OPT": { "New Value": 4, "Change Reason": "Logs measured data both before and after the filters for Filter Review Webtool usage" },
247-
"LOG_BITMASK": { "New Value": 2242524, "Change Reason": "Logs Notch filter data and other control signals" },
247+
"LOG_BITMASK": { "New Value": 2242558, "Change Reason": "Logs Notch filter data and other control signals" },
248248
"LOG_FILE_DSRMROT": { "New Value": 1, "Change Reason": "One .bin log file per flight, not per battery/reboot" }
249249
},
250250
"old_filenames": ["13_logging.param"]

ardupilot_methodic_configurator/vehicle_templates/ArduCopter/AirCar_v1/26_quick_tune_setup.param

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
1+
INS_RAW_LOG_OPT,0 # Notch filters are configured, log less
2+
LOG_BITMASK,145406 # Notch filters are configured, log less
13
QUIK_AUTO_FILTER,1
24
QUIK_AUTO_SAVE,0
35
QUIK_AXES,7
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
INS_LOG_BAT_MASK,0 # Will not use batch logging
22
INS_LOG_BAT_OPT,0 # Keep default value, use INS_RAW_LOG_OPT instead
33
INS_RAW_LOG_OPT,9 # Logs measured data both before and after the filters for Filter Review Webtool usage
4-
LOG_BITMASK,2242524 # Logs Notch filter data and other control signals
4+
LOG_BITMASK,2242558 # Logs Notch filter data and other control signals
55
LOG_FILE_DSRMROT,1 # One .bin log file per flight, not per battery/reboot

ardupilot_methodic_configurator/vehicle_templates/ArduCopter/Chimera7/26_quick_tune_setup.param

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
1+
INS_RAW_LOG_OPT,0 # Notch filters are configured, log less
2+
LOG_BITMASK,145406 # Notch filters are configured, log less
13
QUIK_AUTO_FILTER,1
24
QUIK_AUTO_SAVE,0
35
QUIK_AXES,7
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
INS_LOG_BAT_MASK,0 # Will not use batch logging
22
INS_LOG_BAT_OPT,0 # Keep default value, use INS_RAW_LOG_OPT instead
33
INS_RAW_LOG_OPT,9 # Logs measured data both before and after the filters for Filter Review Webtool usage
4-
LOG_BITMASK,2242524 # Logs Notch filter data and other control signals
4+
LOG_BITMASK,2242558 # Logs Notch filter data and other control signals
55
LOG_FILE_DSRMROT,1 # One .bin log file per flight, not per battery/reboot

ardupilot_methodic_configurator/vehicle_templates/ArduCopter/FETtec-5/26_quick_tune_setup.param

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
1+
INS_RAW_LOG_OPT,0 # Notch filters are configured, log less
2+
LOG_BITMASK,145406 # Notch filters are configured, log less
13
QUIK_AUTO_FILTER,1
24
QUIK_AUTO_SAVE,0
35
QUIK_AXES,7
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
INS_LOG_BAT_MASK,0 # Will not use batch logging
22
INS_LOG_BAT_OPT,0
33
INS_RAW_LOG_OPT,0
4-
LOG_BITMASK,2242524 # Logs Notch filter data and other control signals
4+
LOG_BITMASK,2242558 # Logs Notch filter data and other control signals
55
LOG_FILE_DSRMROT,1 # One .bin log file per flight, not per battery/reboot

0 commit comments

Comments
 (0)