openmovementproject / openmovement

Open Movement devices are miniature, embeddable, open source sensors developed at Newcastle University, UK. The source code for the firmware and software is available under a BSD 2-clause license, and the hardware (PCB designs, layouts and schematics), enclosure designs and documentation are available under a Creative Commons 3.0 BY Attribution License.
https://openmovement.dev
146 stars 76 forks source link

Software/AX3/cwa-convert/java output is not matching with Software/AX3/cwa-convert/c #46

Closed vgandikota83 closed 2 years ago

vgandikota83 commented 2 years ago

Hi,

As per the update of issue 45, i downloaded the latest code and tried to convert the CWA file.

Below are the observations.

The Java output is not matching with C output. Output values are completely different. C output contains 2244360 records and java output contains 224320 records Java output contains duplicate timestamps but C output doesn't have any duplicates

danielgjackson commented 2 years ago

This is a duplicate of Issue 45, and that issue already covers these points:

The one or two affected sectors represent a tiny fraction of any file, and will not materially affect any epoch-based calculations.

I am closing this issue as the Java code is not actively maintained, and the underlying mechanism used is not going to change in the near future. (But pull requests fixing this are welcome)