Multiple ArkFlow/Optical Flow

Was curious if there is any thought/movement toward multi-optical flow for added position hold in environments where downward facing optics might be obscure (say over water or if an optical flow sensor gets blinded with mud).

I imagine that this would take an efk2 change as well as PX4 supporting multiple lidars that wont be used for alt sensing.

Was just curious. Thanks!

I’ve done this with multiple instances of ekf2 (each using a different flow sensor) and it might help with redundancy edge cases, but otherwise doesn’t provide much value.

What I’d actually like to try is adding it properly as a new dedicated aid source in the EKF backend (ie optical flow 1, optical flow 2). That way you have additional corrections from each and the ability to catch failures independently.

Following up on this thread, my scenario is slightly different from redundancy. I’d like to use one OF sensor facing down and one facing forward, so that when ground texture is poor the forward-facing sensor can compensate.

Is this something EKF2 could support, or does the measurement model’s dependency on range_to_ground make a forward-facing sensor a fundamentally bad fit for the flow fusion path? Would it make more sense to feed the forward OF as an EV_VEL source with a paired forward rangefinder for scale?

Any pointers on what would need to change, or whether this is even worth pursuing, would be much appreciated!

Hi, how did you switch between instances? I am also trying to work with two EKF2 instances: one receiving External Vision (EV) data from VIO, and a clean one (without any external sensors). However, when I try to force the EKF2 selector to switch between them, the Commander throws a lot of nav_error messages