mirror of https://github.com/ArduPilot/ardupilot
Tools: change TRIM_ARSPD_CM to AIRSPEED_CRUISE
This commit is contained in:
parent
94edcc4654
commit
4fea71246d
|
@ -56,7 +56,7 @@ THR_FS_VALUE 950
|
|||
THR_MAX 100
|
||||
THR_MIN 0
|
||||
TKOFF_THR_MINACC 4
|
||||
TRIM_ARSPD_CM 1400
|
||||
AIRSPEED_CRUISE 14.00
|
||||
TRIM_THROTTLE 35
|
||||
WP_LOITER_RAD 30
|
||||
WP_RADIUS 90
|
||||
|
|
|
@ -3,7 +3,7 @@
|
|||
# airspeed
|
||||
ARSPD_FBW_MAX 35
|
||||
ARSPD_FBW_MIN 18
|
||||
TRIM_ARSPD_CM 2300
|
||||
AIRSPEED_CRUISE 23.00
|
||||
TRIM_THROTTLE 60
|
||||
|
||||
# notch filter
|
||||
|
|
|
@ -9,7 +9,7 @@
|
|||
# setup airspeed range
|
||||
ARSPD_FBW_MAX 35
|
||||
ARSPD_FBW_MIN 22
|
||||
TRIM_ARSPD_CM 2700
|
||||
AIRSPEED_CRUISE 27.00
|
||||
|
||||
# fixed wing limits
|
||||
LIM_PITCH_MAX 1500
|
||||
|
|
|
@ -5,7 +5,7 @@
|
|||
# airspeed
|
||||
ARSPD_FBW_MAX 35
|
||||
ARSPD_FBW_MIN 18
|
||||
TRIM_ARSPD_CM 2300
|
||||
AIRSPEED_CRUISE 23.00
|
||||
TRIM_THROTTLE 60
|
||||
|
||||
# notch filter
|
||||
|
|
|
@ -5,7 +5,7 @@
|
|||
# airspeed
|
||||
ARSPD_FBW_MAX 29
|
||||
ARSPD_FBW_MIN 16
|
||||
TRIM_ARSPD_CM 2000
|
||||
AIRSPEED_CRUISE 20.00
|
||||
TRIM_THROTTLE 52
|
||||
|
||||
# fixed wing limits
|
||||
|
|
|
@ -21,7 +21,7 @@ INS_HNTCH_MODE 1
|
|||
INS_HNTCH_REF 0.26
|
||||
|
||||
# airspeed
|
||||
TRIM_ARSPD_CM 2300
|
||||
AIRSPEED_CRUISE 23.00
|
||||
ARSPD_FBW_MAX 30
|
||||
ARSPD_FBW_MIN 15
|
||||
|
||||
|
|
|
@ -24,7 +24,7 @@ INS_HNTCH_MODE 1
|
|||
INS_HNTCH_REF 0.245000
|
||||
|
||||
# airspeed
|
||||
TRIM_ARSPD_CM 2300
|
||||
AIRSPEED_CRUISE 23.00
|
||||
ARSPD_FBW_MAX 28
|
||||
ARSPD_FBW_MIN 18
|
||||
|
||||
|
|
|
@ -5,7 +5,7 @@
|
|||
# airspeed
|
||||
ARSPD_FBW_MAX 31
|
||||
ARSPD_FBW_MIN 22
|
||||
TRIM_ARSPD_CM 2400
|
||||
AIRSPEED_CRUISE 24.00
|
||||
SCALING_SPEED 20
|
||||
TRIM_THROTTLE 55
|
||||
|
||||
|
|
|
@ -13,7 +13,7 @@ THR_MIN,-25
|
|||
THR_SLEWRATE,30
|
||||
TRIM_THROTTLE,60
|
||||
GROUND_STEER_ALT,10
|
||||
TRIM_ARSPD_CM,5200
|
||||
AIRSPEED_CRUISE,52.00
|
||||
SCALING_SPEED,60
|
||||
TRIM_PITCH_DEG,4
|
||||
ALT_HOLD_RTL,25000
|
||||
|
|
|
@ -105,7 +105,7 @@ TKOFF_THR_MAX,0
|
|||
TKOFF_THR_MINACC,12
|
||||
TKOFF_THR_MINSPD,0
|
||||
TKOFF_THR_SLEW,100
|
||||
TRIM_ARSPD_CM,1600
|
||||
AIRSPEED_CRUISE,16.00
|
||||
TRIM_AUTO,0
|
||||
PITCH_TRIM,0
|
||||
TRIM_RC_AT_START,0
|
||||
|
|
|
@ -105,7 +105,7 @@ TKOFF_THR_MAX,0
|
|||
TKOFF_THR_MINACC,12
|
||||
TKOFF_THR_MINSPD,0
|
||||
TKOFF_THR_SLEW,100
|
||||
TRIM_ARSPD_CM,1600
|
||||
AIRSPEED_CRUISE,16.00
|
||||
TRIM_AUTO,0
|
||||
PITCH_TRIM,0
|
||||
TRIM_RC_AT_START,0
|
||||
|
|
|
@ -844,7 +844,7 @@ class AutoTestPlane(vehicle_test_suite.TestSuite):
|
|||
# - DO_CHANGE_AIRSPEED is a permanent vehicle change!
|
||||
self.context_push()
|
||||
self.set_parameters({
|
||||
"TRIM_ARSPD_CM": self.get_parameter("TRIM_ARSPD_CM"),
|
||||
"AIRSPEED_CRUISE": self.get_parameter("AIRSPEED_CRUISE"),
|
||||
"MIN_GNDSPD_CM": self.get_parameter("MIN_GNDSPD_CM"),
|
||||
"TRIM_THROTTLE": self.get_parameter("TRIM_THROTTLE"),
|
||||
})
|
||||
|
@ -886,7 +886,7 @@ class AutoTestPlane(vehicle_test_suite.TestSuite):
|
|||
self.change_mode('AUTO')
|
||||
|
||||
checks = [
|
||||
(1, self.get_parameter("TRIM_ARSPD_CM") * 0.01),
|
||||
(1, self.get_parameter("AIRSPEED_CRUISE")),
|
||||
(3, 10),
|
||||
(5, 20),
|
||||
(7, 15),
|
||||
|
|
|
@ -71,7 +71,7 @@ RLL_RATE_IMAX 0.888889
|
|||
RLL_RATE_P 0.141009
|
||||
SCHED_LOOP_RATE 300
|
||||
THR_MAX 100
|
||||
TRIM_ARSPD_CM 2500
|
||||
AIRSPEED_CRUISE 25.00
|
||||
LOG_BITMASK 65534
|
||||
# map channel 13 out for tilt
|
||||
Q_ENABLE 1
|
||||
|
|
|
@ -26,7 +26,7 @@ TECS_SINK_MIN 10.0000
|
|||
THR_SLEWRATE 30.0000
|
||||
TKOFF_ROTATE_SPD 20.0000
|
||||
TKOFF_THR_MAX 100.0000
|
||||
TRIM_ARSPD_CM 4000.0000
|
||||
AIRSPEED_CRUISE 40.00
|
||||
TRIM_THROTTLE 36.0000
|
||||
WP_LOITER_RAD 180.0000
|
||||
WP_RADIUS 140.0000
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
EK2_ENABLE 1
|
||||
BATT_MONITOR 4
|
||||
LOG_BITMASK 65535
|
||||
TRIM_ARSPD_CM 2200
|
||||
AIRSPEED_CRUISE 22.00
|
||||
PITCH_TRIM 0
|
||||
TRIM_THROTTLE 50
|
||||
LIM_PITCH_MIN -2000
|
||||
|
|
|
@ -28,7 +28,7 @@ SOAR_VSPEED 0.700000
|
|||
|
||||
TECS_SPDWEIGHT 2.000000
|
||||
|
||||
TRIM_ARSPD_CM 900.000000
|
||||
AIRSPEED_CRUISE 9.00
|
||||
|
||||
NAVL1_LIM_BANK 60.000000
|
||||
NAVL1_PERIOD 10.000
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
BATT_MONITOR 4
|
||||
TRIM_ARSPD_CM 2200
|
||||
AIRSPEED_CRUISE 22.00
|
||||
TRIM_THROTTLE 50
|
||||
LIM_PITCH_MIN -2000
|
||||
LIM_PITCH_MAX 2500
|
||||
|
|
|
@ -51,7 +51,7 @@ RLL_RATE_I 0.212500
|
|||
RLL_RATE_IMAX 0.888889
|
||||
RLL_RATE_P 0.141009
|
||||
THR_MAX 100
|
||||
TRIM_ARSPD_CM 2500
|
||||
AIRSPEED_CRUISE 25.00
|
||||
SERVO12_FUNCTION 41
|
||||
SERVO12_MIN 1000
|
||||
SERVO12_MAX 2000
|
||||
|
|
|
@ -67,7 +67,7 @@ RLL_RATE_IMAX 0.888889
|
|||
RLL_RATE_P 0.141009
|
||||
SCHED_LOOP_RATE 300
|
||||
THR_MAX 100
|
||||
TRIM_ARSPD_CM 2500
|
||||
AIRSPEED_CRUISE 25.00
|
||||
LOG_BITMASK 65534
|
||||
Q_TILT_MASK 3
|
||||
Q_VFWD_GAIN 0.1
|
||||
|
|
|
@ -67,7 +67,7 @@ RLL_RATE_IMAX 0.888889
|
|||
RLL_RATE_P 0.141009
|
||||
SCHED_LOOP_RATE 300
|
||||
THR_MAX 100
|
||||
TRIM_ARSPD_CM 2500
|
||||
AIRSPEED_CRUISE 25.00
|
||||
LOG_BITMASK 65534
|
||||
Q_TILT_MASK 3
|
||||
Q_VFWD_GAIN 0.1
|
||||
|
|
|
@ -67,7 +67,7 @@ RLL_RATE_IMAX 0.888889
|
|||
RLL_RATE_P 0.141009
|
||||
SCHED_LOOP_RATE 300
|
||||
THR_MAX 100
|
||||
TRIM_ARSPD_CM 2500
|
||||
AIRSPEED_CRUISE 25.00
|
||||
LOG_BITMASK 65534
|
||||
PTCH_RATE_FF 1.407055
|
||||
RLL_RATE_FF 0.552741
|
||||
|
|
|
@ -63,7 +63,7 @@ RLL_RATE_IMAX 0.888889
|
|||
RLL_RATE_P 0.141009
|
||||
SCHED_LOOP_RATE 300
|
||||
THR_MAX 100
|
||||
TRIM_ARSPD_CM 2500
|
||||
AIRSPEED_CRUISE 25.00
|
||||
LOG_BITMASK 65534
|
||||
Q_M_THST_EXPO 0.65
|
||||
Q_M_PWM_MIN 1000
|
||||
|
|
|
@ -801,7 +801,7 @@ TKOFF_THR_MAX,0
|
|||
TKOFF_THR_MINACC,0
|
||||
TKOFF_THR_MINSPD,0
|
||||
TKOFF_THR_SLEW,0
|
||||
TRIM_ARSPD_CM,1200
|
||||
AIRSPEED_CRUISE,12.00
|
||||
TRIM_AUTO,0
|
||||
PITCH_TRIM,0
|
||||
TRIM_RC_AT_START,0
|
||||
|
|
|
@ -28,7 +28,7 @@ ACRO_LOCKING 2
|
|||
AHRS_EKF_TYPE 10
|
||||
TRIM_THROTTLE 30
|
||||
NAVL1_PERIOD 7
|
||||
TRIM_ARSPD_CM 2400
|
||||
AIRSPEED_CRUISE 24.00
|
||||
ARSPD_FBW_MAX 30
|
||||
LIM_ROLL_CD 7000
|
||||
# setup for scripting
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
EK2_ENABLE 1
|
||||
BATT_MONITOR 4
|
||||
LOG_BITMASK 65535
|
||||
TRIM_ARSPD_CM 2200
|
||||
AIRSPEED_CRUISE 22.00
|
||||
PITCH_TRIM 0
|
||||
TRIM_THROTTLE 50
|
||||
LIM_PITCH_MIN -2000
|
||||
|
|
Loading…
Reference in New Issue