-
Notifications
You must be signed in to change notification settings - Fork 13.6k
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
EKF baro hgt timeout - reset to baro #9060
Comments
@Ahrovan I just quickly analyzed the log. |
@xdwgood The QUAD COPTER suddenly loses its height (in this time I used Lidar lite v3 too) |
@Ahrovan @LorenzMeier The customer used the most recent PX4 v1.7.3 Stable Release. So I don't know if commander's low stack problem needs your attention. I also have a suggestion: the drone is not allowed to enter |
@xdwgood Thanks . I tried to prevent crash with changing the flight mode to "Altitude Mode": for now, there is no solution to the problem, I agree with you for altitude problem. for today I tested again with this result:
Altitude estimator show "GPS Altitude" and "distance sensor" descend in 2:00 - 2:20: |
@Ahrovan To my knowledge by default first priority for relative altitude estimation are accelerometer measurements. And your accelerometer z-axis while not being unusable or cliping all the time has a pretty high noise level which is probably due to vibrations and how the autopilot is mounted on the vehicle. The second default sensor to use is the barometer because 3D GPS altitude estimates are in absolute meters above sea level closer to the real value but the relative tracking of the drone movement is a lot worse. And in my eyes your baro is likely the thing that causes most of your problems. It has a crazy offset to the real altitude. I've seen logs with 100-1000 meters offset but yours shows >6000m while you're at ~1300m. Also the noise of your reported barometer measurements is higher than I would expect. I'm used to a noise level of maybe ~1m and in your logs it sometimes hits >15m...
Let's also shout out to @priseborough because he might have more ideas and spot where the problem lies. |
@MaEtUgR Thank you. I will review and report on the cases today.
|
New flight with new Hex Frame (All Hardware changed, Just Pixhawk stay): crash due: |
see ecl
|
@Ahrovan The is no EKF issue until after the vibration levels suddenly become extreme. Following plot shows IMU accel scaled to units of g and the vertical velocity and position innovations: You need to fix your hardware. |
@priseborough It looks like you checked the acceleration after the crash? |
Then that means there was no EKF issue during flight. |
A sudden change occurs between the height source (between the baro and the gps), causing a sudden loss of altitude in the situation that has been raised. |
The baro output is inconsistent with other sensors. It looks like a faulty baro sensor was responsible. |
This problem occurred on several hardware, it seems to me incorrect. Because there is no problem in altitude flight mode. Except in navigation mode with gps. |
What autopilot hardware are you using? |
@priseborough Pixhawk 1 Flight Controller I also tested with pixhawk lite. |
* pr-ekfOptFlowFixes: EKF: fix bug causing height offset when GPS use stops EKF: Don't reject saturated flow data when it is the only aiding source EKF: Prevent flow motion check false positives EKF: Don't assume large position uncertainty when starting optical flow nav EKF: relax terrain update requirements for continuing optical flow use EKF: Relax minimum required range finder measurement rate EKF: relax optical flow on ground motion checks EKF: range finder aiding logic fixes EKF: Decouple range finder use criteria checking and selection EKF: Don't auto select range finder for height when on ground. EKF: Fix false triggering of optical flow bad motion checks EKF: update comments EKF: Don't use optical flow if GPS is good and the vehicle is not using range finder for height EKF: Stop using EV for yaw when GPS fusion starts EKF: Add persistence criteria to GPS fail check EKF: allow GPS fallback if quality bad and alternative aiding available EKF: always run GPS checks
@Ahrovan is your Problem solved ? I had yesterday the same issue 2 times with my S500 Quadcopter (Pixracer Controller) - EKF baro hgt timeout - reset to baro. My Quad suddenly gained altitude in altitude or position hold mode... very shocking experience. I am running PX4 1.8.0 but i had the same Problem with Arducopter. Everytime the S500 Quad would arm and fly nice in stabilized mode but when i switch to altitude or position hold the problem occurs. Flight logs: Maybe someone can help me out. I don´t know if my pixracer is bad or my GPS Module. Today i want to try a soft mount method of the FC. |
@tkris This is intended for the reporting of SW defects, not resolving problems with hardware, installation and setup. |
@tkris @priseborough The change in the hardware of the FC does not have an effect on the problem and this problem occurs again(So that we tested with versions Pixhawk 1 lite and Pixhawk 1). |
Bug Report
Altitude setpoint = 20
after waypoint-3, Quad copter descent to approximately zero altitude in waypoint-4
The text was updated successfully, but these errors were encountered: