Tools: convert param files for pitch limits

This commit is contained in:
Andrew Tridgell 2024-01-19 12:51:34 +11:00
parent 74e455ef6a
commit badf8fabdd
22 changed files with 40 additions and 40 deletions

View File

@ -6,7 +6,7 @@ BATT_MONITOR,4
BATT_VOLT_MULT,12 BATT_VOLT_MULT,12
BRD_SAFETY_DEFLT,0 BRD_SAFETY_DEFLT,0
FORMAT_VERSION,13 FORMAT_VERSION,13
LIM_PITCH_MAX,3500 PITCH_LIM_MAX_DEG,35.00
MIXING_GAIN,0.8 MIXING_GAIN,0.8
PTCH_RATE_D,0.000000 PTCH_RATE_D,0.000000
PTCH_RATE_FF,0.455000 PTCH_RATE_FF,0.455000

View File

@ -24,8 +24,8 @@ INS_ACCEL_FILTER 10
INS_GYRO_FILTER 5 INS_GYRO_FILTER 5
LAND_FLARE_ALT 3 LAND_FLARE_ALT 3
LAND_FLARE_SEC 2 LAND_FLARE_SEC 2
LIM_PITCH_MAX 3000 PITCH_LIM_MAX_DEG 30.00
LIM_PITCH_MIN -2500 PITCH_LIM_MIN_DEG -25.00
LIM_ROLL_CD 5500 LIM_ROLL_CD 5500
NAVL1_PERIOD 16 NAVL1_PERIOD 16
PTCH_RATE_D 0.000000 PTCH_RATE_D 0.000000

View File

@ -17,7 +17,7 @@ INS_HNTCH_MODE 1.000000
INS_HNTCH_REF 0.337000 INS_HNTCH_REF 0.337000
# fixed wing limits # fixed wing limits
LIM_PITCH_MIN -2000 PITCH_LIM_MIN_DEG -20.00
LIM_ROLL_CD 4000 LIM_ROLL_CD 4000
LEVEL_ROLL_LIMIT 12 LEVEL_ROLL_LIMIT 12

View File

@ -12,8 +12,8 @@ AIRSPEED_MIN 22
AIRSPEED_CRUISE 27.00 AIRSPEED_CRUISE 27.00
# fixed wing limits # fixed wing limits
LIM_PITCH_MAX 1500 PITCH_LIM_MAX_DEG 15.00
LIM_PITCH_MIN -1500 PITCH_LIM_MIN_DEG -15.00
LIM_ROLL_CD 2500 LIM_ROLL_CD 2500
# setup elevons as 75% elevator and 25% aileron # setup elevons as 75% elevator and 25% aileron

View File

@ -19,7 +19,7 @@ INS_HNTCH_MODE 1.000000
INS_HNTCH_REF 0.337000 INS_HNTCH_REF 0.337000
# fixed wing limits # fixed wing limits
LIM_PITCH_MIN -2000 PITCH_LIM_MIN_DEG -20.00
LIM_ROLL_CD 4000 LIM_ROLL_CD 4000
LEVEL_ROLL_LIMIT 12 LEVEL_ROLL_LIMIT 12

View File

@ -9,7 +9,7 @@ AIRSPEED_CRUISE 20.00
TRIM_THROTTLE 52 TRIM_THROTTLE 52
# fixed wing limits # fixed wing limits
LIM_PITCH_MAX 2200 PITCH_LIM_MAX_DEG 22.00
LIM_ROLL_CD 3500 LIM_ROLL_CD 3500
NAVL1_PERIOD 24 NAVL1_PERIOD 24
RTL_ALTITUDE 90.00 RTL_ALTITUDE 90.00

View File

@ -26,8 +26,8 @@ AIRSPEED_MAX 30
AIRSPEED_MIN 15 AIRSPEED_MIN 15
# limits # limits
LIM_PITCH_MAX 2000 PITCH_LIM_MAX_DEG 20.00
LIM_PITCH_MIN -2000 PITCH_LIM_MIN_DEG -20.00
LIM_ROLL_CD 5500 LIM_ROLL_CD 5500
# pitch tuning # pitch tuning

View File

@ -3,8 +3,8 @@
# https://www.muginuav.com/product/mugin-ev350-carbon-fiber-full-electric-vtol-uav-platform/ # https://www.muginuav.com/product/mugin-ev350-carbon-fiber-full-electric-vtol-uav-platform/
RTL_ALTITUDE 80.00 RTL_ALTITUDE 80.00
LIM_PITCH_MAX 2000 PITCH_LIM_MAX_DEG 20.00
LIM_PITCH_MIN -2000 PITCH_LIM_MIN_DEG -20.00
LIM_ROLL_CD 4000 LIM_ROLL_CD 4000
NAVL1_PERIOD 17 NAVL1_PERIOD 17
PTCH2SRV_TCONST 0.75 PTCH2SRV_TCONST 0.75

View File

