CurrTot dropping.
The "total current" (capacity used) is dropping.
It makes no sense.
I've seen this first on a log from forum while helping somebody out, now my own.
I'm pretty sure you have logs with it too, if not, I'll upload ASAP.

How is your current doing?
My Tot is not jumping:
I have PX4 running ArduCopter V3.2-dev (beb61235)
Have a look at current and maybe you need a small capacitor on the adc input to smooth the signal out a little.
//Superman
full log at http://flyfoto-nord.no/currtotal.zip
No, my current is very sane, matching throut very well.
Anyway - assuming the code is something like:
currtotal =+ mAh_spent_since_last_sample
currtotal should not have been able to drop unless calculated consumption since last time of calculation returned a negative mAh_spent_since_last_sample
I did not check the code, - but this must be some bug, the current is reasonable, and always a positive value, yet currtotal suddeltly drops now and then.
Thanks for the report. This is actually a dataflash download via mavlink issue and it's already been resolved in master.
I downloaded that .log using Terminal mode in APMPlanner2 (as I understand it, it's still not using mavlink for download) - Please tell me if the same fix is explected to cover that. Thank you.
Hilsen André
On 16 March 2014 02:22, Randy Mackay [email protected] wrote:
Thanks for the report. This is actually a dataflash download via mavlink issue and it's already been resolved in master.
Reply to this email directly or view it on GitHubhttps://github.com/diydrones/ardupilot/issues/905#issuecomment-37744980 .
Ok, I might have the fix slightly mixed up. There were multiple issues with the FAT file system on the Pixhawk which have all been resolved in master now. I'm 99% sure that this is fixed in master. These jagged graphs will appear all over your logs I think including the logged system time ("TimeMS").
I think it will be ok if you read the .bin file directly off the SD card. I.e. take the SD card out of the Pixhawk and connect it to your computer.
You're right. .bin data fine. I thought this was very strange, because I watched these logs often ~2 weeks while fine-tuning current multiplier. and I know I'd remeber it if I saw it then :)
Ah, great news. So this means it should definitely be fixed in master.