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

Implement assisted autorotation for Heli’s #22871

Open
wants to merge 61 commits into
base: master
Choose a base branch
from

Commits on Jan 20, 2024

  1. Configuration menu
    Copy the full SHA
    99adf3e View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    18df15c View commit details
    Browse the repository at this point in the history
  3. AP_Motors: Support for Assisted Autorotation

    retrieve collective hover setting
    get governor rpm setpoint
    Ferruccio1984 authored and bnsgeyer committed Jan 20, 2024
    Configuration menu
    Copy the full SHA
    9147f2f View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    9b09716 View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    4c9e076 View commit details
    Browse the repository at this point in the history
  6. Configuration menu
    Copy the full SHA
    e31ea19 View commit details
    Browse the repository at this point in the history
  7. Configuration menu
    Copy the full SHA
    4053ff8 View commit details
    Browse the repository at this point in the history
  8. Configuration menu
    Copy the full SHA
    079c189 View commit details
    Browse the repository at this point in the history
  9. Configuration menu
    Copy the full SHA
    321bb44 View commit details
    Browse the repository at this point in the history
  10. AC_Autorotation: Create Init function and directly access AP_Motors_H…

    …eli for param values to delete object globals
    MattKear authored and bnsgeyer committed Jan 20, 2024
    Configuration menu
    Copy the full SHA
    9dcec13 View commit details
    Browse the repository at this point in the history
  11. Configuration menu
    Copy the full SHA
    006a3b6 View commit details
    Browse the repository at this point in the history
  12. Configuration menu
    Copy the full SHA
    3959534 View commit details
    Browse the repository at this point in the history
  13. Configuration menu
    Copy the full SHA
    e7887eb View commit details
    Browse the repository at this point in the history
  14. Configuration menu
    Copy the full SHA
    a9e2c26 View commit details
    Browse the repository at this point in the history
  15. Configuration menu
    Copy the full SHA
    ed8d1aa View commit details
    Browse the repository at this point in the history
  16. AC_Autorotation: tidy up logging

    MattKear authored and bnsgeyer committed Jan 20, 2024
    Configuration menu
    Copy the full SHA
    6cfd4bb View commit details
    Browse the repository at this point in the history
  17. Configuration menu
    Copy the full SHA
    aa3d54a View commit details
    Browse the repository at this point in the history
  18. Configuration menu
    Copy the full SHA
    af175b9 View commit details
    Browse the repository at this point in the history
  19. AC_Autorotation

    -Fix constants definition
    -Description of variables in header
    Ferruccio1984 authored and bnsgeyer committed Jan 20, 2024
    Configuration menu
    Copy the full SHA
    4ce4e2c View commit details
    Browse the repository at this point in the history

Commits on Jan 27, 2024

  1. Configuration menu
    Copy the full SHA
    5549244 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    1aba9ad View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    b61eee3 View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    b2fe6a3 View commit details
    Browse the repository at this point in the history

