Skip to content

Commit 7124bd1

Browse files
[pre-commit.ci] auto fixes from pre-commit.com hooks
for more information, see https://pre-commit.ci
1 parent 9856b7c commit 7124bd1

52 files changed

Lines changed: 1671 additions & 1671 deletions

File tree

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

ardupilot_methodic_configurator/vehicle_templates/ArduCopter/Holybro_X500/00_default.param

Lines changed: 1089 additions & 1089 deletions
Large diffs are not rendered by default.
Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +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,70 # CubeOrange has an heater that heats up the board to almost 70 deg
4-
INS_TCAL2_ENABLE,2 # Activates the temperature calibration for IMU 2 at the next start
5-
INS_TCAL2_TMAX,70 # CubeOrange has an heater that heats up the board to almost 70 deg
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
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,70 # CubeOrange has an heater that heats up the board to almost 70 deg
4+
INS_TCAL2_ENABLE,2 # Activates the temperature calibration for IMU 2 at the next start
5+
INS_TCAL2_TMAX,70 # CubeOrange has an heater that heats up the board to almost 70 deg
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
Lines changed: 42 additions & 42 deletions
Original file line numberDiff line numberDiff line change
@@ -1,42 +1,42 @@
1-
INS_TCAL1_ACC1_X,1256.403338
2-
INS_TCAL1_ACC1_Y,93.973534
3-
INS_TCAL1_ACC1_Z,-2916.686814
4-
INS_TCAL1_ACC2_X,35.887447
5-
INS_TCAL1_ACC2_Y,22.875882
6-
INS_TCAL1_ACC2_Z,-137.877095
7-
INS_TCAL1_ACC3_X,0.001474
8-
INS_TCAL1_ACC3_Y,0.196582
9-
INS_TCAL1_ACC3_Z,-1.224162
10-
INS_TCAL1_ENABLE,0
11-
INS_TCAL1_GYR1_X,-507.582949
12-
INS_TCAL1_GYR1_Y,-652.682326
13-
INS_TCAL1_GYR1_Z,-95.206169
14-
INS_TCAL1_GYR2_X,-23.486205
15-
INS_TCAL1_GYR2_Y,-24.435689
16-
INS_TCAL1_GYR2_Z,-8.391146
17-
INS_TCAL1_GYR3_X,-0.259612
18-
INS_TCAL1_GYR3_Y,-0.331278
19-
INS_TCAL1_GYR3_Z,-0.095689
20-
INS_TCAL1_TMAX,39.2
21-
INS_TCAL1_TMIN,-5.4
22-
INS_TCAL2_ACC1_X,5971.83104
23-
INS_TCAL2_ACC1_Y,2702.965981
24-
INS_TCAL2_ACC1_Z,-7246.282228
25-
INS_TCAL2_ACC2_X,-1.73141
26-
INS_TCAL2_ACC2_Y,-94.85933
27-
INS_TCAL2_ACC2_Z,102.896738
28-
INS_TCAL2_ACC3_X,-0.439389
29-
INS_TCAL2_ACC3_Y,-3.913247
30-
INS_TCAL2_ACC3_Z,2.63767
31-
INS_TCAL2_ENABLE,0
32-
INS_TCAL2_GYR1_X,-12.407282
33-
INS_TCAL2_GYR1_Y,61.287636
34-
INS_TCAL2_GYR1_Z,-119.993955
35-
INS_TCAL2_GYR2_X,-3.454038
36-
INS_TCAL2_GYR2_Y,4.779278
37-
INS_TCAL2_GYR2_Z,-16.104837
38-
INS_TCAL2_GYR3_X,-0.05665
39-
INS_TCAL2_GYR3_Y,0.069658
40-
INS_TCAL2_GYR3_Z,-0.344826
41-
INS_TCAL2_TMAX,38.9
42-
INS_TCAL2_TMIN,-2.4
1+
INS_TCAL1_ACC1_X,1256.403338
2+
INS_TCAL1_ACC1_Y,93.973534
3+
INS_TCAL1_ACC1_Z,-2916.686814
4+
INS_TCAL1_ACC2_X,35.887447
5+
INS_TCAL1_ACC2_Y,22.875882
6+
INS_TCAL1_ACC2_Z,-137.877095
7+
INS_TCAL1_ACC3_X,0.001474
8+
INS_TCAL1_ACC3_Y,0.196582
9+
INS_TCAL1_ACC3_Z,-1.224162
10+
INS_TCAL1_ENABLE,0
11+
INS_TCAL1_GYR1_X,-507.582949
12+
INS_TCAL1_GYR1_Y,-652.682326
13+
INS_TCAL1_GYR1_Z,-95.206169
14+
INS_TCAL1_GYR2_X,-23.486205
15+
INS_TCAL1_GYR2_Y,-24.435689
16+
INS_TCAL1_GYR2_Z,-8.391146
17+
INS_TCAL1_GYR3_X,-0.259612
18+
INS_TCAL1_GYR3_Y,-0.331278
19+
INS_TCAL1_GYR3_Z,-0.095689
20+
INS_TCAL1_TMAX,39.2
21+
INS_TCAL1_TMIN,-5.4
22+
INS_TCAL2_ACC1_X,5971.83104
23+
INS_TCAL2_ACC1_Y,2702.965981
24+
INS_TCAL2_ACC1_Z,-7246.282228
25+
INS_TCAL2_ACC2_X,-1.73141
26+
INS_TCAL2_ACC2_Y,-94.85933
27+
INS_TCAL2_ACC2_Z,102.896738
28+
INS_TCAL2_ACC3_X,-0.439389
29+
INS_TCAL2_ACC3_Y,-3.913247
30+
INS_TCAL2_ACC3_Z,2.63767
31+
INS_TCAL2_ENABLE,0
32+
INS_TCAL2_GYR1_X,-12.407282
33+
INS_TCAL2_GYR1_Y,61.287636
34+
INS_TCAL2_GYR1_Z,-119.993955
35+
INS_TCAL2_GYR2_X,-3.454038
36+
INS_TCAL2_GYR2_Y,4.779278
37+
INS_TCAL2_GYR2_Z,-16.104837
38+
INS_TCAL2_GYR3_X,-0.05665
39+
INS_TCAL2_GYR3_Y,0.069658
40+
INS_TCAL2_GYR3_Z,-0.344826
41+
INS_TCAL2_TMAX,38.9
42+
INS_TCAL2_TMIN,-2.4
Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
1-
AHRS_ORIENTATION,0 # Point forward in the direction of travel
2-
LOG_BITMASK,145118 # Log all but fast att, Nav, Mission, OF, camera, fast IMU, raw, IMU, video stabilization. These are not needed now
3-
LOG_DISARMED,0 # Log disarmed was only required for offline IMU temperature calibration
1+
AHRS_ORIENTATION,0 # Point forward in the direction of travel
2+
LOG_BITMASK,145118 # Log all but fast att, Nav, Mission, OF, camera, fast IMU, raw, IMU, video stabilization. These are not needed now
3+
LOG_DISARMED,0 # Log disarmed was only required for offline IMU temperature calibration
Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,10 @@
1-
ARMING_RUDDER,2
2-
FS_THR_VALUE,970 # A bit lower to be on the safe side
3-
RC_OPTIONS,32
4-
RC_PROTOCOLS,8 # Selected in the component editor
5-
RC10_OPTION,0
6-
RC6_OPTION,4 # Return home automatically if needed
7-
RC7_OPTION,300 # For emergencies, be able to stop all motors at once
8-
RC8_OPTION,31
9-
RC9_OPTION,0
10-
RSSI_TYPE,0
1+
ARMING_RUDDER,2
2+
FS_THR_VALUE,970 # A bit lower to be on the safe side
3+
RC_OPTIONS,32
4+
RC_PROTOCOLS,8 # Selected in the component editor
5+
RC10_OPTION,0
6+
RC6_OPTION,4 # Return home automatically if needed
7+
RC7_OPTION,300 # For emergencies, be able to stop all motors at once
8+
RC8_OPTION,31
9+
RC9_OPTION,0
10+
RSSI_TYPE,0
Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
BRD_SER1_RTSCTS,1 # Holybro telemetry radio has RTS/CTS pins, so use them
2-
SERIAL1_BAUD,57 # Holybro telemetry radio recomended datarate
3-
SERIAL1_OPTIONS,0
4-
SERIAL1_PROTOCOL,2
1+
BRD_SER1_RTSCTS,1 # Holybro telemetry radio has RTS/CTS pins, so use them
2+
SERIAL1_BAUD,57 # Holybro telemetry radio recomended datarate
3+
SERIAL1_OPTIONS,0
4+
SERIAL1_PROTOCOL,2
Lines changed: 27 additions & 27 deletions
Original file line numberDiff line numberDiff line change
@@ -1,27 +1,27 @@
1-
ATC_RAT_PIT_SMAX,25 # 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,25 # 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,25 # limit the slew rate to prevent possible ESC desync - https://ardupilot.org/copter/docs/common-servo-limit-cycle-detection.html
4-
MOT_HOVER_LEARN,2 # So that it can tune the throttle controller on 20_throttle_controller.param file
5-
MOT_PWM_MAX,1920
6-
MOT_PWM_MIN,1120
7-
MOT_PWM_TYPE,0 # Specified in component editor window
8-
MOT_SPOOL_TIME,0.5
9-
NTF_BUZZ_TYPES,5 # Our CubeOrange have it self buzzer.
10-
NTF_LED_TYPES,123079
11-
PSC_ACCZ_SMAX,1000 # limit the slew rate to prevent possible ESC desync - https://ardupilot.org/copter/docs/common-servo-limit-cycle-detection.html
12-
SERVO_BLH_POLES,14 # Specified in component editor window
13-
SERVO_FTW_POLES,14 # Specified in component editor window
14-
SERVO1_MAX,1900 # Operating Pulse Width:1100-1900us(Fixed or cannot be Programmed)
15-
SERVO1_MIN,1100 # Operating Pulse Width:1100-1900us(Fixed or cannot be Programmed)
16-
SERVO1_TRIM,1500 # Operating Pulse Width:1100-1900us(Fixed or cannot be Programmed)
17-
SERVO2_MAX,1900 # Operating Pulse Width:1100-1900us(Fixed or cannot be Programmed)
18-
SERVO2_MIN,1100 # Operating Pulse Width:1100-1900us(Fixed or cannot be Programmed)
19-
SERVO2_TRIM,1500 # Operating Pulse Width:1100-1900us(Fixed or cannot be Programmed)
20-
SERVO3_MAX,1900 # Operating Pulse Width:1100-1900us(Fixed or cannot be Programmed)
21-
SERVO3_MIN,1100 # Operating Pulse Width:1100-1900us(Fixed or cannot be Programmed)
22-
SERVO3_TRIM,1500 # Operating Pulse Width:1100-1900us(Fixed or cannot be Programmed)
23-
SERVO4_MAX,1900 # Operating Pulse Width:1100-1900us(Fixed or cannot be Programmed)
24-
SERVO4_MIN,1100 # Operating Pulse Width:1100-1900us(Fixed or cannot be Programmed)
25-
SERVO4_TRIM,1500 # Operating Pulse Width:1100-1900us(Fixed or cannot be Programmed)
26-
TKOFF_RPM_MIN,0 # No ESC telemetry available, so no way to measure RPM
27-
TKOFF_SLEW_TIME,2
1+
ATC_RAT_PIT_SMAX,25 # 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,25 # 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,25 # limit the slew rate to prevent possible ESC desync - https://ardupilot.org/copter/docs/common-servo-limit-cycle-detection.html
4+
MOT_HOVER_LEARN,2 # So that it can tune the throttle controller on 20_throttle_controller.param file
5+
MOT_PWM_MAX,1920
6+
MOT_PWM_MIN,1120
7+
MOT_PWM_TYPE,0 # Specified in component editor window
8+
MOT_SPOOL_TIME,0.5
9+
NTF_BUZZ_TYPES,5 # Our CubeOrange have it self buzzer.
10+
NTF_LED_TYPES,123079
11+
PSC_ACCZ_SMAX,1000 # limit the slew rate to prevent possible ESC desync - https://ardupilot.org/copter/docs/common-servo-limit-cycle-detection.html
12+
SERVO_BLH_POLES,14 # Specified in component editor window
13+
SERVO_FTW_POLES,14 # Specified in component editor window
14+
SERVO1_MAX,1900 # Operating Pulse Width:1100-1900us(Fixed or cannot be Programmed)
15+
SERVO1_MIN,1100 # Operating Pulse Width:1100-1900us(Fixed or cannot be Programmed)
16+
SERVO1_TRIM,1500 # Operating Pulse Width:1100-1900us(Fixed or cannot be Programmed)
17+
SERVO2_MAX,1900 # Operating Pulse Width:1100-1900us(Fixed or cannot be Programmed)
18+
SERVO2_MIN,1100 # Operating Pulse Width:1100-1900us(Fixed or cannot be Programmed)
19+
SERVO2_TRIM,1500 # Operating Pulse Width:1100-1900us(Fixed or cannot be Programmed)
20+
SERVO3_MAX,1900 # Operating Pulse Width:1100-1900us(Fixed or cannot be Programmed)
21+
SERVO3_MIN,1100 # Operating Pulse Width:1100-1900us(Fixed or cannot be Programmed)
22+
SERVO3_TRIM,1500 # Operating Pulse Width:1100-1900us(Fixed or cannot be Programmed)
23+
SERVO4_MAX,1900 # Operating Pulse Width:1100-1900us(Fixed or cannot be Programmed)
24+
SERVO4_MIN,1100 # Operating Pulse Width:1100-1900us(Fixed or cannot be Programmed)
25+
SERVO4_TRIM,1500 # Operating Pulse Width:1100-1900us(Fixed or cannot be Programmed)
26+
TKOFF_RPM_MIN,0 # No ESC telemetry available, so no way to measure RPM
27+
TKOFF_SLEW_TIME,2
Lines changed: 17 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -1,17 +1,17 @@
1-
BATT_AMP_PERVLT,36.363998 # Provided by the manufacturer
2-
BATT_ARM_VOLT,14.7 # Do not allow arming below this voltage
3-
BATT_CAPACITY,5000 # Total battery capacity specified in the component editor
4-
BATT_CRT_MAH,0 # No capacity based failsafes, too unreliable
5-
BATT_CRT_VOLT,13.2 # (Critical voltage + 0.0) x no. of cells
6-
BATT_CURR_PIN,3
7-
BATT_FS_CRT_ACT,1 # Land ASAP
8-
BATT_FS_LOW_ACT,2 # Return and land at home or rally point
9-
BATT_FS_VOLTSRC,1
10-
BATT_LOW_MAH,0 # No capacity based failsafes, too unreliable
11-
BATT_LOW_VOLT,13.6 # (Low voltage + 0.0) x no. of cells
12-
BATT_MONITOR,4 # Selected in component editor window
13-
BATT_VOLT_MULT,18.181999 # Provided by the manufacturer
14-
BATT_VOLT_PIN,2
15-
BRD_TYPE,24
16-
MOT_BAT_VOLT_MAX,16.8 # (Max voltage + 0.0) x no. of cells
17-
MOT_BAT_VOLT_MIN,13.2 # (Critical voltage + 0.0) x no. of cells
1+
BATT_AMP_PERVLT,36.363998 # Provided by the manufacturer
2+
BATT_ARM_VOLT,14.7 # Do not allow arming below this voltage
3+
BATT_CAPACITY,5000 # Total battery capacity specified in the component editor
4+
BATT_CRT_MAH,0 # No capacity based failsafes, too unreliable
5+
BATT_CRT_VOLT,13.2 # (Critical voltage + 0.0) x no. of cells
6+
BATT_CURR_PIN,3
7+
BATT_FS_CRT_ACT,1 # Land ASAP
8+
BATT_FS_LOW_ACT,2 # Return and land at home or rally point
9+
BATT_FS_VOLTSRC,1
10+
BATT_LOW_MAH,0 # No capacity based failsafes, too unreliable
11+
BATT_LOW_VOLT,13.6 # (Low voltage + 0.0) x no. of cells
12+
BATT_MONITOR,4 # Selected in component editor window
13+
BATT_VOLT_MULT,18.181999 # Provided by the manufacturer
14+
BATT_VOLT_PIN,2
15+
BRD_TYPE,24
16+
MOT_BAT_VOLT_MAX,16.8 # (Max voltage + 0.0) x no. of cells
17+
MOT_BAT_VOLT_MIN,13.2 # (Critical voltage + 0.0) x no. of cells
Lines changed: 13 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,13 @@
1-
BRD_BOOT_DELAY,0
2-
BRD_SAFETY_DEFLT,0 # The button is broken on this vehicle
3-
CAN_D1_PROTOCOL,0
4-
CAN_P1_DRIVER,0
5-
GPS_AUTO_SWITCH,0
6-
GPS1_GNSS_MODE,7
7-
GPS1_POS_X,0
8-
GPS1_POS_Y,0
9-
GPS1_POS_Z,0
10-
GPS1_TYPE,2 # Defined in component editor
11-
NTF_LED_TYPES,123079
12-
SERIAL3_PROTOCOL,5
13-
WPNAV_RADIUS,200
1+
BRD_BOOT_DELAY,0
2+
BRD_SAFETY_DEFLT,0 # The button is broken on this vehicle
3+
CAN_D1_PROTOCOL,0
4+
CAN_P1_DRIVER,0
5+
GPS_AUTO_SWITCH,0
6+
GPS1_GNSS_MODE,7
7+
GPS1_POS_X,0
8+
GPS1_POS_Y,0
9+
GPS1_POS_Z,0
10+
GPS1_TYPE,2 # Defined in component editor
11+
NTF_LED_TYPES,123079
12+
SERIAL3_PROTOCOL,5
13+
WPNAV_RADIUS,200
Lines changed: 18 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -1,18 +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
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 commit comments

Comments
 (0)