2016-09-09 14:42:26 -03:00
|
|
|
#!nsh
|
|
|
|
#
|
2016-11-16 13:53:58 -04:00
|
|
|
# @name Intel Aero RTF
|
2016-09-09 14:42:26 -03:00
|
|
|
#
|
|
|
|
# @type Quadrotor x
|
|
|
|
|
|
|
|
sh /etc/init.d/rc.mc_defaults
|
|
|
|
|
2016-11-16 14:30:27 -04:00
|
|
|
#
|
|
|
|
# Load default params for this platform
|
|
|
|
#
|
|
|
|
if [ $AUTOCNF == yes ]
|
|
|
|
then
|
|
|
|
# Set all params here, then disable autoconfig
|
|
|
|
param set MC_ROLL_P 8.0000
|
|
|
|
param set MC_ROLLRATE_P 0.1300
|
|
|
|
param set MC_ROLLRATE_I 0.0
|
|
|
|
param set MC_ROLLRATE_D 0.0012
|
|
|
|
param set MC_PITCH_P 8.0000
|
|
|
|
param set MC_PITCHRATE_P 0.1300
|
|
|
|
param set MC_PITCHRATE_I 0.0
|
|
|
|
param set MC_PITCHRATE_D 0.0012
|
|
|
|
param set MC_YAW_P 3.0
|
|
|
|
param set MC_YAWRATE_P 0.119999997317790985
|
|
|
|
param set MC_YAWRATE_I 0.050000000745058060
|
|
|
|
param set MC_YAWRATE_D 0.0
|
|
|
|
param set MC_YAW_FF 0.5
|
|
|
|
fi
|
|
|
|
|
2016-09-09 14:42:26 -03:00
|
|
|
tap_esc start -d /dev/ttyS0 -n 4
|
2016-09-26 17:57:05 -03:00
|
|
|
usleep 300000
|
|
|
|
|
2016-11-16 13:45:33 -04:00
|
|
|
set OUTPUT_MODE tap_esc
|
2016-09-09 14:42:26 -03:00
|
|
|
set MIXER quad_x
|
2016-09-12 21:10:55 -03:00
|
|
|
set USE_IO no
|
2016-09-09 14:42:26 -03:00
|
|
|
|
2016-11-10 19:39:21 -04:00
|
|
|
param set SYS_COMPANION 1500000
|
|
|
|
set MAVLINK_COMPANION_DEVICE /dev/ttyS1
|