ardupilot-methodic-configurator 2.5.0__py3-none-any.whl → 2.6.0__py3-none-any.whl

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.

Potentially problematic release.


This version of ardupilot-methodic-configurator might be problematic. Click here for more details.

Files changed (101) hide show
  1. ardupilot_methodic_configurator/__init__.py +1 -1
  2. ardupilot_methodic_configurator/backend_filesystem_program_settings.py +15 -20
  3. ardupilot_methodic_configurator/configuration_manager.py +113 -1
  4. ardupilot_methodic_configurator/data_model_configuration_step.py +40 -3
  5. ardupilot_methodic_configurator/frontend_tkinter_base_window.py +4 -0
  6. ardupilot_methodic_configurator/frontend_tkinter_component_editor_base.py +1 -1
  7. ardupilot_methodic_configurator/frontend_tkinter_motor_test.py +853 -0
  8. ardupilot_methodic_configurator/frontend_tkinter_parameter_editor.py +8 -12
  9. ardupilot_methodic_configurator/frontend_tkinter_parameter_editor_table.py +78 -108
  10. ardupilot_methodic_configurator/frontend_tkinter_usage_popup_window.py +11 -6
  11. ardupilot_methodic_configurator/vehicle_templates/ArduCopter/Holybro_X500/07_esc.param +1 -1
  12. ardupilot_methodic_configurator/vehicle_templates/ArduCopter/Holybro_X500/42_system_id_roll.param +5 -3
  13. ardupilot_methodic_configurator/vehicle_templates/ArduCopter/Holybro_X500/43_system_id_pitch.param +3 -3
  14. ardupilot_methodic_configurator/vehicle_templates/ArduCopter/Holybro_X500/44_system_id_yaw.param +1 -1
  15. ardupilot_methodic_configurator/vehicle_templates/ArduCopter/Holybro_X500/vehicle.jpg +0 -0
  16. ardupilot_methodic_configurator/vehicle_templates/ArduCopter/Holybro_X500/vehicle_components.json +3 -4
  17. ardupilot_methodic_configurator/vehicle_templates/ArduCopter/Holybro_X500_V2/05_remote_controller.param +7 -7
  18. ardupilot_methodic_configurator/vehicle_templates/ArduCopter/Holybro_X500_V2/06_telemetry.param +2 -0
  19. ardupilot_methodic_configurator/vehicle_templates/ArduCopter/Holybro_X500_V2/07_esc.param +6 -6
  20. ardupilot_methodic_configurator/vehicle_templates/ArduCopter/Holybro_X500_V2/10_gnss.param +4 -4
  21. ardupilot_methodic_configurator/vehicle_templates/ArduCopter/Holybro_X500_V2/13_general_configuration.param +5 -5
  22. ardupilot_methodic_configurator/vehicle_templates/ArduCopter/Holybro_X500_V2/15_motor.param +1 -1
  23. ardupilot_methodic_configurator/vehicle_templates/ArduCopter/Holybro_X500_V2/16_pid_adjustment.param +10 -10
  24. ardupilot_methodic_configurator/vehicle_templates/ArduCopter/Holybro_X500_V2/18_notch_filter_setup.param +3 -3
  25. ardupilot_methodic_configurator/vehicle_templates/ArduCopter/Holybro_X500_V2/20_throttle_controller.param +1 -1
  26. ardupilot_methodic_configurator/vehicle_templates/ArduCopter/Holybro_X500_V2/22_quick_tune_setup.param +1 -1
  27. ardupilot_methodic_configurator/vehicle_templates/ArduCopter/Holybro_X500_V2/26_quick_tune_setup.param +2 -2
  28. ardupilot_methodic_configurator/vehicle_templates/ArduCopter/Holybro_X500_V2/30_autotune_roll_setup.param +1 -0
  29. ardupilot_methodic_configurator/vehicle_templates/ArduCopter/Holybro_X500_V2/34_autotune_yaw_setup.param +1 -1
  30. ardupilot_methodic_configurator/vehicle_templates/ArduCopter/Holybro_X500_V2/37_autotune_yawd_results.param +1 -1
  31. ardupilot_methodic_configurator/vehicle_templates/ArduCopter/Holybro_X500_V2/vehicle.jpg +0 -0
  32. ardupilot_methodic_configurator/vehicle_templates/ArduCopter/TarotFY680Hexacopter/00_default.param +1352 -0
  33. ardupilot_methodic_configurator/vehicle_templates/ArduCopter/TarotFY680Hexacopter/02_imu_temperature_calibration_setup.param +8 -0
  34. ardupilot_methodic_configurator/vehicle_templates/ArduCopter/TarotFY680Hexacopter/03_imu_temperature_calibration_results.param +42 -0
  35. ardupilot_methodic_configurator/vehicle_templates/ArduCopter/TarotFY680Hexacopter/04_board_orientation.param +4 -0
  36. ardupilot_methodic_configurator/vehicle_templates/ArduCopter/TarotFY680Hexacopter/05_remote_controller.param +13 -0
  37. ardupilot_methodic_configurator/vehicle_templates/ArduCopter/TarotFY680Hexacopter/06_telemetry.param +4 -0
  38. ardupilot_methodic_configurator/vehicle_templates/ArduCopter/TarotFY680Hexacopter/07_esc.param +43 -0
  39. ardupilot_methodic_configurator/vehicle_templates/ArduCopter/TarotFY680Hexacopter/08_batt1.param +15 -0
  40. ardupilot_methodic_configurator/vehicle_templates/ArduCopter/TarotFY680Hexacopter/10_gnss.param +11 -0
  41. ardupilot_methodic_configurator/vehicle_templates/ArduCopter/TarotFY680Hexacopter/11_initial_atc.param +18 -0
  42. ardupilot_methodic_configurator/vehicle_templates/ArduCopter/TarotFY680Hexacopter/12_mp_setup_mandatory_hardware.param +99 -0
  43. ardupilot_methodic_configurator/vehicle_templates/ArduCopter/TarotFY680Hexacopter/13_general_configuration.param +17 -0
  44. ardupilot_methodic_configurator/vehicle_templates/ArduCopter/TarotFY680Hexacopter/14_logging.param +6 -0
  45. ardupilot_methodic_configurator/vehicle_templates/ArduCopter/TarotFY680Hexacopter/15_motor.param +4 -0
  46. ardupilot_methodic_configurator/vehicle_templates/ArduCopter/TarotFY680Hexacopter/16_pid_adjustment.param +13 -0
  47. ardupilot_methodic_configurator/vehicle_templates/ArduCopter/TarotFY680Hexacopter/17_remote_id.param +4 -0
  48. ardupilot_methodic_configurator/vehicle_templates/ArduCopter/TarotFY680Hexacopter/18_notch_filter_setup.param +10 -0
  49. ardupilot_methodic_configurator/vehicle_templates/ArduCopter/TarotFY680Hexacopter/19_notch_filter_results.param +7 -0
  50. ardupilot_methodic_configurator/vehicle_templates/ArduCopter/TarotFY680Hexacopter/20_throttle_controller.param +5 -0
  51. ardupilot_methodic_configurator/vehicle_templates/ArduCopter/TarotFY680Hexacopter/21_ekf_config.param +2 -0
  52. ardupilot_methodic_configurator/vehicle_templates/ArduCopter/TarotFY680Hexacopter/22_quick_tune_setup.param +14 -0
  53. ardupilot_methodic_configurator/vehicle_templates/ArduCopter/TarotFY680Hexacopter/23_quick_tune_results.param +10 -0
  54. ardupilot_methodic_configurator/vehicle_templates/ArduCopter/TarotFY680Hexacopter/24_inflight_magnetometer_fit_setup.param +8 -0
  55. ardupilot_methodic_configurator/vehicle_templates/ArduCopter/TarotFY680Hexacopter/24_inflight_magnetometer_fit_setup.pdef.xml +57 -0
  56. ardupilot_methodic_configurator/vehicle_templates/ArduCopter/TarotFY680Hexacopter/25_inflight_magnetometer_fit_results.param +15 -0
  57. ardupilot_methodic_configurator/vehicle_templates/ArduCopter/TarotFY680Hexacopter/26_quick_tune_setup.param +14 -0
  58. ardupilot_methodic_configurator/vehicle_templates/ArduCopter/TarotFY680Hexacopter/27_quick_tune_results.param +10 -0
  59. ardupilot_methodic_configurator/vehicle_templates/ArduCopter/TarotFY680Hexacopter/28_evaluate_the_aircraft_tune_ff_disable.param +4 -0
  60. ardupilot_methodic_configurator/vehicle_templates/ArduCopter/TarotFY680Hexacopter/29_evaluate_the_aircraft_tune_ff_enable.param +1 -0
  61. ardupilot_methodic_configurator/vehicle_templates/ArduCopter/TarotFY680Hexacopter/30_autotune_roll_setup.param +2 -0
  62. ardupilot_methodic_configurator/vehicle_templates/ArduCopter/TarotFY680Hexacopter/31_autotune_roll_results.param +5 -0
  63. ardupilot_methodic_configurator/vehicle_templates/ArduCopter/TarotFY680Hexacopter/32_autotune_pitch_setup.param +2 -0
  64. ardupilot_methodic_configurator/vehicle_templates/ArduCopter/TarotFY680Hexacopter/33_autotune_pitch_results.param +5 -0
  65. ardupilot_methodic_configurator/vehicle_templates/ArduCopter/TarotFY680Hexacopter/34_autotune_yaw_setup.param +3 -0
  66. ardupilot_methodic_configurator/vehicle_templates/ArduCopter/TarotFY680Hexacopter/35_autotune_yaw_results.param +5 -0
  67. ardupilot_methodic_configurator/vehicle_templates/ArduCopter/TarotFY680Hexacopter/36_autotune_yawd_setup.param +3 -0
  68. ardupilot_methodic_configurator/vehicle_templates/ArduCopter/TarotFY680Hexacopter/37_autotune_yawd_results.param +5 -0
  69. ardupilot_methodic_configurator/vehicle_templates/ArduCopter/TarotFY680Hexacopter/38_autotune_roll_pitch_retune_setup.param +2 -0
  70. ardupilot_methodic_configurator/vehicle_templates/ArduCopter/TarotFY680Hexacopter/39_autotune_roll_pitch_retune_results.param +10 -0
  71. ardupilot_methodic_configurator/vehicle_templates/ArduCopter/TarotFY680Hexacopter/40_windspeed_estimation.param +5 -0
  72. ardupilot_methodic_configurator/vehicle_templates/ArduCopter/TarotFY680Hexacopter/41_barometer_compensation.param +7 -0
  73. ardupilot_methodic_configurator/vehicle_templates/ArduCopter/TarotFY680Hexacopter/42_system_id_roll.param +21 -0
  74. ardupilot_methodic_configurator/vehicle_templates/ArduCopter/TarotFY680Hexacopter/43_system_id_pitch.param +10 -0
  75. ardupilot_methodic_configurator/vehicle_templates/ArduCopter/TarotFY680Hexacopter/44_system_id_yaw.param +10 -0
  76. ardupilot_methodic_configurator/vehicle_templates/ArduCopter/TarotFY680Hexacopter/45_system_id_thrust.param +10 -0
  77. ardupilot_methodic_configurator/vehicle_templates/ArduCopter/TarotFY680Hexacopter/46_analytical_pid_optimization.param +4 -0
  78. ardupilot_methodic_configurator/vehicle_templates/ArduCopter/TarotFY680Hexacopter/47_position_controller.param +13 -0
  79. ardupilot_methodic_configurator/vehicle_templates/ArduCopter/TarotFY680Hexacopter/48_guided_operation.param +4 -0
  80. ardupilot_methodic_configurator/vehicle_templates/ArduCopter/TarotFY680Hexacopter/49_precision_land.param +27 -0
  81. ardupilot_methodic_configurator/vehicle_templates/ArduCopter/TarotFY680Hexacopter/50_optical_flow_setup.param +19 -0
  82. ardupilot_methodic_configurator/vehicle_templates/ArduCopter/TarotFY680Hexacopter/51_optical_flow_results.param +3 -0
  83. ardupilot_methodic_configurator/vehicle_templates/ArduCopter/TarotFY680Hexacopter/52_use_optical_flow_instead_of_gnss.param +8 -0
  84. ardupilot_methodic_configurator/vehicle_templates/ArduCopter/TarotFY680Hexacopter/53_everyday_use.param +7 -0
  85. ardupilot_methodic_configurator/vehicle_templates/ArduCopter/TarotFY680Hexacopter/vehicle.jpg +0 -0
  86. ardupilot_methodic_configurator/vehicle_templates/ArduCopter/TarotFY680Hexacopter/vehicle_components.json +188 -0
  87. {ardupilot_methodic_configurator-2.5.0.dist-info → ardupilot_methodic_configurator-2.6.0.dist-info}/METADATA +74 -134
  88. {ardupilot_methodic_configurator-2.5.0.dist-info → ardupilot_methodic_configurator-2.6.0.dist-info}/RECORD +101 -43
  89. {ardupilot_methodic_configurator-2.5.0.dist-info → ardupilot_methodic_configurator-2.6.0.dist-info}/WHEEL +0 -0
  90. {ardupilot_methodic_configurator-2.5.0.dist-info → ardupilot_methodic_configurator-2.6.0.dist-info}/entry_points.txt +0 -0
  91. {ardupilot_methodic_configurator-2.5.0.dist-info → ardupilot_methodic_configurator-2.6.0.dist-info}/licenses/LICENSE.md +0 -0
  92. {ardupilot_methodic_configurator-2.5.0.dist-info → ardupilot_methodic_configurator-2.6.0.dist-info}/licenses/LICENSES/Apache-2.0.txt +0 -0
  93. {ardupilot_methodic_configurator-2.5.0.dist-info → ardupilot_methodic_configurator-2.6.0.dist-info}/licenses/LICENSES/BSD-3-Clause.txt +0 -0
  94. {ardupilot_methodic_configurator-2.5.0.dist-info → ardupilot_methodic_configurator-2.6.0.dist-info}/licenses/LICENSES/GPL-3.0-or-later.txt +0 -0
  95. {ardupilot_methodic_configurator-2.5.0.dist-info → ardupilot_methodic_configurator-2.6.0.dist-info}/licenses/LICENSES/LGPL-3.0-or-later.txt +0 -0
  96. {ardupilot_methodic_configurator-2.5.0.dist-info → ardupilot_methodic_configurator-2.6.0.dist-info}/licenses/LICENSES/MIT-CMU.txt +0 -0
  97. {ardupilot_methodic_configurator-2.5.0.dist-info → ardupilot_methodic_configurator-2.6.0.dist-info}/licenses/LICENSES/MIT.txt +0 -0
  98. {ardupilot_methodic_configurator-2.5.0.dist-info → ardupilot_methodic_configurator-2.6.0.dist-info}/licenses/LICENSES/MPL-2.0.txt +0 -0
  99. {ardupilot_methodic_configurator-2.5.0.dist-info → ardupilot_methodic_configurator-2.6.0.dist-info}/licenses/LICENSES/PSF-2.0.txt +0 -0
  100. {ardupilot_methodic_configurator-2.5.0.dist-info → ardupilot_methodic_configurator-2.6.0.dist-info}/licenses/credits/CREDITS.md +0 -0
  101. {ardupilot_methodic_configurator-2.5.0.dist-info → ardupilot_methodic_configurator-2.6.0.dist-info}/top_level.txt +0 -0
