diff options
author | Anton Babushkin <anton.babushkin@me.com> | 2014-07-25 18:41:25 +0200 |
---|---|---|
committer | Anton Babushkin <anton.babushkin@me.com> | 2014-07-25 18:41:25 +0200 |
commit | a2ac45f4e0b0b2a1f0acef4f116fa3e0ad99483d (patch) | |
tree | 0198318c108f3e93ea9b40b16607385885619273 /ROMFS/px4fmu_common/init.d/4012_quad_x_can | |
parent | c5a623e15892d63eb3571bc450edea368b2894db (diff) | |
parent | bd808ccf3a825ac1304a72dcede12478fda76857 (diff) | |
download | px4-firmware-a2ac45f4e0b0b2a1f0acef4f116fa3e0ad99483d.tar.gz px4-firmware-a2ac45f4e0b0b2a1f0acef4f116fa3e0ad99483d.tar.bz2 px4-firmware-a2ac45f4e0b0b2a1f0acef4f116fa3e0ad99483d.zip |
Merge commit 'bd808ccf3a825ac1304a72dcede12478fda76857' into mavlinkrates2
Diffstat (limited to 'ROMFS/px4fmu_common/init.d/4012_quad_x_can')
-rw-r--r-- | ROMFS/px4fmu_common/init.d/4012_quad_x_can | 27 |
1 files changed, 27 insertions, 0 deletions
diff --git a/ROMFS/px4fmu_common/init.d/4012_quad_x_can b/ROMFS/px4fmu_common/init.d/4012_quad_x_can new file mode 100644 index 000000000..8c5a4fbf2 --- /dev/null +++ b/ROMFS/px4fmu_common/init.d/4012_quad_x_can @@ -0,0 +1,27 @@ +#!nsh +# +# F450-sized quadrotor with CAN +# +# Lorenz Meier <lm@inf.ethz.ch> +# + +sh /etc/init.d/4001_quad_x + +if [ $DO_AUTOCONFIG == yes ] +then + # TODO REVIEW + param set MC_ROLL_P 7.0 + param set MC_ROLLRATE_P 0.1 + param set MC_ROLLRATE_I 0.0 + param set MC_ROLLRATE_D 0.003 + param set MC_PITCH_P 7.0 + param set MC_PITCHRATE_P 0.1 + param set MC_PITCHRATE_I 0.0 + param set MC_PITCHRATE_D 0.003 + param set MC_YAW_P 2.8 + param set MC_YAWRATE_P 0.2 + param set MC_YAWRATE_I 0.0 + param set MC_YAWRATE_D 0.0 +fi + +set OUTPUT_MODE uavcan_esc |