Browse Source

ROMFS: Remove calls which messed with params

sbg
Lorenz Meier 9 years ago
parent
commit
2fd89ea904
  1. 3
      ROMFS/px4fmu_common/init.d/1000_rc_fw_easystar.hil
  2. 6
      ROMFS/px4fmu_common/init.d/4010_dji_f330
  3. 6
      ROMFS/px4fmu_common/init.d/4011_dji_f450
  4. 64
      ROMFS/px4fmu_common/init.d/rcS

3
ROMFS/px4fmu_common/init.d/1000_rc_fw_easystar.hil

@ -37,9 +37,8 @@ then @@ -37,9 +37,8 @@ then
param set FW_RR_I 0.1
param set FW_RR_IMAX 0.2
param set FW_RR_P 0.3
param set RWTO_TKOFF 1
fi
param set RWTO_TKOFF 1
set HIL yes
set MIXER AERT

6
ROMFS/px4fmu_common/init.d/4010_dji_f330

@ -30,9 +30,3 @@ then @@ -30,9 +30,3 @@ then
# DJI ESCs do not support calibration and need a higher min
param set PWM_MIN 1230
fi
# Transitional support: ensure suitable PWM min/max param values
if param compare PWM_MIN 1075
then
param set PWM_MIN 1230
fi

6
ROMFS/px4fmu_common/init.d/4011_dji_f450

@ -30,9 +30,3 @@ then @@ -30,9 +30,3 @@ then
# DJI ESCs do not support calibration and need a higher min
param set PWM_MIN 1230
fi
# Transitional support: ensure suitable PWM min/max param values
if param compare PWM_MIN 1075
then
param set PWM_MIN 1230
fi

64
ROMFS/px4fmu_common/init.d/rcS

@ -86,70 +86,6 @@ then @@ -86,70 +86,6 @@ then
fi
fi
# Compare existing params and save defaults
# this only needs to be in for 1-2 releases
if param compare RC_MAP_THROTTLE 0
then
# So this is a default setup,
# now lets find out if channel 3
# is calibrated
if param compare RC3_MIN 1000
then
# This is default, do nothing
else
# Set old default
param set RC_MAP_THROTTLE 3
fi
fi
# Compare existing params and save defaults
# this only needs to be in for 1-2 releases
if param compare RC_MAP_ROLL 0
then
# So this is a default setup,
# now lets find out if channel 1
# is calibrated
if param compare RC1_MIN 1000
then
# This is default, do nothing
else
# Set old default
param set RC_MAP_ROLL 1
fi
fi
# Compare existing params and save defaults
# this only needs to be in for 1-2 releases
if param compare RC_MAP_PITCH 0
then
# So this is a default setup,
# now lets find out if channel 2
# is calibrated
if param compare RC2_MIN 1000
then
# This is default, do nothing
else
# Set old default
param set RC_MAP_PITCH 2
fi
fi
# Compare existing params and save defaults
# this only needs to be in for 1-2 releases
if param compare RC_MAP_YAW 0
then
# So this is a default setup,
# now lets find out if channel 4
# is calibrated
if param compare RC4_MIN 1000
then
# This is default, do nothing
else
# Set old default
param set RC_MAP_YAW 4
fi
fi
#
# Start system state indicator
#

Loading…
Cancel
Save