-
Notifications
You must be signed in to change notification settings - Fork 13.7k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
1 changed file
with
24 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,24 @@ | ||
#!/bin/sh | ||
# | ||
# @name NXP Hovergames | ||
# | ||
# @type Quadrotor x | ||
# @class Copter | ||
# | ||
# @maintainer Iain Galloway <iain.galloway@nxp.com> | ||
# | ||
|
||
sh /etc/init.d/rc.mc_defaults | ||
|
||
set MIXER quad_x | ||
set PWM_OUT 1234 | ||
|
||
if [ $AUTOCNF = yes ] | ||
then | ||
param set MC_ROLLRATE_P 0.18 | ||
param set MC_PITCHRATE_P 0.18 | ||
param set MC_ROLLRATE_I 0.15 | ||
param set MC_PITCHRATE_I 0.15 | ||
param set MC_ROLLRATE_D 0.003 | ||
param set MC_PITCHRATE_D 0.003 | ||
fi |