@@ -0,0 +1,8 @@
1
+ BRD_HEAT_TARG,65 # Reasonable for most places on this planet
2
+ INS_TCAL1_ENABLE,2 # Activates the temperature calibration for IMU 1 at the next start
3
+ INS_TCAL1_TMAX,55 # Log data shows a max temp of 43.66 on a warm day, before takeoff. This will probably time-out anyway.
4
+ INS_TCAL2_ENABLE,2 # Activates the temperature calibration for IMU 2 at the next start
5
+ INS_TCAL2_TMAX,55 # Log data shows a max temp of 43.66 on a warm day, before takeoff. This will probably time-out anyway.
6
+ INS_TCAL3_ENABLE,2 # Activates the temperature calibration for IMU 3 at the next start
7
+ LOG_BITMASK,524416 # Only for IMU and Raw-IMU
8
+ LOG_DISARMED,1 # Gather data for the offline IMU temperature calibration while the FC is disarmed
@@ -0,0 +1,42 @@
1
+ INS_TCAL1_ACC1_X,1393.313447
2
+ INS_TCAL1_ACC1_Y,260.532235
3
+ INS_TCAL1_ACC1_Z,-1218.879163
4
+ INS_TCAL1_ACC2_X,-16.804689
5
+ INS_TCAL1_ACC2_Y,-49.702611
6
+ INS_TCAL1_ACC2_Z,48.320738
7
+ INS_TCAL1_ACC3_X,-1.983157
8
+ INS_TCAL1_ACC3_Y,-1.194676
9
+ INS_TCAL1_ACC3_Z,1.95358
10
+ INS_TCAL1_ENABLE,1
11
+ INS_TCAL1_GYR1_X,208.02654
12
+ INS_TCAL1_GYR1_Y,61.78753
13
+ INS_TCAL1_GYR1_Z,22.458697
14
+ INS_TCAL1_GYR2_X,-2.116795
15
+ INS_TCAL1_GYR2_Y,-4.518911
16
+ INS_TCAL1_GYR2_Z,-5.353724
17
+ INS_TCAL1_GYR3_X,-0.011204
18
+ INS_TCAL1_GYR3_Y,-0.113608
19
+ INS_TCAL1_GYR3_Z,-0.145466
20
+ INS_TCAL1_TMAX,46.1
21
+ INS_TCAL1_TMIN,-1.3
22
+ INS_TCAL2_ACC1_X,-3626.277383
23
+ INS_TCAL2_ACC1_Y,642.581404
24
+ INS_TCAL2_ACC1_Z,6261.736235
25
+ INS_TCAL2_ACC2_X,122.831919
26
+ INS_TCAL2_ACC2_Y,-0.855697
27
+ INS_TCAL2_ACC2_Z,-213.724969
28
+ INS_TCAL2_ACC3_X,6.1389
29
+ INS_TCAL2_ACC3_Y,2.147349
30
+ INS_TCAL2_ACC3_Z,-9.264947
31
+ INS_TCAL2_ENABLE,1
32
+ INS_TCAL2_GYR1_X,396.937588
33
+ INS_TCAL2_GYR1_Y,39.087646
34
+ INS_TCAL2_GYR1_Z,-69.217533
35
+ INS_TCAL2_GYR2_X,3.452375
36
+ INS_TCAL2_GYR2_Y,-0.159121
37
+ INS_TCAL2_GYR2_Z,0.471384
38
+ INS_TCAL2_GYR3_X,0.06088
39
+ INS_TCAL2_GYR3_Y,-0.064316
40
+ INS_TCAL2_GYR3_Z,0.038994
41
+ INS_TCAL2_TMAX,51.4
42
+ INS_TCAL2_TMIN,-0.1
@@ -0,0 +1,4 @@
1
+ AHRS_ORIENTATION,6 # Yaw270
2
+ BRD_HEAT_TARG,45 # Reset to default after offline IMU temperature calibration
3
+ LOG_BITMASK,145118 # Log all but fast att, Nav, Mission, OF, camera, fast IMU, raw, IMU, video stabilization. These are not needed now
4
+ LOG_DISARMED,0 # Log disarmed was only required for offline IMU temperature calibration
@@ -0,0 +1,13 @@
1
+ ARMING_RUDDER,2 # It's was arming method from begin so I keep it
2
+ FLTMODE_CH,6
3
+ RC_OPTIONS,288 # Crossfire telem, 429k baud, throttle check for arming
4
+ RC_PROTOCOLS,512 # Selected in the component editor
5
+ RC10_OPTION,0
6
+ RC2_REVERSED,1 # "1" To reverse (and standardize) the Pitch Axis.
7
+ RC5_OPTION,0 # Can change to ArmorDisarm but I'll leaveit to avoid another MagFit Crash.
8
+ RC6_OPTION,0 # I use this for the flight mode selection at FLTMODE_CH.
9
+ RC7_OPTION,301 # SCRIPTING2 to do quicktune without MAVLink connection
10
+ RC8_OPTION,18 # 18, LAND Mode
11
+ RC9_OPTION,300 # SCRIPTING1 to do MagFit without MAVLink connection
12
+ RSSI_TYPE,0 # radio without RSSI
13
+ SERIAL6_PROTOCOL,23 # Added Serial6 RCIN (23)
@@ -0,0 +1,4 @@
1
+ BRD_SER1_RTSCTS,2 # we have no RTS/CTS pins connected, telemetry was working fine already
2
+ SERIAL1_BAUD,57 # 5760 baud rate is maximum
3
+ SERIAL1_OPTIONS,0
4
+ SERIAL1_PROTOCOL,2
@@ -0,0 +1,43 @@
1
+ ATC_RAT_PIT_SMAX,50 # limit the slew rate to prevent possible ESC desync - https://ardupilot.org/copter/docs/common-servo-limit-cycle-detection.html
2
+ ATC_RAT_RLL_SMAX,50 # limit the slew rate to prevent possible ESC desync - https://ardupilot.org/copter/docs/common-servo-limit-cycle-detection.html
3
+ ATC_RAT_YAW_SMAX,50 # limit the slew rate to prevent possible ESC desync - https://ardupilot.org/copter/docs/common-servo-limit-cycle-detection.html
4
+ ESC_HW_POLES,14 # Specified in component editor window
5
+ MOT_HOVER_LEARN,2 # So that it can tune the throttle controller on 20_throttle_controller.param file
6
+ MOT_PWM_MAX,2000
7
+ MOT_PWM_MIN,1000
8
+ MOT_PWM_TYPE,6 # Specified in component editor window
9
+ MOT_SPOOL_TIME,0.5
10
+ NTF_BUZZ_TYPES,1 # Our CubeOrange have it self buzzer.
11
+ NTF_LED_TYPES,123079
12
+ PSC_ACCZ_SMAX,0 # limit the slew rate to prevent possible ESC desync - https://ardupilot.org/copter/docs/common-servo-limit-cycle-detection.html
13
+ RPM1_ESC_MASK,63 # All 6 motors
14
+ RPM1_TYPE,5 # BDShot
15
+ SERIAL5_BAUD,57 # left at default
16
+ SERIAL5_PROTOCOL,-1
17
+ SERVO_BLH_AUTO,1
18
+ SERVO_BLH_BDMASK,63 # 6 motors
19
+ SERVO_BLH_POLES,14 # Specified in component editor window
20
+ SERVO_BLH_TRATE,10
21
+ SERVO_DSHOT_ESC,2 # 2 BlueJay
22
+ SERVO_DSHOT_RATE,0
23
+ SERVO_FTW_POLES,14 # Specified in component editor window
24
+ SERVO1_MAX,2000 # Operating Pulse Width:1100-1900us(Fixed or cannot be Programmed)
25
+ SERVO1_MIN,1000 # Operating Pulse Width:1100-1900us(Fixed or cannot be Programmed)
26
+ SERVO1_TRIM,1000 # Operating Pulse Width:1100-1900us(Fixed or cannot be Programmed)
27
+ SERVO2_MAX,2000 # Operating Pulse Width:1100-1900us(Fixed or cannot be Programmed)
28
+ SERVO2_MIN,1000 # Operating Pulse Width:1100-1900us(Fixed or cannot be Programmed)
29
+ SERVO2_TRIM,1000 # Operating Pulse Width:1100-1900us(Fixed or cannot be Programmed)
30
+ SERVO3_MAX,2000 # Operating Pulse Width:1100-1900us(Fixed or cannot be Programmed)
31
+ SERVO3_MIN,1000 # Operating Pulse Width:1100-1900us(Fixed or cannot be Programmed)
32
+ SERVO3_TRIM,1000 # Operating Pulse Width:1100-1900us(Fixed or cannot be Programmed)
33
+ SERVO4_MAX,2000 # Operating Pulse Width:1100-1900us(Fixed or cannot be Programmed)
34
+ SERVO4_MIN,1000 # Operating Pulse Width:1100-1900us(Fixed or cannot be Programmed)
35
+ SERVO4_TRIM,1000 # Operating Pulse Width:1100-1900us(Fixed or cannot be Programmed)
36
+ SERVO5_MAX,2000
37
+ SERVO5_MIN,1000
38
+ SERVO5_TRIM,1000
39
+ SERVO6_MAX,2000
40
+ SERVO6_MIN,1000
41
+ SERVO6_TRIM,1000
42
+ TKOFF_RPM_MIN,0 # I don't have esc telemetry to measure
43
+ TKOFF_SLEW_TIME,3 # increased by 50% (by 1 second) because it would "pop" up in auto mode
@@ -0,0 +1,15 @@
1
+ BATT_AMP_PERVLT,117.6 # 6 motors, but only 4 on the current sensing ESC, so 1.5*(1/((12.5mV/A)) = 117.6 A/V https://discuss.ardupilot.org/t/battery-monitoring-from-two-current-sensors-two-4-in-1-escs/133971/10
2
+ BATT_ARM_VOLT,23 # Do not allow arming below this voltage
3
+ BATT_CAPACITY,5500 # Total battery capacity specified in the component editor
4
+ BATT_CRT_MAH,0 # No capacity based failsafes, too unreliable
5
+ BATT_CRT_VOLT,20.7 # (Critical voltage + 0.0) x no. of cells
6
+ BATT_FS_CRT_ACT,1 # Land ASAP
7
+ BATT_FS_LOW_ACT,2 # Return and land at home or rally point
8
+ BATT_FS_VOLTSRC,0
9
+ BATT_I2C_BUS,4 # Selected in component editor window
10
+ BATT_LOW_MAH,100 # Fail-safe needs to be responsive at 1000 mAh, no risk taking
11
+ BATT_LOW_VOLT,21 # (Low voltage + 0.0) x no. of cells
12
+ BATT_MONITOR,4 # Selected in component editor window
13
+ BATT_VOLT_MULT,21.35235 # measured with multimeter
14
+ MOT_BAT_VOLT_MAX,25.2 # (Max voltage + 0.0) x no. of cells
15
+ MOT_BAT_VOLT_MIN,20.7 # (Critical voltage + 0.0) x no. of cells
@@ -0,0 +1,11 @@
1
+ BRD_SAFETY_DEFLT,0 # Safety switch gets disabled.
2
+ CAN_D1_PROTOCOL,0 # Enable this when a CAN gps will be used in the future.
3
+ CAN_P1_DRIVER,0 # No CAN drivers are required for now
4
+ GPS1_GNSS_MODE,0
5
+ GPS1_POS_X,0
6
+ GPS1_POS_Y,0
7
+ GPS1_POS_Z,0
8
+ GPS1_TYPE,2 # Defined in component editor
9
+ NTF_LED_TYPES,123079 # Enable DRONECAN LED
10
+ SERIAL3_PROTOCOL,5 # GPS will be used.
11
+ WPNAV_RADIUS,200 # The accuracy of the GPS is only 2.0m CEP, ranges 5 are maximum (1000 cm to waypoint)
@@ -0,0 +1,18 @@
1
+ ATC_ACCEL_P_MAX,116700 # Derived from vehicle component editor propeller size
2
+ ATC_ACCEL_R_MAX,116700 # Derived from vehicle component editor propeller size
3
+ ATC_ACCEL_Y_MAX,27000 # Derived from vehicle component editor propeller size
4
+ ATC_ANG_YAW_P,4.5 # Derived from vehicle component editor propeller size
5
+ ATC_RAT_PIT_FLTD,21 # INS_GYRO_FILTER / 2
6
+ ATC_RAT_PIT_FLTE,0 # Initial value, will be improved at a later step
7
+ ATC_RAT_PIT_FLTT,21 # INS_GYRO_FILTER / 2
8
+ ATC_RAT_RLL_FLTD,21 # INS_GYRO_FILTER / 2
9
+ ATC_RAT_RLL_FLTE,0 # Initial value, will be improved at a later step
10
+ ATC_RAT_RLL_FLTT,21 # INS_GYRO_FILTER / 2
11
+ ATC_RAT_YAW_FLTD,0 # Initial value, will be improved at a later step
12
+ ATC_RAT_YAW_FLTE,2 # Initial value, will be improved at a later step
13
+ ATC_RAT_YAW_FLTT,21 # INS_GYRO_FILTER / 2
14
+ ATC_THR_MIX_MAN,0.1 # Value for the first couple of flights will be changed later once MOT_THST_HOVER is learned
15
+ INS_ACCEL_FILTER,10 # The default is 20Hz but that is too high in most situations
16
+ INS_GYRO_FILTER,42 # Derived from vehicle component editor propeller size
17
+ MOT_THST_EXPO,0.6 # Derived from vehicle component editor propeller size
18
+ MOT_THST_HOVER,0.2 # Hover learn will improve this initial guess
@@ -0,0 +1,99 @@
1
+ AHRS_TRIM_X,0.001169
2
+ AHRS_TRIM_Y,0.005876
3
+ ARMING_CHECK,947710 # 1>947710 Disable rangefinder because of intermittent fault, no safety-switch or camera.
4
+ ATC_ACCEL_P_MAX,116700
5
+ ATC_ACCEL_R_MAX,116700
6
+ ATC_ACCEL_Y_MAX,27000
7
+ ATC_RAT_PIT_FLTD,21 # INS_GYRO_FILTER / 2
8
+ ATC_RAT_PIT_FLTT,21 # INS_GYRO_FILTER / 2
9
+ ATC_RAT_RLL_FLTD,21 # INS_GYRO_FILTER / 2
10
+ ATC_RAT_RLL_FLTT,21 # INS_GYRO_FILTER / 2
11
+ ATC_RAT_YAW_FLTE,2
12
+ ATC_RAT_YAW_FLTT,21 # INS_GYRO_FILTER / 2
13
+ COMPASS_EXTERNAL,1
14
+ COMPASS_ORIENT,0
15
+ COMPASS_PRIO1_ID,658953
16
+ COMPASS_USE2,0
17
+ COMPASS_USE3,0
18
+ FENCE_ACTION,3
19
+ FENCE_ALT_MAX,100
20
+ FENCE_ENABLE,1
21
+ FENCE_RADIUS,300
22
+ FLOW_TYPE,0 # Change to 5 to enable Optical Flow
23
+ FLTMODE1,0
24
+ FLTMODE2,2
25
+ FLTMODE3,2
26
+ FLTMODE4,5
27
+ FLTMODE5,0
28
+ FLTMODE6,3
29
+ FRAME_CLASS,2
30
+ FRAME_TYPE,1
31
+ INS_ACC1_CALTEMP,-300
32
+ INS_ACC2_CALTEMP,-300
33
+ INS_ACC2SCAL_X,1
34
+ INS_ACC2SCAL_Y,1
35
+ INS_ACC2SCAL_Z,1
36
+ INS_ACC3SCAL_X,0
37
+ INS_ACC3SCAL_Y,0
38
+ INS_ACC3SCAL_Z,0
39
+ INS_ACCSCAL_X,1
40
+ INS_ACCSCAL_Y,1
41
+ INS_ACCSCAL_Z,1
42
+ INS_GYRO_FILTER,42
43
+ MOT_BAT_VOLT_MAX,25.200001
44
+ MOT_BAT_VOLT_MIN,20.700001
45
+ MOT_SPIN_ARM,0.04
46
+ MOT_SPIN_MAX,1
47
+ MOT_SPIN_MIN,0.043
48
+ MOT_THST_EXPO,0.6
49
+ MOT_THST_HOVER,0.09
50
+ RC1_MAX,1900
51
+ RC1_MIN,1100
52
+ RC1_TRIM,1500
53
+ RC10_MAX,1900
54
+ RC10_MIN,1100
55
+ RC10_TRIM,1500
56
+ RC2_MAX,1900
57
+ RC2_MIN,1100
58
+ RC2_TRIM,1500
59
+ RC3_MAX,1900
60
+ RC3_MIN,1100
61
+ RC3_TRIM,1500
62
+ RC4_MAX,1900
63
+ RC4_MIN,1100
64
+ RC4_TRIM,1500
65
+ RC5_MAX,1900
66
+ RC5_MIN,1100
67
+ RC5_TRIM,1500
68
+ RC6_MAX,1900
69
+ RC6_MIN,1100
70
+ RC6_TRIM,1500
71
+ RC7_MAX,1900
72
+ RC7_MIN,1100
73
+ RC7_TRIM,1500
74
+ RC8_MAX,1900
75
+ RC8_MIN,1100
76
+ RC8_TRIM,1500
77
+ RC9_MAX,1900
78
+ RC9_MIN,1100
79
+ RC9_TRIM,1500
80
+ RNGFND1_MAX_CM,800 # from MicoAir guide
81
+ RNGFND1_MIN_CM,1 # from MicoAir guide
82
+ RNGFND1_ORIENT,25 # 25, Down, for altitude and optical flow.
83
+ RNGFND1_TYPE,10 # 10, MAVLink
84
+ RNGFND2_ADDR,41 # Decimal version of default I2C address
85
+ RNGFND2_GNDCLEAR,10
86
+ RNGFND2_MAX_CM,360 # 3.6m max according to docs
87
+ RNGFND2_MIN_CM,5 # docs say 0.05 but I think that is meters
88
+ RNGFND2_SCALING,1 # Scaling factor between reading and distance (for analog readings?)
89
+ RNGFND2_TYPE,16 # 16, VL531X
90
+ SERIAL4_BAUD,115 # 115, for MTF-01P
91
+ SERIAL4_PROTOCOL,1 # 1, MAVLink1 for MTF-01P
92
+ SERVO1_FUNCTION,34
93
+ SERVO10_FUNCTION,22
94
+ SERVO2_FUNCTION,35
95
+ SERVO3_FUNCTION,33
96
+ SERVO4_FUNCTION,37
97
+ SERVO5_FUNCTION,36
98
+ SERVO6_FUNCTION,38
99
+ SPRAY_ENABLE,1
@@ -0,0 +1,17 @@
1
+ ARMING_CHECK,1 # Perform all arming checks. If you have a problem fix its source. Do NOT change this
2
+ AUTO_OPTIONS,1 # Allow arming in auto to avoid another disaster... WARNING, must be CAREFUL to be away from vehicle
3
+ BRD_RTC_TZ_MIN,0 # UTC
4
+ EK3_SRC1_POSZ,1 # Use the default, it is safer, only barometer will be used
5
+ FENCE_TYPE,7 # cylinder and max altitude, to obey local regulations and safety measures
6
+ FS_EKF_ACTION,1 # Use the default, it is safer
7
+ INS_ACCEL_FILTER,10 # the default is 20 and that lets too much noise in
8
+ INS_POS1_X,0
9
+ INS_POS1_Y,0
10
+ INS_POS2_X,0
11
+ INS_POS2_Y,0
12
+ LAND_ALT_LOW,1000 # GPS is only 2.0m CEP
13
+ RTL_ALT,1500 # RTL at 15m is fine.
14
+ RTL_LOIT_TIME,5000 # The default is too long. This reduces the time
15
+ SCHED_LOOP_RATE,400 # Stay on default loop rate, this is a slow vehicle
16
+ SCR_ENABLE,1 # Use lua scripting for VTOL-Quicktune, MagFit automation and wind speed estimation automation
17
+ SERIAL7_PROTOCOL,16 # 16, ESC Telemetry
@@ -0,0 +1,6 @@
1
+ INS_LOG_BAT_CNT,2048 # more samples per batch
2
+ INS_LOG_BAT_MASK,1 # Use acc and gyro batch logging on F4 processors, gyro raw logging on others
3
+ INS_LOG_BAT_OPT,4 # Use pre and post filters acc and gyro batch logging on F4 processors, pre-post gyro raw logging on others
4
+ INS_RAW_LOG_OPT,0 # Use pre and post filters acc and gyro batch logging on F4 processors, pre-post gyro raw logging on others
5
+ LOG_BITMASK,145118 # Log all but fast att, Nav, Mission, OF, camera, fast IMU, raw, IMU, video stabilization. These are not needed now
6
+ LOG_FILE_DSRMROT,1 # One .bin log file per flight, not per battery/reboot
@@ -0,0 +1,4 @@
1
+ MOT_SPIN_ARM,0.04
2
+ MOT_SPIN_MAX,1
3
+ MOT_SPIN_MIN,0.043
4
+ MOT_THST_EXPO,0.6
@@ -0,0 +1,13 @@
1
+ ATC_ANG_PIT_P,4.5
2
+ ATC_ANG_RLL_P,4.5
3
+ ATC_ANG_YAW_P,4.5
4
+ ATC_INPUT_TC,0.15
5
+ ATC_RAT_PIT_D,0.0036 # 1.0 * (0.0036 default)
6
+ ATC_RAT_PIT_I,0.135 # = 1.0 * (0.135 default)
7
+ ATC_RAT_PIT_P,0.135 # = 1.0 * (0.135 default)
8
+ ATC_RAT_RLL_D,0.0036 # = 1.0 * (0.0036 default)
9
+ ATC_RAT_RLL_I,0.135 # = 1.0 * (0.135 default)
10
+ ATC_RAT_RLL_P,0.135 # = 1.0 * (0.135 default)
11
+ ATC_RAT_YAW_D,0 # = 1.0 * (0 default)
12
+ ATC_RAT_YAW_I,0.018 # = 1.0 * (0.018 default)
13
+ ATC_RAT_YAW_P,0.18 # = 1.0 * (0.18 default)
@@ -0,0 +1,4 @@
1
+ DID_CANDRIVER,0 # I don't use a remote id.
2
+ DID_ENABLE,0 # I don't use a remote id.
3
+ DID_MAVPORT,-1 # I don't use a remote id.
4
+ DID_OPTIONS,0 # I don't use a remote id.
@@ -0,0 +1,10 @@
1
+ INS_FAST_SAMPLE,3 # Both IMUs can run fast on the the FC
2
+ INS_GYRO_RATE,0 # The fc supports up until 8kHz.
3
+ INS_HNTCH_ATT,20 # this is just a hunch, it must be improved after the first flight (by the next file)
4
+ INS_HNTCH_BW,20 # this is just a hunch, it must be improved after the first flight (by the next file)
5
+ INS_HNTCH_ENABLE,1 # Use the first notch filter to filter the noise created by the motors/propellers
6
+ INS_HNTCH_FREQ,58.8 # Use 1.4 * INS_GYRO_FILTER as a first guess
7
+ INS_HNTCH_HMNCS,1 # Harmonic notch filter to first harmonics.
8
+ INS_HNTCH_MODE,3 # ESC telemetry mode; each motor will have a notch assigned
9
+ INS_HNTCH_OPTS,6 # Multi-Source (RPM data from each motor), update rate = loop rate
10
+ INS_HNTCH_REF,1 # For RPM telemetry ESC notch filtering
@@ -0,0 +1,7 @@
1
+ INS_HNTCH_ATT,15 # just enough to filter the noise created by the motors/propellers
2
+ INS_HNTCH_BW,10.6 # just enough to filter the noise created by the motors/propellers
3
+ INS_HNTCH_FM_RAT,1 # Allowed undercutting of the base frequency of the first notch filter
4
+ INS_HNTCH_FREQ,64 # the minimum frequency that the motors are expected to operate at
5
+ INS_HNTCH_HMNCS,1 # insignificant secondary harmonics on this vehicle
6
+ INS_HNTCH_OPTS,6 # Multi-Source (RPM data from each motor), update rate = loop rate
7
+ INS_HNTCH_REF,1 # for RPM-based ESC telemetry
@@ -0,0 +1,5 @@
1
+ ATC_THR_MIX_MAN,0.5 # because we have learned the MOT_THST_HOVER value
2
+ MOT_HOVER_LEARN,0 # Disabled because hover thrust is < 0.125
3
+ MOT_THST_HOVER,0.08
4
+ PSC_ACCZ_I,0.16 # Use 2 * MOT_THST_HOVER assuming MOT_THST_HOVER has been correctly learned
5
+ PSC_ACCZ_P,0.08 # Use MOT_THST_HOVER assuming MOT_THST_HOVER has been correctly learned
@@ -0,0 +1,2 @@
1
+ EK3_ACC_P_NSE,0.35 # higher value -> trust accelerometer less, compared to other sources
2
+ EK3_ALT_M_NSE,2 # lower value -> trust baro more, compared to other sources
@@ -0,0 +1,14 @@
1
+ QUIK_AUTO_FILTER,1
2
+ QUIK_AUTO_SAVE,0
3
+ QUIK_AXES,7
4
+ QUIK_DOUBLE_TIME,10
5
+ QUIK_ENABLE,1 # Use VTOL-Quicktune lua script to estimate a good PID starting values
6
+ QUIK_GAIN_MARGIN,60
7
+ QUIK_MAX_REDUCE,20
8
+ QUIK_OPTIONS,0
9
+ QUIK_OSC_SMAX,5
10
+ QUIK_RC_FUNC,301 # the script uses this value to listen to RC switch
11
+ QUIK_RP_PI_RATIO,1
12
+ QUIK_Y_PI_RATIO,10
13
+ QUIK_YAW_D_MAX,0.01
14
+ QUIK_YAW_P_MAX,0.5
@@ -0,0 +1,10 @@
1
+ ATC_RAT_PIT_D,0.00288 # Tuned in a Hangar
2
+ ATC_RAT_PIT_I,0.123894 # Tuned in a Hangar
3
+ ATC_RAT_PIT_P,0.123894 # Tuned in a Hangar
4
+ ATC_RAT_RLL_D,0.003251 # Tuned in a Hangar
5
+ ATC_RAT_RLL_I,0.164047 # Tuned in a Hangar
6
+ ATC_RAT_RLL_P,0.164047 # Tuned in a Hangar
7
+ ATC_RAT_YAW_D,0.01 # Tuned in a Hangar
8
+ ATC_RAT_YAW_FLTD,21 # Tuned in a Hangar
9
+ ATC_RAT_YAW_I,0.05 # Tuned in a Hangar
10
+ ATC_RAT_YAW_P,0.5 # Tuned in a Hangar
@@ -0,0 +1,8 @@
1
+ MAGH_ALT_DELTA,10 # Height difference between the highest and lowest point of the eight
2
+ MAGH_B,1.2 # Geometric factor for the width of the eight
3
+ MAGH_CMD,117 # Script_Time command value for identification of the script
4
+ MAGH_COUNT,6 # Number of times the drone repeats the eight
5
+ MAGH_LOG_ENABLE,1 # Activates the logging of the MAGH.Active message
6
+ MAGH_MIN_SPEED,5 # Starting speed for the mission; slowly adjusts to the general speed in auto-missions
7
+ MAGH_NUM_WP,18 # Number of waypoints from which the eight is built
8
+ MAGH_USE_LOITER,1 # Sets a Loiter_unlimited command at the beginning of the mission to check the generated waypoints
@@ -0,0 +1,57 @@
1
+ <?xml version="1.0" encoding="utf-8"?>
2
+ <!-- Dynamically generated list of documented parameters (generated by param_parse.py) -->
3
+ <paramfile>
4
+ <vehicles>
5
+ <parameters name="ArduCopter">
6
+ <param name="MAGH_ALT_DELTA" humanName="Altitude change" documentation="Altitude change to be commanded during the figure-8 pattern to capture mag field changes during throttle changes. Starting altitude is based upon the entry waypoint’s altitude, and the Copter will climb this amount ABOVE that starting altitude on occasion.">
7
+ <field name="Units">m</field>
8
+ <field name="Range">0 100</field>
9
+ <field name="Default">10</field>
10
+ </param>
11
+ <param name="MAGH_B" humanName="Figure 8 Geometric factor" documentation="Geometric factor to adjust the width of the figure-8. Values of 1.2-1.5 should be more than adequate.">
12
+ <field name="Range">1.2 1.5</field>
13
+ <field name="Default">1.2</field>
14
+ </param>
15
+ <param name="MAGH_CMD" humanName="SCRIPT_TIME command" documentation="The SCRIPT_TIME command value used to initiate the scripted pattern. Defaults to 117.">
16
+ <field name="Range">0 255</field>
17
+ <field name="Default">117</field>
18
+ </param>
19
+ <param name="MAGH_COUNT" humanName="Repeat count" documentation="Number of times to repeat the figure-8. If battery failsafes are properly configured, you can make this number somewhat high so that the figure-8 will be repeated until failsafe.">
20
+ <field name="Range">1 20</field>
21
+ <field name="Default">6</field>
22
+ </param>
23
+ <param name="MAGH_LOG_ENABLE" humanName="Enable MAGH.Active logging" documentation="Enable a MAGH.Active value to be logged in dataflash for later consumption. Set 0 for no logging.">
24
+ <field name="Range">0 1</field>
25
+ <field name="Default">1</field>
26
+ </param>
27
+ <param name="MAGH_MIN_SPEED" humanName="Minimum speed" documentation="Starting speed (m/s) for the figure-8. Speed will slowly increment to WPNAV_SPEED as the pattern is repeated. Defaults to 1/2 of WPNAV_SPEED.">
28
+ <field name="Units">m/s</field>
29
+ <field name="Default">1/2 of WPNAV_SPEED</field>
30
+ </param>
31
+ <param name="MAGH_NUM_WP" humanName="Number of waypoints in figure 8" documentation="The number of waypoints to be used in defining the figure-8. Use more points for a smoother path at the cost of potentially slower speed during navigation. Defaults to 18. 16-24 should be adequate for most cases.">
32
+ <field name="Range">16 24</field>
33
+ <field name="Default">18</field>
34
+ </param>
35
+ <param name="MAGH_USE_LOITER" humanName="Use loiter" documentation="Insert a LOITER_UNLIMITED waypoint prior to the figure-8 so that the new waypoints can be downloaded and verified prior to continuing. Set 0 to disable (not recommended). See the end of the writeup for a helper script to advance waypoints via an RC switch.">
36
+ <field name="Range">0 1</field>
37
+ <field name="Default">1</field>
38
+ </param>
39
+ <param name="WAYPT_ADVANCE" humanName="Advance waypoint" documentation="Aux function assigned for manually advancing waypoints.">
40
+ <field name="Range">300 307</field>
41
+ <field name="Default">300</field>
42
+ </param>
43
+ <param name="WAYPT_ANNOUNCE" humanName="Waypoint announce" documentation="Aux function assigned to enable sending waypoint distance text messages.">
44
+ <field name="Range">300 307</field>
45
+ <field name="Default">301</field>
46
+ </param>
47
+ <param name="WAYPT_ANNOUNCE_S" humanName="Waypoint announce interval" documentation="How often to broadcast waypoint distance text messages (seconds).">
48
+ <field name="Range">0 3600</field>
49
+ <field name="Default">0</field>
50
+ </param>
51
+ <param name="WAYPT_BUZZ_ENABLE" humanName="Waypoint buzzer enable" documentation="Enable audio feedback for waypoint proximity (increasing pitch/frequency as waypoint distance closes).">
52
+ <field name="Range">0 1</field>
53
+ <field name="Default">0</field>
54
+ </param>
55
+ </parameters>
56
+ </vehicles>
57
+ </paramfile>
@@ -0,0 +1,15 @@
1
+ COMPASS_DIA_X,1
2
+ COMPASS_DIA_Y,1
3
+ COMPASS_DIA_Z,1
4
+ COMPASS_MOT_X,-4.122038
5
+ COMPASS_MOT_Y,0.169252
6
+ COMPASS_MOT_Z,0.920219
7
+ COMPASS_MOTCT,2
8
+ COMPASS_ODI_X,0
9
+ COMPASS_ODI_Y,0
10
+ COMPASS_ODI_Z,0
11
+ COMPASS_OFS_X,107.2242
12
+ COMPASS_OFS_Y,97.657684
13
+ COMPASS_OFS_Z,-7.479781
14
+ COMPASS_ORIENT,6
15
+ COMPASS_SCALE,0.90058
@@ -0,0 +1,14 @@
1
+ QUIK_AUTO_FILTER,1
2
+ QUIK_AUTO_SAVE,0
3
+ QUIK_AXES,7
4
+ QUIK_DOUBLE_TIME,10
5
+ QUIK_ENABLE,1 # Use VTOL-Quicktune lua script to estimate a good PID starting values
6
+ QUIK_GAIN_MARGIN,60
7
+ QUIK_MAX_REDUCE,20
8
+ QUIK_OPTIONS,0
9
+ QUIK_OSC_SMAX,5
10
+ QUIK_RC_FUNC,301 # the script uses this value to listen to RC switch
11
+ QUIK_RP_PI_RATIO,1
12
+ QUIK_Y_PI_RATIO,10
13
+ QUIK_YAW_D_MAX,0.01
14
+ QUIK_YAW_P_MAX,0.5
@@ -0,0 +1,10 @@
1
+ ATC_RAT_PIT_D,0.002561
2
+ ATC_RAT_PIT_I,0.147198
3
+ ATC_RAT_PIT_P,0.147198
4
+ ATC_RAT_RLL_D,0.00327
5
+ ATC_RAT_RLL_I,0.179588
6
+ ATC_RAT_RLL_P,0.179588
7
+ ATC_RAT_YAW_D,0.01
8
+ ATC_RAT_YAW_FLTD,21
9
+ ATC_RAT_YAW_I,0.05
10
+ ATC_RAT_YAW_P,0.5
@@ -0,0 +1,4 @@
1
+ ATC_RATE_FF_ENAB,0 # test the stabilization loops independent of the input shaping
2
+ INS_LOG_BAT_MASK,0 # IMU batch logging no longer required, notch filter setup is complete, this reduces processor load and log file size
3
+ INS_RAW_LOG_OPT,0 # Gyro raw logging no longer required, notch filter setup is complete, this reduces processor load and log file size
4
+ LOG_BITMASK,145118 # Disable fast harmonic notch logging
@@ -0,0 +1 @@
1
+ ATC_RATE_FF_ENAB,1 # re-enable normal operation, activate input shaping
@@ -0,0 +1,2 @@
1
+ AUTOTUNE_AGGR,0.1 # Use the default for now
2
+ AUTOTUNE_AXES,1 # Autotune roll axis
@@ -0,0 +1,5 @@
1
+ ATC_ACCEL_R_MAX,116700
2
+ ATC_ANG_RLL_P,4.5 # higher value mean a tighter tune
3
+ ATC_RAT_RLL_D,0.0036
4
+ ATC_RAT_RLL_I,0.135
5
+ ATC_RAT_RLL_P,0.135
@@ -0,0 +1,2 @@
1
+ AUTOTUNE_AGGR,0.1 # Use the default for now
2
+ AUTOTUNE_AXES,2 # Autotune pitch axis
@@ -0,0 +1,5 @@
1
+ ATC_ACCEL_P_MAX,116700
2
+ ATC_ANG_PIT_P,4.5 # higher value mean a tighter tune
3
+ ATC_RAT_PIT_D,0.0036
4
+ ATC_RAT_PIT_I,0.135
5
+ ATC_RAT_PIT_P,0.135
@@ -0,0 +1,3 @@
1
+ ATC_RAT_YAW_FLTD,10.5 # Use INS_GYRO_FILTER / 4 as a first guess
2
+ AUTOTUNE_AGGR,0.1 # Use the default for now
3
+ AUTOTUNE_AXES,4 # Autotune yaw axis
@@ -0,0 +1,5 @@
1
+ ATC_ACCEL_Y_MAX,27000
2
+ ATC_ANG_YAW_P,4.5 # higher value mean a tighter tune
3
+ ATC_RAT_YAW_FLTE,2
4
+ ATC_RAT_YAW_I,0.018
5
+ ATC_RAT_YAW_P,0.18
@@ -0,0 +1,3 @@
1
+ AUTOTUNE_AGGR,0.1 # Use the default for now
2
+ AUTOTUNE_AXES,8 # Autotune yaw D axis
3
+ AUTOTUNE_MIN_D,0.001 # small copters need small D parameters
@@ -0,0 +1,5 @@
1
+ ATC_ACCEL_Y_MAX,27000
2
+ ATC_ANG_YAW_P,4.5
3
+ ATC_RAT_YAW_D,0 # if == to AUTOTUNE_MIN_D, autotune failed
4
+ ATC_RAT_YAW_I,0.018
5
+ ATC_RAT_YAW_P,0.18
@@ -0,0 +1,2 @@
1
+ AUTOTUNE_AGGR,0.1 # Use the default for now
2
+ AUTOTUNE_AXES,3 # Autotune roll and pitch axis
@@ -0,0 +1,10 @@
1
+ ATC_ACCEL_P_MAX,116700
2
+ ATC_ACCEL_R_MAX,116700
3
+ ATC_ANG_PIT_P,4.5 # higher value mean a tighter tune
4
+ ATC_ANG_RLL_P,4.5 # higher value mean a tighter tune
5
+ ATC_RAT_PIT_D,0.0036
6
+ ATC_RAT_PIT_I,0.135
7
+ ATC_RAT_PIT_P,0.135
8
+ ATC_RAT_RLL_D,0.0036
9
+ ATC_RAT_RLL_I,0.135
10
+ ATC_RAT_RLL_P,0.135
@@ -0,0 +1,5 @@
1
+ EK3_DRAG_BCOEF_X,0
2
+ EK3_DRAG_BCOEF_Y,0
3
+ EK3_DRAG_MCOEF,0
4
+ LOG_DISARMED,1 # allow post flight tuning with Replay
5
+ LOG_REPLAY,1 # allow post flight tuning with Replay
@@ -0,0 +1,7 @@
1
+ BARO1_WCF_BCK,0
2
+ BARO1_WCF_DN,0
3
+ BARO1_WCF_ENABLE,0
4
+ BARO1_WCF_FWD,0
5
+ BARO1_WCF_LFT,0
6
+ BARO1_WCF_RGT,0
7
+ BARO1_WCF_UP,0
@@ -0,0 +1,21 @@
1
+ ANGLE_MAX,3000 # limit the angle to limit the speed at SID-chirp low-frequencies
2
+ ARMING_CHECK,30174 # disable Parameter check because we need to set ATC_RAT_RLL_I out-of-range (was 1)
3
+ ATC_ANG_PIT_P,4.5 # reset to default to not interfere with sysID
4
+ ATC_ANG_RLL_P,4.5 # reset to default to not interfere with sysID
5
+ ATC_ANG_YAW_P,4.5 # reset to default to not interfere with sysID
6
+ ATC_RAT_RLL_I,0 # prevent the rate controllers from compensating too much of the frequency-sweep signal
7
+ ATC_RATE_FF_ENAB,0 # prevent the rate controllers from compensating too much of the frequency-sweep signal
8
+ FLTMODE6,25 # Activate sysid instead of loiter
9
+ LOG_BITMASK,704510 # attitude sample rate at loop rate
10
+ LOG_DISARMED,0 # was only needed for wind speed estimation
11
+ LOG_REPLAY,0 # was only needed for wind speed estimation
12
+ SID_AXIS,10 # Inject chip on the mixer roll signal
13
+ SID_F_START_HZ,0.1
14
+ SID_F_STOP_HZ,10
15
+ SID_MAGNITUDE,0.15
16
+ SID_T_FADE_IN,5
17
+ SID_T_FADE_OUT,5
18
+ SID_T_REC,130
19
+ TUNE,0 # System identification magnitude
20
+ TUNE_MAX,0.3 # System identification max magnitude
21
+ TUNE_MIN,0.05 # System identification min magnitude
@@ -0,0 +1,10 @@
1
+ ATC_RAT_PIT_I,0 # prevent the rate controllers from compensating too much of the frequency-sweep signal
2
+ ATC_RAT_RLL_I,0.135 # we are not performing system identification on the roll axis, so restore it to the autotuned value
3
+ ATC_RATE_FF_ENAB,0 # prevent the rate controllers from compensating too much of the frequency-sweep signal
4
+ SID_AXIS,11 # Inject chip on the mixer pitch signal
5
+ SID_F_START_HZ,0.1
6
+ SID_F_STOP_HZ,10
7
+ SID_MAGNITUDE,0.15
8
+ SID_T_FADE_IN,5
9
+ SID_T_FADE_OUT,5
10
+ SID_T_REC,130
@@ -0,0 +1,10 @@
1
+ ATC_RAT_PIT_I,0.135 # we are not performing system identification on the pitch axis, so restore it to the autotuned value
2
+ ATC_RAT_YAW_I,0 # prevent the rate controllers from compensating too much of the frequency-sweep signal
3
+ ATC_RATE_FF_ENAB,0 # prevent the rate controllers from compensating too much of the frequency-sweep signal
4
+ SID_AXIS,12 # Inject chip on the mixer yaw signal
5
+ SID_F_START_HZ,0.1
6
+ SID_F_STOP_HZ,10
7
+ SID_MAGNITUDE,0.55
8
+ SID_T_FADE_IN,5
9
+ SID_T_FADE_OUT,5
10
+ SID_T_REC,130