stanleyhuangyc / Freematics

Official source code repository for Freematics
https://freematics.com
425 stars 346 forks source link

Last Datalogger update #97

Open Abelardo94 opened 5 years ago

Abelardo94 commented 5 years ago

I've been working with Freematics One Plus in the last year, and updating to the last version I've seen some things that have improved but some things that I don't like.

Please if you could help me how to solve this. Best regards.

AndreaBorgia-Abo commented 5 years ago

Glad to see I'm not the only one :) https://github.com/stanleyhuangyc/Freematics/issues/91

I don't have a solution for the sampling issue, though. I had a feeling something was off but I had no time to test it.

stanleyhuangyc commented 5 years ago

Timestamp is now logged in CSV files (on microSD).

stanleyhuangyc commented 5 years ago

Sampling frequency varies with different ECUs. Are you testing on the same vehicle?

AndreaBorgia-Abo commented 5 years ago

@stanleyhuangyc I only have one car and, no, Datalogger is not logging to CSV files: that is Telelogger you have in mind. This bug is about Datalogger.

Abelardo94 commented 5 years ago

I'm working calculating a timestamp because i couldn't find it but I'm gonna prove with PID(0) The new problem I have is that datalogger works just the first time is connected, so the problem is that I have to disconnect it and connect again, but I'm working with a lot of vehicles so I can't do that, please do you have some solution?

AndreaBorgia-Abo commented 5 years ago

@Abelardo94 apply this PR and you'll have the timestamp back. No ideas for the disconnect issue, sorry :(

Abelardo94 commented 5 years ago

@AndreaBorgia-Abo thank you very much