diff options
author | Lorenz Meier <lm@inf.ethz.ch> | 2012-11-27 17:24:33 +0100 |
---|---|---|
committer | Lorenz Meier <lm@inf.ethz.ch> | 2012-11-27 17:24:33 +0100 |
commit | caf0fefa32b5441f1093de460cbc77f6d3aa2f92 (patch) | |
tree | 4972211af7a087b5393a2446f4af20bc4647da75 /apps/mavlink/mavlink_receiver.c | |
parent | dc72d467d4abe3d18bbf02091eb4eaddb4f491d2 (diff) | |
download | px4-firmware-caf0fefa32b5441f1093de460cbc77f6d3aa2f92.tar.gz px4-firmware-caf0fefa32b5441f1093de460cbc77f6d3aa2f92.tar.bz2 px4-firmware-caf0fefa32b5441f1093de460cbc77f6d3aa2f92.zip |
Cleaned up different uorb topics, cleaned up excessive stack sizes
Diffstat (limited to 'apps/mavlink/mavlink_receiver.c')
-rw-r--r-- | apps/mavlink/mavlink_receiver.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/apps/mavlink/mavlink_receiver.c b/apps/mavlink/mavlink_receiver.c index 6b4375445..dd011aeed 100644 --- a/apps/mavlink/mavlink_receiver.c +++ b/apps/mavlink/mavlink_receiver.c @@ -202,6 +202,8 @@ handle_message(mavlink_message_t *msg) mavlink_vicon_position_estimate_t pos; mavlink_msg_vicon_position_estimate_decode(msg, &pos); + vicon_position.timestamp = hrt_absolute_time(); + vicon_position.x = pos.x; vicon_position.y = pos.y; vicon_position.z = pos.z; @@ -427,4 +429,4 @@ receive_start(int uart) pthread_t thread; pthread_create(&thread, &receiveloop_attr, receive_thread, &uart); return thread; -}
\ No newline at end of file +} |