diff options
author | Julian Oes <julian@oes.ch> | 2014-08-25 13:13:07 +0200 |
---|---|---|
committer | Julian Oes <julian@oes.ch> | 2014-08-25 13:13:07 +0200 |
commit | d0f5eca5be3d3257b1350337b58f020063b65eb9 (patch) | |
tree | 15a408ac349440d8a9a2df3dcf7b7afc3db140cd /src/drivers/drv_px4flow.h | |
parent | 73ecbbe13d1f231bf2a9c2ccaafe29065352d75c (diff) | |
download | px4-firmware-d0f5eca5be3d3257b1350337b58f020063b65eb9.tar.gz px4-firmware-d0f5eca5be3d3257b1350337b58f020063b65eb9.tar.bz2 px4-firmware-d0f5eca5be3d3257b1350337b58f020063b65eb9.zip |
px4flow: removed flow report in driver, just use uORB topic
Diffstat (limited to 'src/drivers/drv_px4flow.h')
-rw-r--r-- | src/drivers/drv_px4flow.h | 31 |
1 files changed, 0 insertions, 31 deletions
diff --git a/src/drivers/drv_px4flow.h b/src/drivers/drv_px4flow.h index 76ec55c3e..ab640837b 100644 --- a/src/drivers/drv_px4flow.h +++ b/src/drivers/drv_px4flow.h @@ -46,37 +46,6 @@ #define PX4FLOW_DEVICE_PATH "/dev/px4flow" -/** - * @addtogroup topics - * @{ - */ - -/** - * Optical flow in NED body frame in SI units. - * - * @see http://en.wikipedia.org/wiki/International_System_of_Units - * - * @warning If possible the usage of the raw flow and performing rotation-compensation - * using the autopilot angular rate estimate is recommended. - */ -struct px4flow_report { - - uint64_t timestamp; /**< in microseconds since system start */ - - 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 per second, rotation-compensated */ - float flow_comp_y_m; /**< speed over ground in meters per second, rotation-compensated */ - float ground_distance_m; /**< Altitude / distance to ground in meters */ - uint8_t quality; /**< Quality of the measurement, 0: bad quality, 255: maximum quality */ - uint8_t sensor_id; /**< id of the sensor emitting the flow value */ - -}; - -/** - * @} - */ - /* * ObjDev tag for px4flow data. */ |