diff options
author | Anton Babushkin <anton.babushkin@me.com> | 2014-01-10 13:18:34 +0100 |
---|---|---|
committer | Anton Babushkin <anton.babushkin@me.com> | 2014-01-10 13:18:34 +0100 |
commit | b5d56523bc100d7bf95a6dfbac95c1afc89e345e (patch) | |
tree | a54be4fa60168cab7c03aa8622ddf05c1cf275b3 /ROMFS/px4fmu_common/init.d/4010_dji_f330 | |
parent | 891cb3f8c2755fdc566711448f1f19a06938bd2f (diff) | |
download | px4-firmware-b5d56523bc100d7bf95a6dfbac95c1afc89e345e.tar.gz px4-firmware-b5d56523bc100d7bf95a6dfbac95c1afc89e345e.tar.bz2 px4-firmware-b5d56523bc100d7bf95a6dfbac95c1afc89e345e.zip |
Init scripts cleanup, WIP
Diffstat (limited to 'ROMFS/px4fmu_common/init.d/4010_dji_f330')
-rw-r--r-- | ROMFS/px4fmu_common/init.d/4010_dji_f330 | 10 |
1 files changed, 6 insertions, 4 deletions
diff --git a/ROMFS/px4fmu_common/init.d/4010_dji_f330 b/ROMFS/px4fmu_common/init.d/4010_dji_f330 index 93edb0005..0cfe68b27 100644 --- a/ROMFS/px4fmu_common/init.d/4010_dji_f330 +++ b/ROMFS/px4fmu_common/init.d/4010_dji_f330 @@ -2,10 +2,7 @@ # Maintainers: Anton Babushkin <anton.babushkin@me.com> -echo "[init] PX4FMU v1, v2 with or without IO on DJI F330" - -# Use generic quad X PWM as base -sh /etc/init.d/4001_quad_x_pwm +echo "[init] DJI F330" if [ $DO_AUTOCONFIG == yes ] then @@ -42,6 +39,11 @@ then param set MPC_Z_VEL_P 0.20 fi +set VEHICLE_TYPE mc +set FRAME_GEOMETRY quad_x + +set PWM_RATE 400 + # DJI ESC range set PWM_DISARMED 900 set PWM_MIN 1200 |