Skip to content

Commit 6455734

Browse files
committed
chore(X500): update the template
1 parent ea09de3 commit 6455734

6 files changed

Lines changed: 89 additions & 20 deletions

File tree

ardupilot_methodic_configurator/vehicle_templates/ArduCopter/Holybro_X500/05_remote_controller.param

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -3,8 +3,8 @@ FS_THR_VALUE,970 # A bit lower to be on the safe side
33
RC_OPTIONS,32
44
RC_PROTOCOLS,8 # Selected in the component editor
55
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
6+
RC6_OPTION,17 # To control PID autotune, after quicktune is done
7+
RC7_OPTION,300 # To trigger PID quicktune
8+
RC8_OPTION,31 # For emergencies, be able to stop all motors at once
99
RC9_OPTION,0
1010
RSSI_TYPE,0
Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,13 @@
11
ATC_ANG_PIT_P,4.5
22
ATC_ANG_RLL_P,4.5
33
ATC_ANG_YAW_P,4.5
4-
ATC_INPUT_TC,0.15
5-
ATC_RAT_PIT_D,0.0036 # = 1* (0.0036 default)
6-
ATC_RAT_PIT_I,0.121 # = 0.896 * (0.135 default)
7-
ATC_RAT_PIT_P,0.121 # = 0.896 * (0.135 default)
8-
ATC_RAT_RLL_D,0.0036 # = 1 * (0.0036 default)
9-
ATC_RAT_RLL_I,0.121 # = 0.896 * (0.135 default)
10-
ATC_RAT_RLL_P,0.121 # = 0.896 * (0.135 default)
4+
ATC_INPUT_TC,0.2 # It's a small (too fast) copter
5+
ATC_RAT_PIT_D,0.00432 # = 1.2* (0.0036 default)
6+
ATC_RAT_PIT_I,0.162 # = 1.2 * (0.135 default)
7+
ATC_RAT_PIT_P,0.162 # = 1.2 * (0.135 default)
8+
ATC_RAT_RLL_D,0.00432 # = 1.2* (0.0036 default)
9+
ATC_RAT_RLL_I,0.162 # = 1.2 * (0.135 default)
10+
ATC_RAT_RLL_P,0.162 # = 1.2 * (0.135 default)
1111
ATC_RAT_YAW_D,0 # = 1 * (0 default)
12-
ATC_RAT_YAW_I,0.018 # = 1 * (0.018 default)
13-
ATC_RAT_YAW_P,0.18 # = 1 * (0.18 default)
12+
ATC_RAT_YAW_I,0.026 # = 1.2 * (0.018 default)
13+
ATC_RAT_YAW_P,0.26 # = 1.2 * (0.18 default)
Lines changed: 23 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,23 @@
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,24.629694
4+
ATC_ANG_RLL_P,18.379057
5+
ATC_ANG_YAW_P,7.636879
6+
ATC_RAT_PIT_I,0.180513
7+
ATC_RAT_RLL_I,0.155054
8+
ATC_RAT_YAW_I,0.099616
9+
ATC_RATE_FF_ENAB,1 # normal operation
10+
FLTMODE6,25 # Activate sysid instead of loiter
11+
LOG_BITMASK,145119 # attitude sample rate at 400Hz rate
12+
LOG_DISARMED,0 # was only needed for wind speed estimation
13+
LOG_REPLAY,0 # was only needed for wind speed estimation
14+
SID_AXIS,1 # Inject chip on the input roll signal
15+
SID_F_START_HZ,0.05
16+
SID_F_STOP_HZ,11
17+
SID_MAGNITUDE,5
18+
SID_T_FADE_IN,5
19+
SID_T_FADE_OUT,1
20+
SID_T_REC,130
21+
TUNE,0 # System identification magnitude
22+
TUNE_MAX,0.3 # System identification max magnitude
23+
TUNE_MIN,0.05 # System identification min magnitude
Lines changed: 23 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,23 @@
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,24.629694
4+
ATC_ANG_RLL_P,18.379057
5+
ATC_ANG_YAW_P,7.636879
6+
ATC_RAT_PIT_I,0.180513
7+
ATC_RAT_RLL_I,0.155054
8+
ATC_RAT_YAW_I,0.099616
9+
ATC_RATE_FF_ENAB,1 # normal operation
10+
FLTMODE6,25 # Activate sysid instead of loiter
11+
LOG_BITMASK,145119 # attitude sample rate at 400Hz rate
12+
LOG_DISARMED,0 # was only needed for wind speed estimation
13+
LOG_REPLAY,0 # was only needed for wind speed estimation
14+
SID_AXIS,2 # Inject chip on the input pitch signal
15+
SID_F_START_HZ,0.05
16+
SID_F_STOP_HZ,11
17+
SID_MAGNITUDE,5
18+
SID_T_FADE_IN,5
19+
SID_T_FADE_OUT,1
20+
SID_T_REC,130
21+
TUNE,0 # System identification magnitude
22+
TUNE_MAX,0.3 # System identification max magnitude
23+
TUNE_MIN,0.05 # System identification min magnitude
Lines changed: 23 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,23 @@
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,24.629694
4+
ATC_ANG_RLL_P,18.379057
5+
ATC_ANG_YAW_P,7.636879
6+
ATC_RAT_PIT_I,0.180513
7+
ATC_RAT_RLL_I,0.155054
8+
ATC_RAT_YAW_I,0.099616
9+
ATC_RATE_FF_ENAB,1 # normal operation
10+
FLTMODE6,25 # Activate sysid instead of loiter
11+
LOG_BITMASK,145119 # attitude sample rate at 400Hz rate
12+
LOG_DISARMED,0 # was only needed for wind speed estimation
13+
LOG_REPLAY,0 # was only needed for wind speed estimation
14+
SID_AXIS,3 # Inject chip on the input yaw signal
15+
SID_F_START_HZ,0.05
16+
SID_F_STOP_HZ,11
17+
SID_MAGNITUDE,10
18+
SID_T_FADE_IN,5
19+
SID_T_FADE_OUT,1
20+
SID_T_REC,130
21+
TUNE,0 # System identification magnitude
22+
TUNE_MAX,0.3 # System identification max magnitude
23+
TUNE_MIN,0.05 # System identification min magnitude

