forked from cesar.alejandro/oscillation_ctrl
23 lines
388 B
Bash
23 lines
388 B
Bash
#!/bin/sh
|
|
#
|
|
# @name Generic Quadcopter
|
|
#
|
|
# @type Quadrotor x
|
|
# @class Copter
|
|
|
|
. ${R}etc/init.d/rc.mc_defaults
|
|
|
|
param set MC_ROLLRATE_K 2.35
|
|
param set MC_ROLLRATE_D 0.0030
|
|
param set MC_ROLLRATE_I 0.15
|
|
|
|
param set MC_PITCHRATE_K 2.35
|
|
param set MC_PITCHRATE_D 0.0030
|
|
param set MC_PITCHRATE_I 0.15
|
|
|
|
param set MPC_Z_VEL_MAX_UP 0.5
|
|
param set MPC_TKO_SPEED 1.0
|
|
|
|
set MIXER quad_x
|
|
set PWM_OUT 1234
|