mirror of
https://gitee.com/mirrors_PX4/PX4-Autopilot.git
synced 2026-10-28 15:53:34 +08:00
Add AUTOCNF to Intel Aero RTF
Thanks to Beat Küng for improved tuning.
This commit is contained in:
committed by
Lorenz Meier
parent
f51595ab16
commit
2fb09b7978
@@ -6,6 +6,27 @@
|
|||||||
|
|
||||||
sh /etc/init.d/rc.mc_defaults
|
sh /etc/init.d/rc.mc_defaults
|
||||||
|
|
||||||
|
#
|
||||||
|
# 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
|
||||||
|
|
||||||
tap_esc start -d /dev/ttyS0 -n 4
|
tap_esc start -d /dev/ttyS0 -n 4
|
||||||
usleep 300000
|
usleep 300000
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user