@ -27,8 +27,8 @@ LAND_SLOPE_RCALC,2
LAND_THEN_NEUTRL,1 LAND_THEN_NEUTRL,1
LAND_THR_SLEW,70 LAND_THR_SLEW,70
LEVEL_ROLL_LIMIT,15 LEVEL_ROLL_LIMIT,15
LIM_PITCH_MAX,1500 PITCH_LIM_MAX_DEG,15.00
LIM_PITCH_MIN,-2500 PITCH_LIM_MIN_DEG,-25.00
LIM_ROLL_CD,3500 LIM_ROLL_CD,3500
MIN_GNDSPD_CM,600 MIN_GNDSPD_CM,600
MIXING_GAIN,0.5 MIXING_GAIN,0.5

View File

@ -27,8 +27,8 @@ LAND_SLOPE_RCALC,2
LAND_THEN_NEUTRL,1 LAND_THEN_NEUTRL,1
LAND_THR_SLEW,70 LAND_THR_SLEW,70
LEVEL_ROLL_LIMIT,15 LEVEL_ROLL_LIMIT,15
LIM_PITCH_MAX,1500 PITCH_LIM_MAX_DEG,15.00
LIM_PITCH_MIN,-2500 PITCH_LIM_MIN_DEG,-25.00
LIM_ROLL_CD,3500 LIM_ROLL_CD,3500
MIN_GNDSPD_CM,600 MIN_GNDSPD_CM,600
MIXING_GAIN,0.5 MIXING_GAIN,0.5

View File

@ -45,8 +45,8 @@ INS_ACCSCAL_Y 1.001000
INS_ACCSCAL_Z 1.001000 INS_ACCSCAL_Z 1.001000
INS_GYR_CAL 0 INS_GYR_CAL 0
KFF_RDDRMIX 0.500000 KFF_RDDRMIX 0.500000
LIM_PITCH_MAX 3000 PITCH_LIM_MAX_DEG 30.00
LIM_PITCH_MIN -3000 PITCH_LIM_MIN_DEG -30.00
LIM_ROLL_CD 6500 LIM_ROLL_CD 6500
NAVL1_PERIOD 8 NAVL1_PERIOD 8
PTCH_RATE_D 0.000000 PTCH_RATE_D 0.000000

View File

@ -3,8 +3,8 @@ AIRSPEED_MAX 80.0000
AIRSPEED_MIN 25.0000 AIRSPEED_MIN 25.0000
FBWB_CLIMB_RATE 5.0000 FBWB_CLIMB_RATE 5.0000
LAND_FLARE_SEC 2.0000 LAND_FLARE_SEC 2.0000
LIM_PITCH_MAX 2000.0000 PITCH_LIM_MAX_DEG 20.00
LIM_PITCH_MIN -2500.0000 PITCH_LIM_MIN_DEG -25.00
LIM_ROLL_CD 7000.0000 LIM_ROLL_CD 7000.0000
NAVL1_PERIOD 17.0000 NAVL1_PERIOD 17.0000
PTCH_RATE_D 0.000000 PTCH_RATE_D 0.000000

View File

@ -4,8 +4,8 @@ LOG_BITMASK 65535
AIRSPEED_CRUISE 22.00 AIRSPEED_CRUISE 22.00
TRIM_PITCH_DEG 0.00 TRIM_PITCH_DEG 0.00
TRIM_THROTTLE 50 TRIM_THROTTLE 50
LIM_PITCH_MIN -2000 PITCH_LIM_MIN_DEG -20.00
LIM_PITCH_MAX 2500 PITCH_LIM_MAX_DEG 25.00
LIM_ROLL_CD 6500 LIM_ROLL_CD 6500
LAND_DISARMDELAY 3 LAND_DISARMDELAY 3
LAND_PITCH_CD 100 LAND_PITCH_CD 100

View File

@ -1,8 +1,8 @@
BATT_MONITOR 4 BATT_MONITOR 4
AIRSPEED_CRUISE 22.00 AIRSPEED_CRUISE 22.00
TRIM_THROTTLE 50 TRIM_THROTTLE 50
LIM_PITCH_MIN -2000 PITCH_LIM_MIN_DEG -20.00
LIM_PITCH_MAX 2500 PITCH_LIM_MAX_DEG 25.00
LIM_ROLL_CD 6500 LIM_ROLL_CD 6500
ARSPD_USE 1 ARSPD_USE 1
AIRSPEED_MAX 30 AIRSPEED_MAX 30

View File

@ -34,8 +34,8 @@ INS_ACCSCAL_Y 1.001000
INS_ACCSCAL_Z 1.001000 INS_ACCSCAL_Z 1.001000
INS_GYR_CAL 0 INS_GYR_CAL 0
KFF_RDDRMIX 0.500000 KFF_RDDRMIX 0.500000
LIM_PITCH_MAX 3000 PITCH_LIM_MAX_DEG 30.00
LIM_PITCH_MIN -3000 PITCH_LIM_MIN_DEG -30.00
LIM_ROLL_CD 6500 LIM_ROLL_CD 6500
NAVL1_PERIOD 14 NAVL1_PERIOD 14
PTCH_RATE_D 0.000000 PTCH_RATE_D 0.000000

