-
Notifications
You must be signed in to change notification settings - Fork 1.5k
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
VSpd telemetry error accumulates in flight #9987
Comments
I did more flights with iNav 7.1.0 to confirm that the problem was repeatable. I even tried setting CLI parameter inav_w_z_gps_v to zero (default is 0.1) to remove all dependence on GPS vertical speed but it did not fix the problem. I downgraded the firmware to iNav 7.0.0 and can confirm that the problem went away. I can only conclude that some change to the Vertical Speed code from 7.0.0 to 7.1.0 is causing the problem. Summary: Rolling back to iNav 7.0.0 is a workaround for this issue. |
Hey, |
I will try this and report back in a week or so... |
The VSpd issue may be related to #10040. |
I created #100400 based partly on reading this and finding out that inav_use_gps_no_baro doesn't do what some thought it did. It does exactly what the name says - it uses the GPS and not the baro. Suggest turning off inav_use_gps_no_baro. |
I have done several flights (iNav 7.1.1) with “inav_use_gps_no_baro” set to OFF. Unfortunately, the VSpd residual offset problem is still present. So the problem is not likely to be related to #10040 but is a result of something that was changed in the Z velocity position estimator code between iNav 7.0.0 and iNav 7.1.x. To be clear, there is no problem observed with the altitude telemetry. Only the VSpd telemetry. |
Update: Workaround found... Version: iNav 7.1.1 Things I tried that didn't solve the problem:
What worked finally:
As mentioned in a previous post, rolling back to iNav 7.0.0 (without the changes above) also works around the problem. Clearly, the problem introduced by code changes in iNav 7.1.0 will have to be fixed as I suspect it will affect other navigation functions in some annoying, hard-to-pinpoint way. |
Problem is still not fixed in latest iNav 7.1.2 VARIO shows +2 ft/sec accumulated upon landing after ~30min flying.
I have not tried It's interesting the ELRS telemetry docs specify two different VARIO packets for GPS and BARO,
HW: Speedybee F405 Wing |
Current Behavior
Platform: iNav FC mounted in a motor glider.
VSpd telemetry parameter accumulates an error with a offset of up to +2m/s after about 30 minutes in the air. At the start of the flight, there is zero error. At the end of the flight, with the aircraft sitting on the ground, telemetry shows it is still climbing. This error is also noticeable in flight if the vario tones are enabled (i.e. a climb indicated when the glider is actually descending).
Steps to Reproduce
Expected behavior
At the end of the flight, the VSPD telemetry should show zero m/s when sitting stationary on the ground.
Suggested solution(s)
The error was probably introduced in code changes for barometric and GPS alt.
Additional context
This VSpd error only started after I updated from iNav 6.0 to iNav 7.1.0.
iNav Dump: (https://pastebin.com/7ZSPq3p6)
The text was updated successfully, but these errors were encountered: