aboutsummaryrefslogtreecommitdiff
path: root/src/modules/fw_att_control
diff options
context:
space:
mode:
authorAnton Babushkin <anton.babushkin@me.com>2014-01-01 14:14:35 +0400
committerAnton Babushkin <anton.babushkin@me.com>2014-01-01 14:14:35 +0400
commitb7f2c89a1687de7ac38fb5b9bcf48afdc4e3317b (patch)
tree449928965269e90eb7c46063f4dd2353b462e43b /src/modules/fw_att_control
parent6827e45aee2f1a6e756c56a91b46152eb2ea5d08 (diff)
parent5b302fef59354f536e83a0b14572d2f954a6e682 (diff)
downloadpx4-firmware-b7f2c89a1687de7ac38fb5b9bcf48afdc4e3317b.tar.gz
px4-firmware-b7f2c89a1687de7ac38fb5b9bcf48afdc4e3317b.tar.bz2
px4-firmware-b7f2c89a1687de7ac38fb5b9bcf48afdc4e3317b.zip
Merge branch 'master' into navigator_new_vector
Diffstat (limited to 'src/modules/fw_att_control')
-rw-r--r--src/modules/fw_att_control/fw_att_control_main.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/modules/fw_att_control/fw_att_control_main.cpp b/src/modules/fw_att_control/fw_att_control_main.cpp
index df9d325b3..c94180d68 100644
--- a/src/modules/fw_att_control/fw_att_control_main.cpp
+++ b/src/modules/fw_att_control/fw_att_control_main.cpp
@@ -533,7 +533,8 @@ FixedwingAttitudeControl::task_main()
/* rate limit vehicle status updates to 5Hz */
orb_set_interval(_vcontrol_mode_sub, 200);
- orb_set_interval(_att_sub, 100);
+ /* rate limit attitude control to 50 Hz (with some margin, so 17 ms) */
+ orb_set_interval(_att_sub, 17);
parameters_update();