diff options
author | Anton Babushkin <anton.babushkin@me.com> | 2014-01-01 14:14:35 +0400 |
---|---|---|
committer | Anton Babushkin <anton.babushkin@me.com> | 2014-01-01 14:14:35 +0400 |
commit | b7f2c89a1687de7ac38fb5b9bcf48afdc4e3317b (patch) | |
tree | 449928965269e90eb7c46063f4dd2353b462e43b /src/modules/fw_att_control/fw_att_control_main.cpp | |
parent | 6827e45aee2f1a6e756c56a91b46152eb2ea5d08 (diff) | |
parent | 5b302fef59354f536e83a0b14572d2f954a6e682 (diff) | |
download | px4-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/fw_att_control_main.cpp')
-rw-r--r-- | src/modules/fw_att_control/fw_att_control_main.cpp | 3 |
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(); |