mirror of
https://gitee.com/mirrors_PX4/PX4-Autopilot.git
synced 2026-10-19 23:43:34 +08:00
- set MAV_TYPE as a parameter default per vehicle type, or airframe if necessary - cleanup MAV_TYPE param metadata and commander helper to only include what's currently used in PX4
34 lines
638 B
Bash
34 lines
638 B
Bash
#!/bin/sh
|
|
#
|
|
# @name Generic Octocopter + geometry
|
|
#
|
|
# @type Octorotor +
|
|
# @class Copter
|
|
#
|
|
# @output MAIN1 motor 1
|
|
# @output MAIN2 motor 2
|
|
# @output MAIN3 motor 3
|
|
# @output MAIN4 motor 4
|
|
# @output MAIN5 motor 5
|
|
# @output MAIN6 motor 6
|
|
# @output MAIN7 motor 7
|
|
# @output MAIN8 motor 8
|
|
#
|
|
# @output AUX1 feed-through of RC AUX1 channel
|
|
# @output AUX2 feed-through of RC AUX2 channel
|
|
# @output AUX3 feed-through of RC AUX3 channel
|
|
#
|
|
# @maintainer Lorenz Meier <lorenz@px4.io>
|
|
#
|
|
# @board bitcraze_crazyflie exclude
|
|
#
|
|
|
|
. ${R}etc/init.d/rc.mc_defaults
|
|
|
|
# MAV_TYPE_OCTOROTOR 14
|
|
param set-default MAV_TYPE 14
|
|
|
|
set MIXER octo_+
|
|
|
|
set PWM_OUT 12345678
|