Skip to content
This repository has been archived by the owner on Jan 3, 2023. It is now read-only.

optical flow position mode - "no local position" error #376

Open
ambikaverma opened this issue Aug 5, 2018 · 3 comments
Open

optical flow position mode - "no local position" error #376

ambikaverma opened this issue Aug 5, 2018 · 3 comments

Comments

@ambikaverma
Copy link

Hi

Im trying to test optical flow on intel aero. My setup is as follows -

px4 - ver 1.8.0
bios - latest yocto image.
indoors, when the uav is stationary.

I start optical flow manually using ./aero-optical-flow command to see if the features/texture is good enough. Looks like its good enough since I don't get any desired number of feature prompts. Also the quality is on 180-200 range.

And on arming the flight mode does change to position hold.
But, instantly I get "no local position" error. I can share screenshots of above if required.

Any suggestions on the cause for this?
Thanks!

@ambikaverma
Copy link
Author

any suggestions for above issue? Im still getting no local position error.
ekf_aid_mask = 2
ekf_hgt_mode = range sensor

optical flow quality is good 180-200 and I'm able to switch to position hold mode, but instantly goes into failsafe for "no local position"

@zehortigoza
Copy link
Contributor

Looks very similar to #372
as said in that issue, try to switch to altitude mode to make sure everything lidar is working other than that you will have to debug PX4.

@AlexisTM
Copy link

Do you have a laser connected?

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants