aboutsummaryrefslogtreecommitdiff
path: root/src/modules/uORB
diff options
context:
space:
mode:
authorAnton Babushkin <anton.babushkin@me.com>2013-06-25 21:04:08 +0400
committerAnton Babushkin <anton.babushkin@me.com>2013-06-25 21:04:08 +0400
commitfdc7247fcf507faa6288c5c1f203f7d5b9221692 (patch)
tree52cff98b9b031c527bb97d0de5ad7cc390c81387 /src/modules/uORB
parent85b5da8078873a13a5fc0fd4ee3fe0a02917e87c (diff)
downloadpx4-firmware-fdc7247fcf507faa6288c5c1f203f7d5b9221692.tar.gz
px4-firmware-fdc7247fcf507faa6288c5c1f203f7d5b9221692.tar.bz2
px4-firmware-fdc7247fcf507faa6288c5c1f203f7d5b9221692.zip
sdlog2: FLOW message added, bug fixed in optical_flow topic
Diffstat (limited to 'src/modules/uORB')
-rw-r--r--src/modules/uORB/topics/optical_flow.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/modules/uORB/topics/optical_flow.h b/src/modules/uORB/topics/optical_flow.h
index c854f0079..98f0e3fa2 100644
--- a/src/modules/uORB/topics/optical_flow.h
+++ b/src/modules/uORB/topics/optical_flow.h
@@ -57,8 +57,8 @@ struct optical_flow_s {
uint64_t timestamp; /**< in microseconds since system start */
- uint16_t flow_raw_x; /**< flow in pixels in X direction, not rotation-compensated */
- uint16_t flow_raw_y; /**< flow in pixels in Y direction, not rotation-compensated */
+ int16_t flow_raw_x; /**< flow in pixels in X direction, not rotation-compensated */
+ int16_t flow_raw_y; /**< flow in pixels in Y direction, not rotation-compensated */
float flow_comp_x_m; /**< speed over ground in meters, rotation-compensated */
float flow_comp_y_m; /**< speed over ground in meters, rotation-compensated */
float ground_distance_m; /**< Altitude / distance to ground in meters */