PX4 Firmware
PX4 Autopilot Software http://px4.io
i2c_frame Struct Reference

#include <i2c_frame.h>

Collaboration diagram for i2c_frame:

Public Attributes

uint16_t frame_count
 counts created I2C frames [#frames] More...
 
int16_t pixel_flow_x_sum
 latest x flow measurement in pixels*10 [pixels] More...
 
int16_t pixel_flow_y_sum
 latest y flow measurement in pixels*10 [pixels] More...
 
int16_t flow_comp_m_x
 x velocity*1000 [meters/sec] More...
 
int16_t flow_comp_m_y
 y velocity*1000 [meters/sec] More...
 
int16_t qual
 Optical flow quality / confidence [0: bad, 255: maximum quality]. More...
 
int16_t gyro_x_rate
 latest gyro x rate [rad/sec] More...
 
int16_t gyro_y_rate
 latest gyro y rate [rad/sec] More...
 
int16_t gyro_z_rate
 latest gyro z rate [rad/sec] More...
 
uint8_t gyro_range
 gyro range [0 . More...
 
uint8_t sonar_timestamp
 time since last sonar update [milliseconds] More...
 
int16_t ground_distance
 Ground distance in meters*1000 [meters]. More...
 

Detailed Description

Definition at line 48 of file i2c_frame.h.

Member Data Documentation

◆ flow_comp_m_x

int16_t i2c_frame::flow_comp_m_x

x velocity*1000 [meters/sec]

Definition at line 52 of file i2c_frame.h.

◆ flow_comp_m_y

int16_t i2c_frame::flow_comp_m_y

y velocity*1000 [meters/sec]

Definition at line 53 of file i2c_frame.h.

◆ frame_count

uint16_t i2c_frame::frame_count

counts created I2C frames [#frames]

Definition at line 49 of file i2c_frame.h.

◆ ground_distance

int16_t i2c_frame::ground_distance

Ground distance in meters*1000 [meters].

Positive value: distance known. Negative value: Unknown distance

Definition at line 60 of file i2c_frame.h.

◆ gyro_range

uint8_t i2c_frame::gyro_range

gyro range [0 .

. 7] equals [50 deg/sec .. 2000 deg/sec]

Definition at line 58 of file i2c_frame.h.

◆ gyro_x_rate

int16_t i2c_frame::gyro_x_rate

latest gyro x rate [rad/sec]

Definition at line 55 of file i2c_frame.h.

◆ gyro_y_rate

int16_t i2c_frame::gyro_y_rate

latest gyro y rate [rad/sec]

Definition at line 56 of file i2c_frame.h.

◆ gyro_z_rate

int16_t i2c_frame::gyro_z_rate

latest gyro z rate [rad/sec]

Definition at line 57 of file i2c_frame.h.

◆ pixel_flow_x_sum

int16_t i2c_frame::pixel_flow_x_sum

latest x flow measurement in pixels*10 [pixels]

Definition at line 50 of file i2c_frame.h.

◆ pixel_flow_y_sum

int16_t i2c_frame::pixel_flow_y_sum

latest y flow measurement in pixels*10 [pixels]

Definition at line 51 of file i2c_frame.h.

◆ qual

int16_t i2c_frame::qual

Optical flow quality / confidence [0: bad, 255: maximum quality].

Definition at line 54 of file i2c_frame.h.

◆ sonar_timestamp

uint8_t i2c_frame::sonar_timestamp

time since last sonar update [milliseconds]

Definition at line 59 of file i2c_frame.h.


The documentation for this struct was generated from the following file: