diff options
author | Anton Babushkin <anton.babushkin@me.com> | 2013-06-25 22:51:51 +0400 |
---|---|---|
committer | Anton Babushkin <anton.babushkin@me.com> | 2013-06-25 22:51:51 +0400 |
commit | 85d35777e0f88fe40d1e5a2a99c624e1eb75ec69 (patch) | |
tree | a4eb22856affb74123c14e3c0e4f49b6046ffb4e /src/modules | |
parent | fdc7247fcf507faa6288c5c1f203f7d5b9221692 (diff) | |
download | px4-firmware-85d35777e0f88fe40d1e5a2a99c624e1eb75ec69.tar.gz px4-firmware-85d35777e0f88fe40d1e5a2a99c624e1eb75ec69.tar.bz2 px4-firmware-85d35777e0f88fe40d1e5a2a99c624e1eb75ec69.zip |
sdlog2: bugfix in FLOW message
Diffstat (limited to 'src/modules')
-rw-r--r-- | src/modules/sdlog2/sdlog2.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/modules/sdlog2/sdlog2.c b/src/modules/sdlog2/sdlog2.c index 14dfefc53..90460cc62 100644 --- a/src/modules/sdlog2/sdlog2.c +++ b/src/modules/sdlog2/sdlog2.c @@ -1070,7 +1070,7 @@ int sdlog2_thread_main(int argc, char *argv[]) orb_copy(ORB_ID(optical_flow), subs.flow_sub, &buf.flow); log_msg.msg_type = LOG_FLOW_MSG; log_msg.body.log_FLOW.flow_raw_x = buf.flow.flow_raw_x; - log_msg.body.log_FLOW.flow_raw_y = buf.flow.flow_raw_x; + log_msg.body.log_FLOW.flow_raw_y = buf.flow.flow_raw_y; log_msg.body.log_FLOW.flow_comp_x = buf.flow.flow_comp_x_m; log_msg.body.log_FLOW.flow_comp_y = buf.flow.flow_comp_y_m; log_msg.body.log_FLOW.distance = buf.flow.ground_distance_m; |