Skip to content

Commit

Permalink
add new params for r12.1
Browse files Browse the repository at this point in the history
  • Loading branch information
JorgelHenri committed Apr 30, 2024
1 parent 053f925 commit 6376200
Showing 1 changed file with 26 additions and 9 deletions.
35 changes: 26 additions & 9 deletions ROMFS/px4fmu_common/init.d/airframes/4430_ssrc_strivermini
Original file line number Diff line number Diff line change
Expand Up @@ -72,10 +72,11 @@ param set-default PWM_AUX_FUNC6 105

# Start airspeed sensor driver
ms4525do start -X -f 500
sdp3x start -X -f 500

# Airspeed parameters
param set-default ASPD_DO_CHECKS 15
param set-default FW_AIRSPD_MAX 22.0
param set-default ASPD_DO_CHECKS 7
param set-default FW_AIRSPD_MAX 25.0
param set-default FW_AIRSPD_MIN 15.0
param set-default FW_AIRSPD_STALL 12.0
param set-default FW_AIRSPD_TRIM 18.0
Expand Down Expand Up @@ -112,33 +113,49 @@ param set-default FW_MAN_R_MAX 60.0
param set-default FW_RR_IMAX 0.4000
param set-default FW_YR_IMAX 0.4000

# Multicopter specific
param set-default MC_PITCHRATE_D 0
param set-default MC_PITCHRATE_MAX 120
param set-default MC_PITCHRATE_P 0.140
param set-default MC_PITCH_P 4
param set-default MC_ROLLRATE_D 0
param set-default MC_ROLLRATE_P 0.140
param set-default MC_ROLL_P 3.50
param set-default MPC_MAN_TILT_MAX 30.0
param set-default MPC_MAN_Y_MAX 80.0
param set-default MPC_Z_VEL_MAX_UP 2.0
param set-default MPC_Z_V_AUTO_UP 2.0

# VTOL specific
# VTOL type
param set-default VT_TYPE 2

# Airspeed at which we can start blending both fw and mc controls.
param set-default VT_ARSP_BLEND 10
param set-default VT_ARSP_BLEND 8

# Airspeed at which we can switch to fw mode
param set-default VT_ARSP_TRANS 12
param set-default VT_ARSP_TRANS 14

# Back-transition duration
param set-default VT_B_TRANS_DUR 4
param set-default VT_B_TRANS_DUR 10
param set-default VT_B_TRANS_RAMP 3

# Transition duration
param set-default VT_F_TRANS_DUR 6
param set-default VT_F_TRANS_THR 1

# VTOL takeoff
param set-default VTO_LOITER_ALT 20
param set-default VTO_LOITER_ALT 40

# QuadChute altitude (transition to quad mode as a failsafe)
param set-default VT_FW_MIN_ALT 5
param set-default VT_FW_MIN_ALT 10

# QuadChute angle limits
param set-default VT_FW_QC_P 35
param set-default VT_FW_QC_R 60
param set-default VT_FW_QC_P 25
param set-default VT_FW_QC_R 45

param set-default VT_TRANS_MIN_TM 5.00
param set-default VT_FWD_THRUST_EN 3

# Change current sense shunt resistor value
param set-default INA226_SHUNT 0.0005

0 comments on commit 6376200

Please sign in to comment.