Skip to content

Improved virtual pitot calculation method#11646

Open
breadoven wants to merge 3 commits into
iNavFlight:maintenance-10.xfrom
breadoven:abo_virtual_pitot_fix
Open

Improved virtual pitot calculation method#11646
breadoven wants to merge 3 commits into
iNavFlight:maintenance-10.xfrom
breadoven:abo_virtual_pitot_fix

Conversation

@breadoven

Copy link
Copy Markdown
Collaborator

Changes the method used to calculate virtual airspeed which currently becomes inaccurate as pitch increases. At very high pitch angles yaw can suddenly flip causing a large abrupt unrealistic change in virtual airspeed.

The new method calculates velocities in earth frame using Nav velocities and wind velocities then transforms the wind corrected velocities to body frame. Virtual airspeed is considered be the body frame x velocity.

Seems to work in HITL testing. The sudden jumps in virtual airspeed seen with the old method at high pitch angles are gone with the velocity changing consistently.

@qodo-code-review

Copy link
Copy Markdown
Contributor

Qodo reviews are paused for this user.

Troubleshooting steps vary by plan Learn more →

On a Teams plan?
Reviews resume once this user has a paid seat and their Git account is linked in Qodo.
Link Git account →

Using GitHub Enterprise Server, GitLab Self-Managed, or Bitbucket Data Center?
These require an Enterprise plan - Contact us
Contact us →

@breadoven breadoven added this to the 10.0 milestone Jun 11, 2026
@github-actions

github-actions Bot commented Jun 11, 2026

Copy link
Copy Markdown

Test firmware build ready — commit 5ff53ed

Download firmware for PR #11646

238 targets built. Find your board's .hex file by name on that page (e.g. MATEKF405SE.hex). Files are individually downloadable — no GitHub login required.

Development build for testing only. Use Full Chip Erase when flashing.

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

Successfully merging this pull request may close these issues.

1 participant