diff options
author | Lorenz Meier <lm@inf.ethz.ch> | 2014-01-27 17:14:18 +0100 |
---|---|---|
committer | Lorenz Meier <lm@inf.ethz.ch> | 2014-01-27 17:14:18 +0100 |
commit | 068cc190e20b8901b8e4128f3c21200724f0cd4f (patch) | |
tree | 4e5836ec46e8dfdaff46d397be9862c8c2972805 /ROMFS/px4fmu_common/init.d/7001_hexa_+_pwm | |
parent | ba90dc87f6fcb6198e36265239774d35a8efe9cd (diff) | |
download | px4-firmware-068cc190e20b8901b8e4128f3c21200724f0cd4f.tar.gz px4-firmware-068cc190e20b8901b8e4128f3c21200724f0cd4f.tar.bz2 px4-firmware-068cc190e20b8901b8e4128f3c21200724f0cd4f.zip |
Updated / added all system types that have been available before
Diffstat (limited to 'ROMFS/px4fmu_common/init.d/7001_hexa_+_pwm')
-rw-r--r-- | ROMFS/px4fmu_common/init.d/7001_hexa_+_pwm | 37 |
1 files changed, 37 insertions, 0 deletions
diff --git a/ROMFS/px4fmu_common/init.d/7001_hexa_+_pwm b/ROMFS/px4fmu_common/init.d/7001_hexa_+_pwm new file mode 100644 index 000000000..106e0fb54 --- /dev/null +++ b/ROMFS/px4fmu_common/init.d/7001_hexa_+_pwm @@ -0,0 +1,37 @@ +#!nsh +# +# Generic 10” Hexa + geometry +# +# Maintainers: Lorenz Meier <lm@inf.ethz.ch> +# + +if [ $DO_AUTOCONFIG == yes ] +then + # + # Default parameters for this platform + # + param set MC_ATT_P 7.0 + param set MC_ATT_I 0.0 + param set MC_ATT_D 0.0 + param set MC_ATTRATE_P 0.12 + param set MC_ATTRATE_I 0.0 + param set MC_ATTRATE_D 0.004 + param set MC_YAWPOS_P 2.0 + param set MC_YAWPOS_I 0.0 + param set MC_YAWPOS_D 0.0 + param set MC_YAWRATE_P 0.3 + param set MC_YAWRATE_I 0.2 + param set MC_YAWRATE_D 0.005 + + # TODO add default MPC parameters +fi + +set VEHICLE_TYPE mc +set MIXER FMU_hexa_+ + +set PWM_OUTPUTS 1234 +set PWM_RATE 400 +# DJI ESC range +set PWM_DISARMED 900 +set PWM_MIN 1200 +set PWM_MAX 1900 |