px4-firmware/ROMFS/px4fmu_common/init.d/10015_tbs_discovery

31 lines
588 B
Plaintext
Raw Normal View History

#!nsh
2014-01-10 17:04:56 -04:00
#
2015-07-31 07:11:12 -03:00
# @name Team Blacksheep Discovery
2014-01-10 17:04:56 -04:00
#
2015-07-29 14:16:45 -03:00
# @type Quadrotor Wide
#
# @maintainer Anton Babushkin <anton@px4.io>, Simon Wilks <simon@px4.io>
2014-01-10 17:04:56 -04:00
#
2013-08-19 17:58:50 -03:00
sh /etc/init.d/rc.mc_defaults
if [ $AUTOCNF == yes ]
then
2015-08-06 15:48:53 -03:00
param set MC_ROLL_P 6.5
param set MC_ROLLRATE_P 0.1
param set MC_ROLLRATE_I 0.05
param set MC_ROLLRATE_D 0.0017
2015-08-06 15:48:53 -03:00
param set MC_PITCH_P 6.5
param set MC_PITCHRATE_P 0.14
param set MC_PITCHRATE_I 0.1
param set MC_PITCHRATE_D 0.0025
param set MC_YAW_P 2.8
param set MC_YAWRATE_P 0.28
param set MC_YAWRATE_I 0.1
param set MC_YAWRATE_D 0.0
fi
set MIXER quad_w
set PWM_OUT 1234