diff options
author | Anton Babushkin <anton.babushkin@me.com> | 2014-01-31 11:35:11 +0100 |
---|---|---|
committer | Anton Babushkin <anton.babushkin@me.com> | 2014-01-31 11:35:11 +0100 |
commit | 282e0bb6703e6f013eee690bda97e09045837fd3 (patch) | |
tree | 677b0827d0de59b26cdd083354a4f4d8c9efe487 /src/modules/mc_att_control/mc_att_control_params.c | |
parent | 88d3f875ffd36a3e05899222aa2eb27848dcf6d1 (diff) | |
download | px4-firmware-282e0bb6703e6f013eee690bda97e09045837fd3.tar.gz px4-firmware-282e0bb6703e6f013eee690bda97e09045837fd3.tar.bz2 px4-firmware-282e0bb6703e6f013eee690bda97e09045837fd3.zip |
mc_att_control: separate gains for roll and pitch
Diffstat (limited to 'src/modules/mc_att_control/mc_att_control_params.c')
-rw-r--r-- | src/modules/mc_att_control/mc_att_control_params.c | 14 |
1 files changed, 8 insertions, 6 deletions
diff --git a/src/modules/mc_att_control/mc_att_control_params.c b/src/modules/mc_att_control/mc_att_control_params.c index 0a89c3f4e..27a45b6bb 100644 --- a/src/modules/mc_att_control/mc_att_control_params.c +++ b/src/modules/mc_att_control/mc_att_control_params.c @@ -41,13 +41,15 @@ #include <systemlib/param/param.h> -PARAM_DEFINE_FLOAT(MC_ATT_P, 6.0f); -PARAM_DEFINE_FLOAT(MC_ATT_I, 0.0f); +PARAM_DEFINE_FLOAT(MC_ROLL_P, 6.0f); +PARAM_DEFINE_FLOAT(MC_ROLLRATE_P, 0.1f); +PARAM_DEFINE_FLOAT(MC_ROLLRATE_I, 0.0f); +PARAM_DEFINE_FLOAT(MC_ROLLRATE_D, 0.002f); +PARAM_DEFINE_FLOAT(MC_PITCH_P, 6.0f); +PARAM_DEFINE_FLOAT(MC_PITCHRATE_P, 0.1f); +PARAM_DEFINE_FLOAT(MC_PITCHRATE_I, 0.0f); +PARAM_DEFINE_FLOAT(MC_PITCHRATE_D, 0.002f); PARAM_DEFINE_FLOAT(MC_YAW_P, 2.0f); -PARAM_DEFINE_FLOAT(MC_YAW_I, 0.0f); -PARAM_DEFINE_FLOAT(MC_ATTRATE_P, 0.1f); -PARAM_DEFINE_FLOAT(MC_ATTRATE_I, 0.0f); -PARAM_DEFINE_FLOAT(MC_ATTRATE_D, 0.002f); PARAM_DEFINE_FLOAT(MC_YAWRATE_P, 0.3f); PARAM_DEFINE_FLOAT(MC_YAWRATE_I, 0.0f); PARAM_DEFINE_FLOAT(MC_YAWRATE_D, 0.0f); |