Skip to content

Commit ced91f1

Browse files
MaEtUgRdagar
authored andcommitted
posix rcS: remove various SITL custom settings
because we need to have SITL simulation as realistic as possible compared to a real flight with default settings such that we either fix the problems or adjust the defaults already in SITL testing.
1 parent fa44cd5 commit ced91f1

File tree

1 file changed

+1
-16
lines changed
  • ROMFS/px4fmu_common/init.d-posix

1 file changed

+1
-16
lines changed

ROMFS/px4fmu_common/init.d-posix/rcS

+1-16
Original file line numberDiff line numberDiff line change
@@ -133,14 +133,10 @@ then
133133
param set CBRK_AIRSPD_CHK 0
134134
param set CBRK_SUPPLY_CHK 894281
135135

136-
param set COM_DISARM_LAND 0.5
137-
param set COM_OBL_ACT 2
138-
param set COM_OBL_RC_ACT 0
136+
# Don't require RC calibration and configuration
139137
param set COM_RC_IN_MODE 1
140138

141-
param set EKF2_AID_MASK 1
142139
param set EKF2_ANGERR_INIT 0.01
143-
param set EKF2_HGT_MODE 0
144140
param set EKF2_GBIAS_INIT 0.01
145141

146142
# Prevent high accel bias
@@ -152,29 +148,18 @@ then
152148
# LPE: GPS only mode
153149
param set LPE_FUSION 145
154150

155-
156151
param set MC_PITCH_P 6
157152
param set MC_PITCHRATE_P 0.2
158153
param set MC_ROLL_P 6
159154
param set MC_ROLLRATE_P 0.2
160155

161-
param set MPC_ALT_MODE 0
162-
param set MPC_HOLD_MAX_Z 2
163156
param set MPC_Z_VEL_P_ACC 12.0
164157
param set MPC_Z_VEL_I_ACC 3.0
165158
param set MPC_XY_P 0.8
166159
param set MPC_XY_VEL_P_ACC 4.0
167160
param set MPC_XY_VEL_I_ACC 0.4
168161
param set MPC_XY_VEL_D_ACC 0.32
169162

170-
param set MPC_SPOOLUP_TIME 0.5
171-
param set MPC_TKO_RAMP_T 1
172-
173-
param set NAV_ACC_RAD 2
174-
param set NAV_DLL_ACT 2
175-
176-
param set RTL_DESCEND_ALT 5
177-
param set RTL_LAND_DELAY 5
178163
param set RTL_RETURN_ALT 30
179164

180165
# By default log from boot until first disarm.

0 commit comments

Comments
 (0)