2013-07-18 17:49:04 -03:00
|
|
|
#!nsh
|
2014-01-10 17:04:56 -04:00
|
|
|
#
|
|
|
|
# 3DR Iris Quadcopter
|
|
|
|
#
|
2014-02-01 10:46:04 -04:00
|
|
|
# Anton Babushkin <anton.babushkin@me.com>
|
2014-01-10 17:04:56 -04:00
|
|
|
#
|
2013-07-18 17:49:04 -03:00
|
|
|
|
2014-02-07 17:28:42 -04:00
|
|
|
sh /etc/init.d/rc.mc_defaults
|
|
|
|
|
2014-01-10 08:18:34 -04:00
|
|
|
if [ $DO_AUTOCONFIG == yes ]
|
|
|
|
then
|
|
|
|
#
|
|
|
|
# Default parameters for this platform
|
|
|
|
#
|
2014-01-14 16:59:48 -04:00
|
|
|
param set BAT_V_SCALING 0.00989
|
|
|
|
param set BAT_C_SCALING 0.0124
|
2013-08-28 09:58:29 -03:00
|
|
|
fi
|
2014-01-10 17:04:56 -04:00
|
|
|
|
2014-01-14 19:02:57 -04:00
|
|
|
set MIXER FMU_quad_w
|
2014-01-10 17:04:56 -04:00
|
|
|
|
2014-01-14 19:02:57 -04:00
|
|
|
set PWM_OUTPUTS 1234
|