inav icon indicating copy to clipboard operation
inav copied to clipboard

Current always zero in blackbox log

Open StefanRvO opened this issue 8 years ago • 10 comments

I'm using blackbox logging on the MATEK F722 ( 1.9.0), but is having an issue with the current in the log (amperageLatest) always showing zero. I have current monitoring set up and the consumption shows correctly when viewed through the configurator. I have also tried logging using betaflight, and here, the value is logged as it should.

iNav blackbox log: LOG00012.TXT Betaflight blackbox log: LOG00011_betaflight.txt

diff:

inav-13-09-2018_diff.txt

StefanRvO avatar Mar 14 '18 13:03 StefanRvO

Please post the full configuration dump. My guess is that you didn't enable the current sensor in the configuration tab. You can see the measured current in the setup tab in the right column "Current draw" and also the the configuration tab in the "current sensor" section.

shellixyz avatar Mar 18 '18 15:03 shellixyz

Here is a dump: inav-dump-18-03.txt

StefanRvO avatar Mar 18 '18 15:03 StefanRvO

Your current sensor have not been calibrated (you are using the default scale and offset). Can you confirm you are seeing current values > 0 in the configurator or OSD ?

shellixyz avatar Mar 18 '18 15:03 shellixyz

I don't have any FPV stuff, so i don't know about OSD, but the configurator shows a non-zero current. screenshot_20180318_165305 I know that it is not calibrated, but would think that some value should be logged regardless.

StefanRvO avatar Mar 18 '18 15:03 StefanRvO

Indeed it should. It will be fixed in the next version. In the meantime you can use this fixed build: inav_1.9.0_MATEKF722.hex.zip

shellixyz avatar Mar 18 '18 16:03 shellixyz

@mistyk Sure: inav_1.9.0_MATEKF405.hex.zip

shellixyz avatar Apr 05 '18 13:04 shellixyz

Hi, could you provide a patch for OmnibusF4 targets too please? (OmnibusF4v5)

I can see the current draw in OSD, but nothing in the logs.

Cheers

dereb avatar Apr 06 '18 07:04 dereb

The patch is available here: #2940 Fixed binaries for all targets: iNav_1.9.0_fixed_BB_current_all_targets.zip

shellixyz avatar Apr 06 '18 13:04 shellixyz

Thank you very much!

dereb avatar Apr 06 '18 15:04 dereb

Fix merged. Closing

digitalentity avatar Apr 10 '18 11:04 digitalentity