-
Notifications
You must be signed in to change notification settings - Fork 0
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
BattMonitor: minimum voltage option for aggregate monitors #114
BattMonitor: minimum voltage option for aggregate monitors #114
Conversation
82a550f
to
ad09da0
Compare
ad09da0
to
a76d6ba
Compare
I've fixed and reworked this PR a bit. The option now also applies both to "Sum" type monitors as well as "ESC" type. I also reserved the (1U<<7) option to make the upstream PR easier, since that option has been taken now. I tested in SITL on a sum monitor, but this needs testing on an iron bird with an ESC monitor. |
@Jono453 can you help with testing with it. Will need to emulate failure on CPN on iron bird without actually using ESC. We can discuss the test stages. |
15f0f8a
to
7938050
Compare
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. SW-97
7938050
to
6944422
Compare
I have done the review of code. But can't approve it as I raised the PR @robertlong13 @Pradeep-Carbonix can you review and approve the PR. |
done |
Upstream open (likely merge tomorrow): ArduPilot/ardupilot#28227 |
O8 has left and right VTOL batteries, we are really interested in the minimum voltage between the two batteries instead of average voltage. The ESC battery monitor reports the average of the voltage of all connected ESCs.
This change will add option on BATT_Monitor to report ESC lowest voltage and not sum.
Testing is still pending to see the results.
SW-97