Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

I get Error [px4flow] PASS when I run px4flow test in mavlink console! (PX4Flow+EKF2) #103

Open
rhamrah opened this issue Oct 9, 2018 · 0 comments

Comments

@rhamrah
Copy link

rhamrah commented Oct 9, 2018

Hi,
I am using an optical flow sensor which has a sonar, plus EKF estimator, not using GPS. The flow sensor is connected to a Pixhawk through I2C port. The QGC version I am using is 3.4.4 the latest one, and the PX4 firmware is 1.8.0dev for a zmr250 racer airframe. I've also set all required parameters in qgrouncontrol as:

EKF_AID_MASK = 2,
EKF_HGT_MODE = Range sensor,
SENS_FLOW_ROT = YAW 270 deg,
...

and I am receiving and seeing all optical flow data on Mavlink Inspector in QGC, but I do not know the reason of ERROR [px4flow] PASS I get in Mavlink console of QGC, and what it means! In Mavlink console, when I start px4flow it says:
WARN [px4flow] already started
When I stop it and start it again, it says:

INFO [px4flow] scanning I2C buses for device..
PX4FLOW on I2C bus 1 at 0x42 (bus: 100 KHz, max: 400 KHz)
PX4FLOW not primary range device, not advertising

What it shows when I run px4flow info is:

screenshot from 2018-10-09 14-48-34

When I run px4flow test, it shows:

screenshot from 2018-10-09 13-49-08

and ends up with ERROR [px4flow] PASS .
Can you please let me know what this error is, and why px4flow is not considered as the primary range device?!
I've also flown the drone, and when I switch to Altitude mode the drone flies up vertically and it seems px4flow sensor doesn’t work properly. Please let me know if you have experienced similar issue, and how to fix it?

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

No branches or pull requests

1 participant