diff options
author | Anton Babushkin <anton.babushkin@me.com> | 2014-03-21 12:52:27 +0400 |
---|---|---|
committer | Anton Babushkin <anton.babushkin@me.com> | 2014-03-21 12:52:27 +0400 |
commit | 712c72d25bc595d879c2592e0a750bb0a981120f (patch) | |
tree | 8ebcfc8522ee85c6f7dc0ff9d8f87a56178a7fa7 /src/modules/mavlink/mavlink_receiver.cpp | |
parent | 9b71e660ad86cb2ecec4db93795f417a9ba0fddd (diff) | |
download | px4-firmware-712c72d25bc595d879c2592e0a750bb0a981120f.tar.gz px4-firmware-712c72d25bc595d879c2592e0a750bb0a981120f.tar.bz2 px4-firmware-712c72d25bc595d879c2592e0a750bb0a981120f.zip |
Optical flow fixes
Diffstat (limited to 'src/modules/mavlink/mavlink_receiver.cpp')
-rw-r--r-- | src/modules/mavlink/mavlink_receiver.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/modules/mavlink/mavlink_receiver.cpp b/src/modules/mavlink/mavlink_receiver.cpp index 0816814a1..6eec25e4b 100644 --- a/src/modules/mavlink/mavlink_receiver.cpp +++ b/src/modules/mavlink/mavlink_receiver.cpp @@ -245,6 +245,7 @@ MavlinkReceiver::handle_message_optical_flow(mavlink_message_t *msg) memset(&f, 0, sizeof(f)); f.timestamp = hrt_absolute_time(); + f.flow_timestamp = flow.time_usec; f.flow_raw_x = flow.flow_x; f.flow_raw_y = flow.flow_y; f.flow_comp_x_m = flow.flow_comp_m_x; |