-
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.
adding airframe config for s500 (#9342)
- Loading branch information
Showing
1 changed file
with
23 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,23 @@ | ||
#!nsh | ||
# | ||
# @name S500 | ||
# | ||
# @type Quadrotor x | ||
# @class Copter | ||
# | ||
# @maintainer Lorenz Meier <[email protected]> | ||
# | ||
|
||
sh /etc/init.d/4001_quad_x | ||
|
||
if [ $AUTOCNF == yes ] | ||
then | ||
param set MC_ROLL_P 6.5 | ||
param set MC_ROLLRATE_P 0.18 | ||
param set MC_ROLLRATE_I 0.15 | ||
param set MC_ROLLRATE_D 0.003 | ||
param set MC_PITCH_P 6.5 | ||
param set MC_PITCHRATE_P 0.18 | ||
param set MC_PITCHRATE_I 0.15 | ||
param set MC_PITCHRATE_D 0.003 | ||
fi |