FLOW parameters

9 parameters in the FLOW family. ArduCopter 4.7 only — other vehicles share many of these names but not always the same ranges or meanings.

FLOW_ADDR

Address on the bus

This is used to select between multiple possible I2C addresses for some sensor types. For PX4Flow you can choose 0 to 7 for the 8 possible addresses on the I2C bus.

Range

0 to 127

User level

Advanced

FLOW_FXSCALER

X axis optical flow scale factor correction

This sets the parts per thousand scale factor correction applied to the flow sensor X axis optical rate. It can be used to correct for variations in effective focal length. Each positive increment of 1 increases the scale factor applied to the X axis optical flow reading by 0.1%. Negative values reduce the scale factor.

Range

-800 to +800

Increment

1

User level

Standard

FLOW_FYSCALER

Y axis optical flow scale factor correction

This sets the parts per thousand scale factor correction applied to the flow sensor Y axis optical rate. It can be used to correct for variations in effective focal length. Each positive increment of 1 increases the scale factor applied to the Y axis optical flow reading by 0.1%. Negative values reduce the scale factor.

Range

-800 to +800

Increment

1

User level

Standard

FLOW_OPTIONS

Optical flow options

Optical flow options. Bit 0 should be set if the sensor is stabilised (e.g. mounted on a gimbal)

User level

Standard

Bitmask

Value

Meaning

0

Roll/Pitch stabilised

FLOW_ORIENT_YAW

Flow sensor yaw alignment

Specifies the number of centi-degrees that the flow sensor is yawed relative to the vehicle. A sensor with its X-axis pointing to the right of the vehicle X axis has a positive yaw angle.

Units

cdeg

Range

-17999 to +18000

Increment

10

User level

Standard

FLOW_POS_X

X position offset

X position of the optical flow sensor focal point in body frame. Positive X is forward of the origin.

Units

m

Range

-5 to 5

Increment

0.01

User level

Advanced

FLOW_POS_Y

Y position offset

Y position of the optical flow sensor focal point in body frame. Positive Y is to the right of the origin.

Units

m

Range

-5 to 5

Increment

0.01

User level

Advanced

FLOW_POS_Z

Z position offset

Z position of the optical flow sensor focal point in body frame. Positive Z is down from the origin.

Units

m

Range

-5 to 5

Increment

0.01

User level

Advanced

FLOW_TYPE

Optical flow sensor type

Optical flow sensor type

Reboot required

Yes — the change takes effect after a reboot.

User level

Standard

Values

Value

Meaning

0

None

1

PX4Flow

2

Pixart

3

Bebop

4

CXOF

5

MAVLink

6

DroneCAN

7

MSP

8

UPFLOW

10

SITL