Skip to content

Commit bc6e6af

Browse files
committed
IMPROVEMENT: Disable INS_LOG_BAT_MASK as from Peter Hall recomendation
1 parent 1028b4f commit bc6e6af

33 files changed

+21
-33
lines changed

ardupilot_methodic_configurator/configuration_steps_ArduCopter.json

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,6 @@
1616
"LOG_DISARMED": { "New Value": 1, "Change Reason": "Gather data for the offline IMU temperature calibration while the FC is disarmed" }
1717
},
1818
"derived_parameters": {
19-
"INS_LOG_BAT_MASK": { "New Value": "15 if 'INS_TCAL4_ENABLE' in fc_parameters else 7 if 'INS_TCAL3_ENABLE' in fc_parameters else 3 if 'INS_TCAL2_ENABLE' in fc_parameters else 1", "Change Reason": "Calculate IMU calibration for all IMUs, irrespective of their usage in a future step. Saves the trouble of recalibrating an inactive IMU if you later decide to activate it" },
2019
"INS_TCAL2_ENABLE": { "New Value": "2", "Change Reason": "Activates the temperature calibration for IMU 2 at the next start" },
2120
"INS_TCAL3_ENABLE": { "New Value": "2", "Change Reason": "Activates the temperature calibration for IMU 3 at the next start" },
2221
"BRD_HEAT_TARG": { "New Value": "65", "Change Reason": "Reasonable for most places on this planet" }

ardupilot_methodic_configurator/configuration_steps_ArduPlane.json

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,6 @@
1616
"LOG_DISARMED": { "New Value": 1, "Change Reason": "Gather data for the offline IMU temperature calibration while the FC is disarmed" }
1717
},
1818
"derived_parameters": {
19-
"INS_LOG_BAT_MASK": { "New Value": "15 if 'INS_TCAL4_ENABLE' in fc_parameters else 7 if 'INS_TCAL3_ENABLE' in fc_parameters else 3 if 'INS_TCAL2_ENABLE' in fc_parameters else 1", "Change Reason": "Calculate IMU calibration for all IMUs, irrespective of their usage in a future step. Saves the trouble of recalibrating an inactive IMU if you later decide to activate it" },
2019
"INS_TCAL2_ENABLE": { "New Value": "2", "Change Reason": "Activates the temperature calibration for IMU 2 at the next start" },
2120
"INS_TCAL3_ENABLE": { "New Value": "2", "Change Reason": "Activates the temperature calibration for IMU 3 at the next start" },
2221
"BRD_HEAT_TARG": { "New Value": "65", "Change Reason": "Reasonable for most places on this planet" }

ardupilot_methodic_configurator/configuration_steps_Heli.json

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,6 @@
1616
"LOG_DISARMED": { "New Value": 1, "Change Reason": "Gather data for the offline IMU temperature calibration while the FC is disarmed" }
1717
},
1818
"derived_parameters": {
19-
"INS_LOG_BAT_MASK": { "New Value": "15 if 'INS_TCAL4_ENABLE' in fc_parameters else 7 if 'INS_TCAL3_ENABLE' in fc_parameters else 3 if 'INS_TCAL2_ENABLE' in fc_parameters else 1", "Change Reason": "Calculate IMU calibration for all IMUs, irrespective of their usage in a future step. Saves the trouble of recalibrating an inactive IMU if you later decide to activate it" },
2019
"INS_TCAL2_ENABLE": { "New Value": "2", "Change Reason": "Activates the temperature calibration for IMU 2 at the next start" },
2120
"INS_TCAL3_ENABLE": { "New Value": "2", "Change Reason": "Activates the temperature calibration for IMU 3 at the next start" },
2221
"BRD_HEAT_TARG": { "New Value": "65", "Change Reason": "Reasonable for most places on this planet" }

ardupilot_methodic_configurator/configuration_steps_Rover.json

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,6 @@
1616
"LOG_DISARMED": { "New Value": 1, "Change Reason": "Gather data for the offline IMU temperature calibration while the FC is disarmed" }
1717
},
1818
"derived_parameters": {
19-
"INS_LOG_BAT_MASK": { "New Value": "15 if 'INS_TCAL4_ENABLE' in fc_parameters else 7 if 'INS_TCAL3_ENABLE' in fc_parameters else 3 if 'INS_TCAL2_ENABLE' in fc_parameters else 1", "Change Reason": "Calculate IMU calibration for all IMUs, irrespective of their usage in a future step. Saves the trouble of recalibrating an inactive IMU if you later decide to activate it" },
2019
"INS_TCAL2_ENABLE": { "New Value": "2", "Change Reason": "Activates the temperature calibration for IMU 2 at the next start" },
2120
"INS_TCAL3_ENABLE": { "New Value": "2", "Change Reason": "Activates the temperature calibration for IMU 3 at the next start" },
2221
"BRD_HEAT_TARG": { "New Value": "65", "Change Reason": "Reasonable for most places on this planet" }

ardupilot_methodic_configurator/vehicle_templates/ArduCopter/AirCar_v1/02_imu_temperature_calibration_setup.param

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,4 @@
11
BRD_HEAT_TARG,65 # Reasonable for most places on this planet
2-
INS_LOG_BAT_MASK,7 # Calculate IMU calibration for all IMUs, irrespective of their usage in a future step. Saves the trouble of recalibrating an inactive IMU if you later decide to activate it
32
INS_TCAL1_ENABLE,2 # Activates the temperature calibration for IMU 1 at the next start
43
INS_TCAL1_TMAX,55 # CubeOrange has an heater that heats up the board to almost 70 deg
54
INS_TCAL2_ENABLE,2 # Activates the temperature calibration for IMU 2 at the next start

ardupilot_methodic_configurator/vehicle_templates/ArduCopter/AirCar_v1/14_logging.param

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
INS_LOG_BAT_CNT,1024 # the default of 1024 causes some problems with https://firmware.ardupilot.org/Tools/WebTools/FilterReview/
2-
INS_LOG_BAT_MASK,3 # Will use 2 of 3 IMU
2+
INS_LOG_BAT_MASK,0 # Will not use batch logging
33
INS_LOG_BAT_OPT,0 # Keep default value, use INS_RAW_LOG_OPT instead
44
INS_RAW_LOG_OPT,9 # Logs measured data both before and after the filters for Filter Review Webtool usage
55
LOG_BITMASK,2242559 # Logs Notch filter data and other control signals

ardupilot_methodic_configurator/vehicle_templates/ArduCopter/Chimera7/02_imu_temperature_calibration_setup.param

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
INS_LOG_BAT_MASK,3 # the Matek H743 fligth controller only has two IMUs
1+
BRD_HEAT_TARG,65 # Reasonable for most places on this planet
22
INS_TCAL1_ENABLE,2 # Activates the temperature calibration for IMU 1 at the next start
33
INS_TCAL1_TMAX,70.26159 # our H7 processor acts as a heater and heats up the board to almost 60 deg
44
INS_TCAL2_ENABLE,2 # Activates the temperature calibration for IMU 2 at the next start

ardupilot_methodic_configurator/vehicle_templates/ArduCopter/Chimera7/14_logging.param

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
INS_LOG_BAT_MASK,3 # The Matek H743 Slim flight controller only has two IMUs
1+
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
44
LOG_BITMASK,2242524 # Logs Notch filter data and other control signals

ardupilot_methodic_configurator/vehicle_templates/ArduCopter/FETtec-5/02_imu_temperature_calibration_setup.param

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,4 @@
11
BRD_HEAT_TARG,65 # Reasonable for most places on this planet
2-
INS_LOG_BAT_MASK,7 # Calculate IMU calibration for all IMUs, irrespective of their usage in a future step. Saves the trouble of recalibrating an inactive IMU if you later decide to activate it
32
INS_TCAL1_ENABLE,2 # Activates the temperature calibration for IMU 1 at the next start
43
INS_TCAL1_TMAX,60 # heated IMU
54
INS_TCAL2_ENABLE,2 # Activates the temperature calibration for IMU 2 at the next start

ardupilot_methodic_configurator/vehicle_templates/ArduCopter/FETtec-5/14_logging.param

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
INS_LOG_BAT_MASK,3 # 2 IMUs on CubeOrange+
1+
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
44
LOG_BITMASK,2242524 # Logs Notch filter data and other control signals

0 commit comments

Comments
 (0)