2022-03-04 13:29:37 -04:00
|
|
|
#!/bin/sh
|
|
|
|
#
|
|
|
|
# @name Generic Quadcopter
|
|
|
|
#
|
|
|
|
# @type Quadrotor x
|
|
|
|
# @class Copter
|
|
|
|
|
|
|
|
. ${R}etc/init.d/rc.mc_defaults
|
|
|
|
|
|
|
|
param set-default MC_ROLLRATE_K 2.35
|
|
|
|
param set-default MC_ROLLRATE_D 0.0032
|
|
|
|
param set-default MC_ROLLRATE_I 0.15
|
|
|
|
|
|
|
|
param set-default MC_PITCHRATE_K 2.35
|
|
|
|
param set-default MC_PITCHRATE_D 0.0032
|
|
|
|
param set-default MC_PITCHRATE_I 0.15
|
|
|
|
|
|
|
|
#param load spiri_param/Vehicle_230_Parameters.params
|
|
|
|
|
|
|
|
param set-default MPC_Z_VEL_MAX_UP 1.0
|
2022-08-30 16:13:20 -03:00
|
|
|
param set-default COM_RCL_EXCEPT 4
|
2022-03-04 13:29:37 -04:00
|
|
|
|
|
|
|
set MIXER quad_x
|
|
|
|
set PWM_OUT 1234
|