Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

timestamp calculated correctly? #43

Open
chanshing opened this issue May 31, 2021 · 0 comments
Open

timestamp calculated correctly? #43

chanshing opened this issue May 31, 2021 · 0 comments

Comments

@chanshing
Copy link

Is the following line in the Java implementation correct?: https://github.com/digitalinteraction/openmovement/blob/72c992b0ea524275d898e86181c5b38a9622c529/Software/AX3/cwa-convert/java/src/newcastle/cwa/CwaBlock.java#L257

offsetStart is already divided by freq in https://github.com/digitalinteraction/openmovement/blob/72c992b0ea524275d898e86181c5b38a9622c529/Software/AX3/cwa-convert/java/src/newcastle/cwa/CwaBlock.java#L236
so it would seem that it's being divided twice. For reference, I checked the C version and it seems that it is not divided again there: https://github.com/digitalinteraction/openmovement/blob/72c992b0ea524275d898e86181c5b38a9622c529/Software/AX3/cwa-convert/c/main.c#L567

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant