optical_flow_mateksys_3901_l0x

Transfers flow X and Y and range data of the Mateksys3901-l0X sensor to the autopilot This by the default serial connection not by connecting the debug pins on ther sensor The Data is in MSP compatible output.

Configures

Name

Value

Description

MATEKSYS_3901_L0X_PORT

UART1

Set to which UART the sensor serial stream pin is connected to

MATEKSYS_3901_L0X_BAUD

115200

Sets the baudrate of the UART

Defines

Name

Value

Description

MATEKSYS_3901_L0X_MOTION_THRES

120

Sets the minimum motion quality to accept the flow measurement [0-255]

MATEKSYS_3901_L0X_DISTANCE_THRES

200

Sets the minimum distance quality to accept the distance measurement [0-255]

MATEKSYS_3901_L0X_MAX_DISTANCE

2500

Maximum allowable distance for rangefinder [mm]

MATEKSYS_3901_L0X_MAX_FLOW

150

Maximum allowable flow rate measurable [deg/sec]

USE_MATEKSYS_3901_L0X_AGL

0

Send AGL measurements on ABI bus

USE_MATEKSYS_3901_L0X_OPTICAL_FLOW

0

Send optical flow measurements on ABI bus

MATEKSYS_3901_L0X_COMPENSATE_ROTATION

0

Adjust distance from ground by compensating body rotation

MATEKSYS_3901_L0X_FLOW_X_SCALER

1

Calibration scaling factor for flow in X direction (pitch)

MATEKSYS_3901_L0X_FLOW_Y_SCALER

1

Calibration scaling factor for flow in Y direction (roll)