Refactored RPos. Increased global pos output rate for debugging.

This commit is contained in:
James Goppert
2013-01-15 14:03:04 -05:00
parent 68b92cd4fc
commit 28ef7aa1be
2 changed files with 18 additions and 30 deletions
+1 -1
View File
@@ -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));