python-openimu icon indicating copy to clipboard operation
python-openimu copied to clipboard

data not plotting on web

Open m5horton opened this issue 7 years ago • 1 comments

I record this via Web interface using OpenIMU300 VG_AHRS Firmware ( OpenIMU300ZA 5020-3885-02 1.1.0 SN:1908400056)

Data is logged https://navview.blob.core.windows.net/data/data-2019_09_25_12_21_21.csv

But when it plots, shows up blank image

m5horton avatar Sep 25 '19 19:09 m5horton

I have fixed the issue in commit https://github.com/Aceinna/ans-frontend/commit/052f2cce37a08aca1e6645d1dc04f1f5bfe6d6f4

Reason The chart render would use the yAxes from openimu.json>userMessages>outputPackets>graphs, and try to match the header from first line of log file. But the header in first line contains unit for every cell, it won't match any value of yAxes that defined in openimu.json. So there is no plots in chart.

Solution Extract the header from unit.

yiweisong avatar Sep 26 '19 02:09 yiweisong