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

AP_BattMonitor: add option minimum volt option #28148

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

loki077
Copy link
Contributor

@loki077 loki077 commented Sep 19, 2024

Allows aggregate monitors like Sum and ESC to report the minimum voltage instead of the average voltage. This is useful for systems with multiple isolated batteries where the lowest voltage is the limiting factor.

@robertlong13

Allows aggregate monitors like Sum and ESC to report the minimum voltage
instead of the average voltage. This is useful for systems with multiple
isolated batteries where the lowest voltage is the limiting factor.
@IamPete1
Copy link
Member

You can setup your low voltage failsafes on the individual battery monitors before combining them in the sum. That is not a option for ESC of course.

I think the problem here is that the consumed energy calculation will be thrown off. Maybe you could apply the min voltage after the update_consumed call?

@robertlong13
Copy link
Collaborator

robertlong13 commented Sep 19, 2024

That works for failsafes, but we wanted to display the relevant number easily to the pilot. That could be done with GCS customizations instead I suppose, but this felt nicer.

Good point about the consumed energy calculation. We can revise so that this option doesn't impact that calc.

Copy link
Collaborator

@Hwurzburg Hwurzburg left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

this should not be included on minimize boards..

@Hwurzburg Hwurzburg added the WikiNeeded needs wiki update label Sep 19, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
WikiNeeded needs wiki update
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants