QuadPlane 与倾转旋翼 组装之后
Q_ENABLE 让 ArduPlane 变成 QuadPlane,Q_FRAME_CLASS 7 让它的升力电机成为三旋翼,Q_TILT_ENABLE 加入倾转旋翼代码。设好这三项后要重启,否则解锁前检查会提示 "tiltrotor setup not complete, reboot"。Q_TILT_TYPE 2(矢量偏航)让这架三旋翼不需要尾舵机就能偏航。注意速率参数的名字,它们很容易弄反:RATE_DN 是从悬停到前飞,RATE_UP 是从前飞回到悬停。
# ArduPlane 4.7.2 on a Matek H743-WING: a tri QuadPlane whose front rotors tilt
param set Q_ENABLE 1 # QuadPlane on
param set Q_FRAME_CLASS 7 # Tri: motors 1, 2 and 4 (Q_FRAME_TYPE is ignored)
param set Q_TILT_ENABLE 1 # tiltrotor support
# reboot (MAVProxy: reboot), then:
param set Q_TILT_MASK 3 # motors 1 and 2 tilt (bit 0 + bit 1); motor 4 stays upright
param set Q_TILT_TYPE 2 # VectoredYaw: the front pair tilt opposite ways to yaw in hover
param set Q_TILT_YAW_ANGLE 10 # deg the servos may go back past vertical for that
param set Q_TILT_MAX 45 # deg the rotors hold while the airspeed builds
param set Q_TILT_RATE_DN 15 # deg/s from hover towards forward flight
param set Q_TILT_RATE_UP 25 # deg/s from forward flight back to hover