mirror of
https://gitee.com/mirrors_PX4/PX4-Autopilot.git
synced 2026-10-28 07:43:34 +08:00
Add COEX Clover 4 airframe
This commit is contained in:
committed by
Daniel Agar
parent
17a84a691f
commit
942cdb1fa5
@@ -0,0 +1,31 @@
|
|||||||
|
#!/bin/sh
|
||||||
|
#
|
||||||
|
# @name COEX Clover 4
|
||||||
|
#
|
||||||
|
# @type Quadrotor x
|
||||||
|
# @class Copter
|
||||||
|
#
|
||||||
|
# @maintainer Oleg Kalachev <okalachev@gmail.com>
|
||||||
|
#
|
||||||
|
|
||||||
|
sh /etc/init.d/rc.mc_defaults
|
||||||
|
|
||||||
|
set MIXER quad_x
|
||||||
|
set PWM_OUT 1234
|
||||||
|
|
||||||
|
if [ $AUTOCNF = yes ]
|
||||||
|
then
|
||||||
|
param set MC_PITCHRATE_P 0.087
|
||||||
|
param set MC_PITCHRATE_I 0.037
|
||||||
|
param set MC_PITCHRATE_D 0.0044
|
||||||
|
param set MC_PITCH_P 8.5
|
||||||
|
param set MC_ROLLRATE_P 0.087
|
||||||
|
param set MC_ROLLRATE_I 0.037
|
||||||
|
param set MC_ROLLRATE_D 0.0044
|
||||||
|
param set MC_ROLL_P 8.5
|
||||||
|
param set MPC_XY_VEL_P 0.11
|
||||||
|
param set MPC_XY_VEL_D 0.013
|
||||||
|
param set MPC_XY_P 1.1
|
||||||
|
param set MPC_Z_VEL_P 0.24
|
||||||
|
param set MPC_Z_P 1.2
|
||||||
|
fi
|
||||||
@@ -87,6 +87,7 @@ px4_add_romfs_files(
|
|||||||
4090_nanomind
|
4090_nanomind
|
||||||
4100_tiltquadrotor
|
4100_tiltquadrotor
|
||||||
4250_teal
|
4250_teal
|
||||||
|
4500_clover4
|
||||||
4900_crazyflie
|
4900_crazyflie
|
||||||
|
|
||||||
# [5000, 5999] Quadrotor +"
|
# [5000, 5999] Quadrotor +"
|
||||||
|
|||||||
Reference in New Issue
Block a user