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

Summary "min battery volt" is wrong #4902

Open
FinalFrag opened this issue Jul 5, 2019 · 3 comments

Comments

Projects
None yet
2 participants
@FinalFrag
Copy link

commented Jul 5, 2019

Current Behavior

The minimum battery voltage in the disarm summary is higher than the actual minimum voltage during flight.
Video: https://www.youtube.com/watch?v=o0GWvwfioJY

Steps to Reproduce

  1. Fly too long ;)
  2. Watch battery voltage during flight
  3. Watch "min battery voltage" in disarm summary

Expected behavior

min battery voltage 11.9 in the summary (hit at 0:02 in the clip). Or depending how often samples are taken during flight, it should at least report 12.2 as the battery is consistently at that voltage during landing.

Suggested solution(s)

No suggestion

Additional context

Notice that I am running "bat_voltage_src = SAG_COMP", but I also noticed it in 2.1 where I wasn't running SAG_COMP
Full diff: https://pastebin.com/MVp3R2Hi


  • FC Board name and vendor: Matek F405 STD
  • INAV version string: INAV/MATEKF405_SERVOS6 2.2.1 Jul 3 2019 / 22:32:52 (a6d8474)
    GCC-8.2.1 20181213 (release) [gcc-8-branch revision 267074]

@issue-label-bot issue-label-bot bot added the BUG label Jul 5, 2019

@issue-label-bot

This comment has been minimized.

Copy link

commented Jul 5, 2019

Issue-Label Bot is automatically applying the label BUG to this issue, with a confidence of 0.97. Please mark this comment with 👍 or 👎 to give our bot feedback!

Links: app homepage, dashboard and code for this bot.

@teckel12

This comment has been minimized.

Copy link
Contributor

commented Jul 6, 2019

@FinalFrag Specify the cell count you fly with, all problems go away. Issue is with trying to calculate cell count with high voltage. Instead, just specify cell count and problems go away. Math...

@FinalFrag

This comment has been minimized.

Copy link
Author

commented Jul 6, 2019

Ok, I will retest

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.