ArduPilot / UAVLogViewer

An online viewer for UAV log files
GNU General Public License v3.0
142 stars 76 forks source link

Downloaded data.csv does not seem to be correct #415

Open ntouev opened 7 months ago

ntouev commented 7 months ago

Downloading data to a csv file does not seem to be correct.

UAV Log Viewer plot image

Using Excel to plot the downloaded data image

Discuss thread: https://discuss.ardupilot.org/t/uav-log-viewer-downloaded-data-csv-problem/116881 Tested Flight log: https://drive.google.com/file/d/13SzHmCFXVaDOSkUoY7rSCYr1NIuQwrz_/view?usp=sharing

Williangalvani commented 4 months ago

the issue here seems to be that we are just holding the last value instead of doing the linear interpolation that plotly does in chart. we are also re-sampling the logs at 100ms, as it is hard to decide what to do with the timestamp once you have multiple messages at different times being exported. I'll take a look at it

Williangalvani commented 4 months ago

Hi, could you try it again? your log is no longer accessible, so I can't compare directly

ntouev commented 4 months ago

Hi thanks for looking into that. Sure here is the log. https://drive.google.com/file/d/1xGwFS7I33BIpxaZwPSNQ5VpdIrcpljsk/view?usp=sharing