ardupilot_methodic_configurator/vehicle_templates/ArduCopter/Holybro_X500/tuning_report.csv

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -14,14 +14,14 @@ ATC_RAT_RLL_FLTT,20.0,21.0,,,,,,,
1414
ATC_RAT_YAW_FLTD,20.0,0.0,,21.0,,,,,
1515
ATC_RAT_YAW_FLTE,2.5,2.0,,,,,2.090602,,
1616
ATC_RAT_YAW_FLTT,20.0,21.0,,,,,,,
17-
ATC_RAT_PIT_D,0.0036,,0.0036,0.003372,,0.006718,,,
18-
ATC_RAT_PIT_I,0.135,,0.121,0.229527,,0.180513,,,
19-
ATC_RAT_PIT_P,0.135,,0.121,0.229527,,0.180513,,,
20-
ATC_RAT_RLL_D,0.0036,,0.0036,0.003207,0.00528,,,,
21-
ATC_RAT_RLL_I,0.135,,0.121,0.184505,0.155054,,,,
22-
ATC_RAT_RLL_P,0.135,,0.121,0.184505,0.155054,,,,
17+
ATC_RAT_PIT_D,0.0036,,0.00432,0.003372,,0.006718,,,
18+
ATC_RAT_PIT_I,0.135,,0.162,0.229527,,0.180513,,,
19+
ATC_RAT_PIT_P,0.135,,0.162,0.229527,,0.180513,,,
20+
ATC_RAT_RLL_D,0.0036,,0.00432,0.003207,0.00528,,,,
21+
ATC_RAT_RLL_I,0.135,,0.162,0.184505,0.155054,,,,
22+
ATC_RAT_RLL_P,0.135,,0.162,0.184505,0.155054,,,,
2323
ATC_RAT_YAW_D,0.0,,0.0,0.01,,,,0.01,
24-
ATC_RAT_YAW_I,0.018,,0.018,0.05,,,0.099616,0.099616,
25-
ATC_RAT_YAW_P,0.18,,0.18,0.5,,,0.99616,0.99616,
24+
ATC_RAT_YAW_I,0.018,,0.026,0.05,,,0.099616,0.099616,
25+
ATC_RAT_YAW_P,0.18,,0.26,0.5,,,0.99616,0.99616,
2626
INS_ACCEL_FILTER,20.0,10.0,,,,,,,
2727
INS_GYRO_FILTER,20.0,42.0,,,,,,,

0 commit comments

Comments
 (0)