mode key in the plugin’s per-drone config (see Install and configure). The Vision Nav tab’s mode card is read-only: it lists the modes the agent can run and marks the active one. A config change restarts the plugin on the new mode.
The three modes
off
The default. The plugin stays loaded, reports its sensors and estimator state, and sends nothing. Turning the Engage Skill off has the same effect in any mode.
optical_flow
A Lucas-Kanade tracker on the downward camera, with the rangefinder for metric scale. This is the mode to fly at low height over textured ground. With the rangefinder wired to the companion, the plugin also forwards the reading as DISTANCE_SENSOR.
optical_flow_degraded
The same tracker, with scale from the scale ladder instead of a rangefinder. It drifts more than optical_flow, and the drift grows quickly above about 5 m. Use it when you can’t fit a rangefinder.
Pre-arm checks
Each check is
ok, pending or blocking. The armable flag is true only when every check is ok; in off there are no checks.
Scale source and fallback
Inoptical_flow_degraded the plugin takes scale from the first healthy rung of a ladder. Each rung multiplies the tracker’s quality, so the flight controller gives a weaker rung less weight.
Distances are clamped to 0.3 to 50 m. GPS height is never taken from mean sea level, and it’s capped at 50 m above the first fix.
On the static rung the estimator reports
degraded whatever the raw quality, flow quality stays near 51/255 at most, and the scale_source pre-arm check blocks. In optical_flow the scale source is the rangefinder, shown as rangefinder.
When flow degrades
- Low quality. When flow quality falls below
flow_quality_min, the estimator reportsdegraded. The fallback banner on the Vision Nav tab appears as soon as the estimator reportsdegradedorfailed, and suggests landing or switching the flight controller back to GPS with your RC source-set switch. - Sustained degradation. A
degradedorfailedstreak of 2 s turns the companionCRITICAL: itsHEARTBEATreportsMAV_STATE_CRITICAL. - No frames. If no camera frame arrives for 2 s, the estimator reports
failedand the companion goesCRITICAL. No frames means nothing is sent, so the flight controller’s estimator times the flow source out.
Next steps
Calibration
Optional camera-IMU time offset.
Flight controller setup
Parameters that fuse the flow.