mirror of
https://gitee.com/mirrors_PX4/PX4-Autopilot.git
synced 2026-10-23 12:23:33 +08:00
Mark V19_VT_ROLLDIR @category system Throttle down mavlink critical msg Send 0 actuator_output for safety VTOL: unset v1.9 roll direction safety check param for builtin airframes
31 lines
518 B
Bash
31 lines
518 B
Bash
#!/bin/sh
|
|
#
|
|
# @name Quadrotor X Tailsitter
|
|
#
|
|
# @type VTOL Quad Tailsitter
|
|
# @class VTOL
|
|
#
|
|
# @maintainer Roman Bapst <roman@px4.io>
|
|
#
|
|
|
|
sh /etc/init.d/rc.vtol_defaults
|
|
|
|
if [ $AUTOCNF = yes ]
|
|
then
|
|
param set PWM_MAX 2000
|
|
param set PWM_RATE 400
|
|
|
|
param set VT_MOT_COUNT 4
|
|
param set VT_IDLE_PWM_MC 1080
|
|
param set VT_TYPE 0
|
|
param set VT_ELEV_MC_LOCK 1
|
|
|
|
# Indicate that FW roll direction was fixed in mixer, to be removed in v1.10
|
|
param set V19_VT_ROLLDIR 0
|
|
fi
|
|
|
|
set MAV_TYPE 20
|
|
|
|
set MIXER quad_x_vtol
|
|
|
|
set PWM_OUT 1234 |