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

restore missing timestamp #92

Closed
wants to merge 1 commit into from
Closed

restore missing timestamp #92

wants to merge 1 commit into from

Conversation

AndreaBorgia-Abo
Copy link
Contributor

The virtual setTimestamp method in the base FileLogger class already handles the timestamp nicely, so the fix for #91 is simply to remove the barebones implementation from the SDLogger class.
Now the first record of each block is always "PID" 0 with the timestamp.
Please consider merging, thanks.

@AndreaBorgia-Abo
Copy link
Contributor Author

Please hold off pulling this: I have to recheck if the higher volume of log output is causing OBD PIDs to be skipped during the loop.

@AndreaBorgia-Abo
Copy link
Contributor Author

Ok, go ahead, no problems with this PR.
Turned out to be a timing issue: my car doesn't like too intense polling, apparently.... 250ms loop time works much better than the default 100ms.

@stanleyhuangyc
Copy link
Owner

SD data format is CSV based and includes a timestamp at first element for all lines.

@AndreaBorgia-Abo
Copy link
Contributor Author

AndreaBorgia-Abo commented May 20, 2019 via email

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

Successfully merging this pull request may close these issues.

None yet

2 participants