diff options
author | James Goppert <james.goppert@gmail.com> | 2013-01-15 14:03:04 -0500 |
---|---|---|
committer | James Goppert <james.goppert@gmail.com> | 2013-01-15 14:03:04 -0500 |
commit | 28ef7aa1bea97593637537c832b07459a2520b86 (patch) | |
tree | 09601d0bb53294c0c0edc022db884bd7245a2509 /apps/mavlink/orb_listener.c | |
parent | 68b92cd4fc2c4df3de15ef19e723edb67a108ea0 (diff) | |
download | px4-firmware-28ef7aa1bea97593637537c832b07459a2520b86.tar.gz px4-firmware-28ef7aa1bea97593637537c832b07459a2520b86.tar.bz2 px4-firmware-28ef7aa1bea97593637537c832b07459a2520b86.zip |
Refactored RPos. Increased global pos output rate for debugging.
Diffstat (limited to 'apps/mavlink/orb_listener.c')
-rw-r--r-- | apps/mavlink/orb_listener.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/apps/mavlink/orb_listener.c b/apps/mavlink/orb_listener.c index f5253ea35..a7b43e2b9 100644 --- a/apps/mavlink/orb_listener.c +++ b/apps/mavlink/orb_listener.c @@ -702,7 +702,7 @@ uorb_receive_start(void) /* --- GLOBAL POS VALUE --- */ mavlink_subs.global_pos_sub = orb_subscribe(ORB_ID(vehicle_global_position)); - orb_set_interval(mavlink_subs.global_pos_sub, 1000); /* 1Hz active updates */ + orb_set_interval(mavlink_subs.global_pos_sub, 5); /* 200 Hz active updates */ /* --- LOCAL POS VALUE --- */ mavlink_subs.local_pos_sub = orb_subscribe(ORB_ID(vehicle_local_position)); |