Commits on Feb 9, 2024

  1. Configuration menu
    Copy the full SHA
    ee2dff7 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    71c92af View commit details
    Browse the repository at this point in the history
  3. AC_Autorotation: Add helper functions to move phase init functionaili…

    …ty from mode down into library
    MattKear authored and bnsgeyer committed Feb 9, 2024
    Configuration menu
    Copy the full SHA
    651e3f7 View commit details
    Browse the repository at this point in the history
  4. Copter: autorotation mode: Move phase init functions down into autoro…

    …tation obj to simplify code
    MattKear authored and bnsgeyer committed Feb 9, 2024
    Configuration menu
    Copy the full SHA
    9aece05 View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    e314f5c View commit details
    Browse the repository at this point in the history
  6. Configuration menu
    Copy the full SHA
    e3fa52d View commit details
    Browse the repository at this point in the history
  7. Copter: Autorotation Mode: rename get_flare_status to is_flare_comple…

    …te to improve readability
    MattKear authored and bnsgeyer committed Feb 9, 2024
    Configuration menu
    Copy the full SHA
    26659ad View commit details
    Browse the repository at this point in the history
  8. AC_Autorotation: Rename get_flare_status to is_flare_complete to impr…

    …ove readability
    MattKear authored and bnsgeyer committed Feb 9, 2024
    Configuration menu
    Copy the full SHA
    93ddcc4 View commit details
    Browse the repository at this point in the history
  9. Configuration menu
    Copy the full SHA
    e153490 View commit details
    Browse the repository at this point in the history
  10. Configuration menu
    Copy the full SHA
    ea61936 View commit details
    Browse the repository at this point in the history
  11. Configuration menu
    Copy the full SHA
    afff5a1 View commit details
    Browse the repository at this point in the history
  12. AC_Autorotation: Remove touch down complete bool and just use the tim…

    …er. Also make the lowering of the collective to zero thrust when on ground and do it smoothly.
    MattKear authored and bnsgeyer committed Feb 9, 2024
    Configuration menu
    Copy the full SHA
    0887aff View commit details
    Browse the repository at this point in the history
  13. AC_Autorotation: Let copter do all of the height above ground estimat…

    …ion, change all measurements to height above ground to be the same variable.
    MattKear authored and bnsgeyer committed Feb 9, 2024
    Configuration menu
    Copy the full SHA
    ee06b79 View commit details
    Browse the repository at this point in the history
  14. Copter: Use copters inertial navigation interpolation of the rangefin…

    …der measurement for heigh above ground in the autorotation lib. We don't need to check for range finder out of range because inertial nave will interpolate for this case and we check against ground clearance in the autorotation lib.
    MattKear authored and bnsgeyer committed Feb 9, 2024
    Configuration menu
    Copy the full SHA
    9214267 View commit details
    Browse the repository at this point in the history
  15. Configuration menu
    Copy the full SHA
    c2b8589 View commit details
    Browse the repository at this point in the history
  16. AC_Autorotation: Add helpers for state machine logic tidy up and remo…

    …ve now needed variables and functions.
    MattKear authored and bnsgeyer committed Feb 9, 2024
    Configuration menu
    Copy the full SHA
    ee7b895 View commit details
    Browse the repository at this point in the history
  17. Copter: Autorotation Mode: Rework logic machine to make it easier to …

    …read and to ensure flight phase progression based on heights. Also flip flag bools to be init checks.
    MattKear authored and bnsgeyer committed Feb 9, 2024
    Configuration menu
    Copy the full SHA
    a42288d View commit details
    Browse the repository at this point in the history
  18. AC_Autorotation: Make param defaults numeric values if the defines ar…

    …e not used elsewhere in the code.
    MattKear authored and bnsgeyer committed Feb 9, 2024
    Configuration menu
    Copy the full SHA
    29c2d35 View commit details
    Browse the repository at this point in the history
  19. Configuration menu
    Copy the full SHA
    ad64639 View commit details
    Browse the repository at this point in the history
  20. Configuration menu
    Copy the full SHA
    f101a21 View commit details
    Browse the repository at this point in the history
  21. Copter: Autorotation Mode: Whitespace changes, comments updated, and …

    …remove unused define.
    MattKear authored and bnsgeyer committed Feb 9, 2024
    Configuration menu
    Copy the full SHA
    61c6e60 View commit details
    Browse the repository at this point in the history
  22. Configuration menu
    Copy the full SHA
    0798ca6 View commit details
    Browse the repository at this point in the history
  23. Configuration menu
    Copy the full SHA
    ba3fbaf View commit details
    Browse the repository at this point in the history
  24. Configuration menu
    Copy the full SHA
    a1b0725 View commit details
    Browse the repository at this point in the history
  25. Configuration menu
    Copy the full SHA
    3384684 View commit details
    Browse the repository at this point in the history
  26. Configuration menu
    Copy the full SHA
    64829ac View commit details
    Browse the repository at this point in the history
  27. Copter: Autorotation mode: Simplify rpm warning message code structur…

    …e and utilise a timer
    MattKear authored and bnsgeyer committed Feb 9, 2024
    Configuration menu
    Copy the full SHA
    72553f7 View commit details
    Browse the repository at this point in the history
  28. Configuration menu
    Copy the full SHA
    7fddf29 View commit details
    Browse the repository at this point in the history
  29. AC_Autorotation: update comments

    MattKear authored and bnsgeyer committed Feb 9, 2024
    Configuration menu
    Copy the full SHA
    bbebd62 View commit details
    Browse the repository at this point in the history
  30. Configuration menu
    Copy the full SHA
    a895d15 View commit details
    Browse the repository at this point in the history

Commits on Feb 16, 2024

  1. Configuration menu
    Copy the full SHA
    aaee063 View commit details
    Browse the repository at this point in the history
  2. Copter: Always update the ground distance in the autorotation library…

    … to prevent a race on mode init.
    MattKear authored and bnsgeyer committed Feb 16, 2024
    Configuration menu
    Copy the full SHA
    9e110c9 View commit details
    Browse the repository at this point in the history
  3. AP_Motors: Heli: Add helper to calculated norm collective from a give…

    …n blade pitch angle
    MattKear authored and bnsgeyer committed Feb 16, 2024
    Configuration menu
    Copy the full SHA
    7fd07b4 View commit details
    Browse the repository at this point in the history
  4. AC_Autorotation: Simplify bad RPM handling, leaving to RPM lib to det…

    …ermine unhealthy. Col defaults to ang of -2 if no RPM
    MattKear authored and bnsgeyer committed Feb 16, 2024
    Configuration menu
    Copy the full SHA
    533e202 View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    6547e24 View commit details
    Browse the repository at this point in the history
  6. Configuration menu
    Copy the full SHA
    6f3eff1 View commit details
    Browse the repository at this point in the history
  7. AP_Motors: return collective land position

    post touchdown condition requires collective to be lowered below land_col_min_pct in order to get the disarm logic to disarm the aircraft
    Ferruccio1984 authored and bnsgeyer committed Feb 16, 2024
    Configuration menu
    Copy the full SHA
    2cde571 View commit details
    Browse the repository at this point in the history
  8. AC_Autorotation: fix for post touchdown disarming

    -collective gets lowered below land_col_min_pct in order to get the aircraft disarmed
    -adjusted thresholds of lfare update and flare complete check
    Ferruccio1984 authored and bnsgeyer committed Feb 16, 2024
    Configuration menu
    Copy the full SHA
    241959e View commit details
    Browse the repository at this point in the history