mirror of
https://gitee.com/mirrors_PX4/PX4-Autopilot.git
synced 2026-10-21 22:33:34 +08:00
Remove params from airframe configs that are just set again to the param default value or to the value that is specified in the mc_default, fw_default or vtol_default. Signed-off-by: Silvan Fuhrer <silvan@auterion.com>
31 lines
552 B
Bash
31 lines
552 B
Bash
#!/bin/sh
|
|
#
|
|
# @name NXP HoverGames
|
|
#
|
|
# @type Quadrotor x
|
|
# @class Copter
|
|
#
|
|
# @output MAIN1 motor 1
|
|
# @output MAIN2 motor 2
|
|
# @output MAIN3 motor 3
|
|
# @output MAIN4 motor 4
|
|
#
|
|
# @board px4_fmu-v2 exclude
|
|
# @board bitcraze_crazyflie exclude
|
|
#
|
|
# @maintainer Iain Galloway <iain.galloway@nxp.com>
|
|
#
|
|
|
|
. ${R}etc/init.d/rc.mc_defaults
|
|
|
|
set MIXER quad_x
|
|
set PWM_OUT 1234
|
|
|
|
param set-default IMU_DGYRO_CUTOFF 20
|
|
|
|
param set-default MC_ROLLRATE_P 0.18
|
|
param set-default MC_ROLLRATE_I 0.15
|
|
|
|
param set-default MC_PITCHRATE_P 0.18
|
|
param set-default MC_PITCHRATE_I 0.15
|