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

Fix TECS init when switching into a altitude controlled mode only once in air #22500

Merged
merged 4 commits into from
Dec 8, 2023

Commits on Dec 7, 2023

  1. TECS: set _ratio_underspeed to 0 if airspeed disabled

    Signed-off-by: Silvan Fuhrer <silvan@auterion.com>
    sfuhrer committed Dec 7, 2023
    Configuration menu
    Copy the full SHA
    6a2444e View commit details
    Browse the repository at this point in the history

Commits on Dec 8, 2023

  1. TECS: init to airspeed filter to trim airspeed if airspeed-less

    Signed-off-by: Silvan Fuhrer <silvan@auterion.com>
    sfuhrer committed Dec 8, 2023
    Configuration menu
    Copy the full SHA
    6fa922c View commit details
    Browse the repository at this point in the history
  2. TECS: make sure to constrain pitch to current min/max pitch

    Signed-off-by: Silvan Fuhrer <silvan@auterion.com>
    sfuhrer committed Dec 8, 2023
    Configuration menu
    Copy the full SHA
    cccb870 View commit details
    Browse the repository at this point in the history
  3. TECS: init control params to reasonable values

    The control params (eg min/max pitch) are used before they are
    correctly set by TECS::update(). While this is an issue we should fix,
    it also doesn't hurt to set them to more reasobale values (eg 30° limit).
    
    Signed-off-by: Silvan Fuhrer <silvan@auterion.com>
    sfuhrer committed Dec 8, 2023
    Configuration menu
    Copy the full SHA
    7c7e006 View commit details
    Browse the repository at this point in the history