Open WickedShell opened 6 years ago
Are all your battery PRs now in master ?
Except #8025 which is stuck on me finishing moving some params I missed earlier.
@WickedShell the PR #9414 got merged already. It replaced #8025 that was blocking this. So this one can be re-activated again.
Issue details
Copter manually polls the battery read function at 50Hz within the compassmot, this in turn updates the resistance at 50Hz. The filter for this was setup and tuned at a 10Hz call rate, and thus will create different results then would be seen in normal usage. This also logs total consumed with a 5x scalar, but that is at least a safer direction of error.
This should probably be rate limited within the compassmot test, however I didn't want to address this until after the battery failsafe stuff is merged first due to the ever ongoing scope creep.
Platform
[ ] All [ ] AntennaTracker [ x ] Copter [ ] Plane [ ] Rover [ ] Submarine