View File

@ -1,5 +1,5 @@
LIM_PITCH_MAX 3000 PITCH_LIM_MAX_DEG 30.00
LIM_PITCH_MIN -3000 PITCH_LIM_MIN_DEG -30.00
Q_ENABLE 1 Q_ENABLE 1
Q_FRAME_CLASS 1 Q_FRAME_CLASS 1
Q_FRAME_TYPE 3 Q_FRAME_TYPE 3

View File

@ -37,8 +37,8 @@ INS_ACCSCAL_Y 1.001000
INS_ACCSCAL_Z 1.001000 INS_ACCSCAL_Z 1.001000
INS_GYR_CAL 0 INS_GYR_CAL 0
KFF_RDDRMIX 0.500000 KFF_RDDRMIX 0.500000
LIM_PITCH_MAX 3000 PITCH_LIM_MAX_DEG 30.00
LIM_PITCH_MIN -3000 PITCH_LIM_MIN_DEG -30.00
LIM_ROLL_CD 6500 LIM_ROLL_CD 6500
NAVL1_PERIOD 14 NAVL1_PERIOD 14
PTCH_RATE_D 0.000000 PTCH_RATE_D 0.000000

View File

@ -37,8 +37,8 @@ INS_ACCSCAL_Y 1.001000
INS_ACCSCAL_Z 1.001000 INS_ACCSCAL_Z 1.001000
INS_GYR_CAL 0 INS_GYR_CAL 0
KFF_RDDRMIX 0.500000 KFF_RDDRMIX 0.500000
LIM_PITCH_MAX 3000 PITCH_LIM_MAX_DEG 30.00
LIM_PITCH_MIN -3000 PITCH_LIM_MIN_DEG -30.00
LIM_ROLL_CD 6500 LIM_ROLL_CD 6500
NAVL1_PERIOD 14 NAVL1_PERIOD 14
PTCH_RATE_D 0.000000 PTCH_RATE_D 0.000000

View File

@ -37,8 +37,8 @@ INS_ACCSCAL_Y 1.001000
INS_ACCSCAL_Z 1.001000 INS_ACCSCAL_Z 1.001000
INS_GYR_CAL 0 INS_GYR_CAL 0
KFF_RDDRMIX 0.500000 KFF_RDDRMIX 0.500000
LIM_PITCH_MAX 3000 PITCH_LIM_MAX_DEG 30.00
LIM_PITCH_MIN -3000 PITCH_LIM_MIN_DEG -30.00
LIM_ROLL_CD 6500 LIM_ROLL_CD 6500
NAVL1_PERIOD 14 NAVL1_PERIOD 14
PTCH_RATE_D 0.000000 PTCH_RATE_D 0.000000

View File

@ -35,8 +35,8 @@ INS_ACCSCAL_Y 1.001000
INS_ACCSCAL_Z 1.001000 INS_ACCSCAL_Z 1.001000
INS_GYR_CAL 0 INS_GYR_CAL 0
KFF_RDDRMIX 0.500000 KFF_RDDRMIX 0.500000
LIM_PITCH_MAX 3000 PITCH_LIM_MAX_DEG 30.00
LIM_PITCH_MIN -3000 PITCH_LIM_MIN_DEG -30.00
LIM_ROLL_CD 6500 LIM_ROLL_CD 6500
NAVL1_PERIOD 14 NAVL1_PERIOD 14
PTCH_RATE_D 0.000000 PTCH_RATE_D 0.000000

View File

@ -336,8 +336,8 @@ LAND_THEN_NEUTRL,0
LAND_THR_SLEW,0 LAND_THR_SLEW,0
LAND_TYPE,0 LAND_TYPE,0
LEVEL_ROLL_LIMIT,5 LEVEL_ROLL_LIMIT,5
LIM_PITCH_MAX,2000 PITCH_LIM_MAX_DEG,20.00
LIM_PITCH_MIN,-2500 PITCH_LIM_MIN_DEG,-25.00
LIM_ROLL_CD,4500 LIM_ROLL_CD,4500
LOG_BACKEND_TYPE,1 LOG_BACKEND_TYPE,1
LOG_BITMASK,65535 LOG_BITMASK,65535

View File

@ -4,8 +4,8 @@ LOG_BITMASK 65535
AIRSPEED_CRUISE 22.00 AIRSPEED_CRUISE 22.00
TRIM_PITCH_DEG 0.00 TRIM_PITCH_DEG 0.00
TRIM_THROTTLE 50 TRIM_THROTTLE 50
LIM_PITCH_MIN -2000 PITCH_LIM_MIN_DEG -20.00
LIM_PITCH_MAX 2500 PITCH_LIM_MAX_DEG 25.00
LIM_ROLL_CD 6500 LIM_ROLL_CD 6500
LAND_PITCH_CD 100 LAND_PITCH_CD 100
LAND_FLARE_SEC 3 LAND_FLARE_SEC 3