struct mavlink_heartbeat heartbeat
float distance
Distance measured without compensation in meters.
uint8_t quality
Optical flow quality / confidence. 0: bad, 255: maximum quality.
bool px4flow_compensate_rotation
uint32_t integration_time_us
struct mavlink_optical_flow optical_flow
float flow_comp_m_x
Flow in meters in x-sensor direction, angular-speed compensated [meters/sec].
uint32_t time_delta_distance_us
float flow_comp_m_y
Flow in meters in y-sensor direction, angular-speed compensated [meters/sec].
int32_t flow_x
Flow in pixels in x-sensor direction.
void px4flow_init(void)
Initialization function.
uint64_t time_usec
Timestamp (UNIX)
float ground_distance
Ground distance in meters. Positive value: distance known. Negative value: Unknown distance.
int32_t flow_y
Flow in pixels in y-sensor direction.
uint8_t sensor_id
Sensor ID.
struct mavlink_optical_flow_rad optical_flow_rad
void px4flow_downlink(void)
Downlink message for debug.
Mavlink optical flow structure.
Mavlink optical flow rad structure.
int int32_t
Typedef defining 32 bit int type.
unsigned int uint32_t
Typedef defining 32 bit unsigned int type.
short int16_t
Typedef defining 16 bit short type.
unsigned long long uint64_t
unsigned char uint8_t
Typedef defining 8 bit unsigned char type.