diff options
author | Lorenz Meier <lm@inf.ethz.ch> | 2014-04-05 16:45:23 +0200 |
---|---|---|
committer | Lorenz Meier <lm@inf.ethz.ch> | 2014-04-05 16:45:23 +0200 |
commit | 7b95d36405cb63b53fd1fea2c25e29aedca5a3a2 (patch) | |
tree | 319463ebcce61c596d8e9862476514d52de8e89f /src/modules/navigator/navigator_main.cpp | |
parent | 0f032162323c84c28214d161ee0ce2d4a1f4c268 (diff) | |
download | px4-firmware-7b95d36405cb63b53fd1fea2c25e29aedca5a3a2.tar.gz px4-firmware-7b95d36405cb63b53fd1fea2c25e29aedca5a3a2.tar.bz2 px4-firmware-7b95d36405cb63b53fd1fea2c25e29aedca5a3a2.zip |
navigator hotfix: Increase acceptance range for yaw setpoints.
Diffstat (limited to 'src/modules/navigator/navigator_main.cpp')
-rw-r--r-- | src/modules/navigator/navigator_main.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/modules/navigator/navigator_main.cpp b/src/modules/navigator/navigator_main.cpp index c45cafc1b..5a94b6671 100644 --- a/src/modules/navigator/navigator_main.cpp +++ b/src/modules/navigator/navigator_main.cpp @@ -1539,7 +1539,7 @@ Navigator::check_mission_item_reached() /* check yaw if defined only for rotary wing except takeoff */ float yaw_err = _wrap_pi(_mission_item.yaw - _global_pos.yaw); - if (fabsf(yaw_err) < 0.05f) { /* XXX get rid of magic number */ + if (fabsf(yaw_err) < 0.2f) { /* XXX get rid of magic number */ _waypoint_yaw_reached = true; } |