mirror of
https://gitee.com/mirrors_PX4/PX4-Autopilot.git
synced 2026-10-26 07:03:33 +08:00
ROMFS: Add new VTOL standard airframe 13015 using all MAIN outputs
Co-authored-by: Daniel Agar <daniel@agar.ca>
This commit is contained in:
co-authored by
Daniel Agar
parent
c1435c744c
commit
9e69b16c3c
@@ -0,0 +1,61 @@
|
||||
#!/bin/sh
|
||||
#
|
||||
# @name Generic Quadplane VTOL (PWM14)
|
||||
#
|
||||
# @type Standard VTOL
|
||||
# @class VTOL
|
||||
#
|
||||
# @maintainer
|
||||
#
|
||||
# @output MAIN1 motor 1
|
||||
# @output MAIN2 motor 2
|
||||
# @output MAIN3 motor 3
|
||||
# @output MAIN4 motor 4
|
||||
# @output MAIN5 Aileron 1
|
||||
# @output MAIN6 Aileron 2
|
||||
# @output MAIN7 Elevator
|
||||
# @output MAIN8 Rudder
|
||||
# @output MAIN9 Pusher motor
|
||||
#
|
||||
# @board px4_fmu-v2 exclude
|
||||
# @board intel_aerofc-v1 exclude
|
||||
# @board bitcraze_crazyflie exclude
|
||||
#
|
||||
|
||||
. ${R}etc/init.d/rc.vtol_defaults
|
||||
|
||||
if [ $AUTOCNF = yes ]
|
||||
then
|
||||
param set PWM_MAIN_RATE 400
|
||||
|
||||
param set PWM_MAIN_MIN1 1100
|
||||
param set PWM_MAIN_MIN2 1100
|
||||
param set PWM_MAIN_MIN3 1100
|
||||
param set PWM_MAIN_MIN4 1100
|
||||
|
||||
param set PWM_MAIN_MAX1 1900
|
||||
param set PWM_MAIN_MAX2 1900
|
||||
param set PWM_MAIN_MAX3 1900
|
||||
param set PWM_MAIN_MAX4 1900
|
||||
|
||||
param set PWM_MAIN_DIS1 900
|
||||
param set PWM_MAIN_DIS2 900
|
||||
param set PWM_MAIN_DIS3 900
|
||||
param set PWM_MAIN_DIS4 900
|
||||
param set PWM_MAIN_DIS5 1500
|
||||
param set PWM_MAIN_DIS6 1500
|
||||
param set PWM_MAIN_DIS7 1500
|
||||
param set PWM_MAIN_DIS8 1500
|
||||
param set PWM_MAIN_DIS9 900
|
||||
|
||||
param set VT_TYPE 2
|
||||
param set VT_MOT_ID 1234
|
||||
param set VT_FW_MOT_OFFID 1234
|
||||
fi
|
||||
|
||||
set MAV_TYPE 22
|
||||
|
||||
set MIXER quad_x_vtol_AAERT
|
||||
set MIXER_AUX none
|
||||
|
||||
set PWM_OUT 1234
|
||||
@@ -138,6 +138,7 @@ px4_add_romfs_files(
|
||||
13012_convergence
|
||||
13013_deltaquad
|
||||
13014_vtol_babyshark
|
||||
13015_generic_vtol_standard
|
||||
13050_generic_vtol_octo
|
||||
13200_generic_vtol_tailsitter
|
||||
|
||||
|
||||
Reference in New Issue
Block a user