diff options
author | Lorenz Meier <lm@inf.ethz.ch> | 2012-11-02 15:21:37 +0100 |
---|---|---|
committer | Lorenz Meier <lm@inf.ethz.ch> | 2012-11-02 15:21:37 +0100 |
commit | 82c4dbaaa88c2cfc591e402817e6268de708de3b (patch) | |
tree | 20c9c9b802cd2c7cf60fecbde5333ae431554a94 /apps/multirotor_att_control/multirotor_att_control_main.c | |
parent | 55515f2e7e1aff53cb8f556997f82231c7c104f5 (diff) | |
download | px4-firmware-82c4dbaaa88c2cfc591e402817e6268de708de3b.tar.gz px4-firmware-82c4dbaaa88c2cfc591e402817e6268de708de3b.tar.bz2 px4-firmware-82c4dbaaa88c2cfc591e402817e6268de708de3b.zip |
param load / store cleanup, storage location selection now exclusively through dedicated "param select <path>" command
Diffstat (limited to 'apps/multirotor_att_control/multirotor_att_control_main.c')
-rw-r--r-- | apps/multirotor_att_control/multirotor_att_control_main.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/apps/multirotor_att_control/multirotor_att_control_main.c b/apps/multirotor_att_control/multirotor_att_control_main.c index 63c296f96..29463d744 100644 --- a/apps/multirotor_att_control/multirotor_att_control_main.c +++ b/apps/multirotor_att_control/multirotor_att_control_main.c @@ -220,9 +220,9 @@ mc_thread_main(int argc, char *argv[]) /* only move setpoint if manual input is != 0 */ // XXX turn into param - if ((manual.yaw < -0.01f || 0.01f < manual.yaw) && manual.throttle > 0.25f) { + if ((manual.yaw < -0.01f || 0.01f < manual.yaw) && manual.throttle > 0.3f) { att_sp.yaw_body = att_sp.yaw_body + manual.yaw * 0.0025f; - } else if (manual.throttle <= 0.25f) { + } else if (manual.throttle <= 0.3f) { att_sp.yaw_body = att.yaw; } att_sp.thrust = manual.throttle; |