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 |
|
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 |
|
Increment |
|
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 |
|
Increment |
|
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 |
|---|---|
|
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 |
|
Range |
|
Increment |
|
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 |
|
Range |
|
Increment |
|
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 |
|
Range |
|
Increment |
|
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 |
|
Range |
|
Increment |
|
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 |
|---|---|
|
None |
|
PX4Flow |
|
Pixart |
|
Bebop |
|
CXOF |
|
MAVLink |
|
DroneCAN |
|
MSP |
|
UPFLOW |
|
SITL |