Skip to content

AP_BattMonitor: add Copter brake/land failsafe action to parameter me… #29361

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

Merged

Conversation

peterbarker
Copy link
Contributor

…tadata

@rmackay9
Copy link
Contributor

Thanks for this. Just for accountability it looks like:

  1. Leonard added the feature for RC failsafe here Copter: Add Radio Failsafe Brake Mode option #23110
  2. Tatsuya noticed it was missing for GCS failsafe here Copter: Add GCS Failsafe Brake option #23832
  3. PeterB's now noticed it's missing for the battery failsafe

@lthall
Copy link
Contributor

lthall commented Feb 24, 2025

Yeh, that was my bad. In my defince I noticed the missing battery failsafe and asked Peter if it should have also been added to the battery.

When I read through the code it looks like the failsafes are more seperated than they really are. What confused me is the hash defines:
#define FS_THR_ENABLED_ALWAYS_RTL
#define FS_GCS_ENABLED_ALWAYS_RTL

And then there are no battery ones at all. It took some going back and forth before I felt confident it was missing.

@peterbarker peterbarker merged commit d0824a8 into ArduPilot:master Feb 24, 2025
102 checks passed
@peterbarker peterbarker deleted the pr/battery-failsafe-metadata branch February 25, 2025 00:20
@rmackay9 rmackay9 moved this to Pending in 4.6 Backports Mar 31, 2025
@rmackay9
Copy link
Contributor

I was unable to immediately include this in 4.6.0-beta5 due to merge conflicts

@rmackay9 rmackay9 moved this from Pending to merge conflict in 4.6 Backports Mar 31, 2025
@rmackay9 rmackay9 mentioned this pull request Mar 31, 2025
6 tasks
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.

3 participants