Optical Flow instead GPS

Hello! when I connect Optical Flow and configure all the parameters as in the article at the link Optical Flow Sensor Testing and Setup — Copter documentation. But it still shows GPS: No GPS as in the photo


, how can I adjust the orientation only by Optical Flow, because experiments are conducted in the basement, while Optical Flow is placed on the Unitree Go1 Robot Dog, but opt_qua = 255, as well as the other two parameters are changed. Thank you in advance for your reply!

You need to tell the EKF to use the optical flow data. In the page you linked in your post, if you scroll further down to the “Second Flight” section, you’ll see the EKF settings you need to change.

That’s for the GPS sensor. Presumably, you don’t have a GPS fitted to your vehicle.

Thank you for your reply! Yes, I changed the parameters according to the settings on the link, as in Setup for Normal Operation at the end of the article, but on the main page the path of my robot is not displayed, how can I configure the route using Optical Flow, because as far as I understand, there should be FLOW: Ok instead of GPS: No GPS


image
And an error pops up: 03.06.2025 13:23:38 : EKF3 IMU1 stopped aiding
And also a mistake:

03.06.2025 14:12:51 : EKF3 not enough memory

Which flight controller are you running? If it’s an F4-based board and you’re running many features you may run out of memory.

I use pixhawk 1 and also CX-OF Optical Flow element

Can you post the full parameter set you’re using? I couldn’t replicate your error with my Pixhawk1 and CX-OF.

I’m sorry, I don’t fully understand what exactly needs to be sent, did you request this file?
Parametr.param (15.3 KB)

Or you ask me for something else

Hello, yes I use Lua Script to send a signal to the dog that the controller is armed. but it does not take up much memory. about the other functions I do not know which ones are enabled and which ones use a lot of memory, but I cannot disable this Lua Script.