-
Notifications
You must be signed in to change notification settings - Fork 12
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
data collection #6
Comments
Hello,
1. The polling code (which sits on a thread) that reads the values from the
device is not timer based. That is, it will read as and when the thread has
context.
You could put in a timer to read at set intervals, but I think this would
cause too much "jitter" and you may lose fluidity when moving the device
about.
Alternatively you can read the values and if the newer read values are lets
say 5% or more off from the previously read values, then you know these
values are not duplicate. This should cut down on the frequency of obtained
values.
I don't believe these changes should be in the core library as these
routines should remain low level.
2. Numerous ways of doing this. Best use the csv writer from the standard
library: https://docs.python.org/3.4/library/csv.html
I plan to update the library at some stage and introduce some of these
things above. Hope this helps!
…On Fri, Jul 20, 2018 at 2:56 AM, rjsdn102 ***@***.***> wrote:
thank you for your code.
but i have some questions for this project.
1. Too many duplicate data values are measured.
2. How can I save the measured data to a file such as .txt or .csv?
I'm beginner of this project, so i need your help.
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
<#6>, or mute the
thread
<https://github.com/notifications/unsubscribe-auth/AbXRvHj2TevaW4KDqlkHmilc6uBz3Ugxks5uITjDgaJpZM4VXVmD>
.
|
Thank you for your advice. I always thank you for this project. |
Pleasure. I need to get back to you on this. I am currently moving house so
pretty busy at the moment. I aim to revisit the entire project soon. Off
hand it should be possible as all you must do is create 3 tracker objects
with 3 separate UUID and read from them. Does this make sense?
Thanks
…On Thu, 26 Jul 2018 9:07 am rjsdn102, ***@***.***> wrote:
Thank you for your advice.
I have one more question, sorry.
I want to use 2 or 3 more module in real time but I can use only one
module with bluetooth.
Do you have an idea for using 2 or 3 more module by bluetooth in real time?
I always thank you for this project.
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
<#6 (comment)>,
or mute the thread
<https://github.com/notifications/unsubscribe-auth/AbXRvJtI-lzufTyVf35FBYvN4KDLj5itks5uKXi9gaJpZM4VXVmD>
.
|
I understand your situation. |
thank you for your code.
but i have some questions for this project.
I'm beginner of this project, so i need your help.
The text was updated successfully, but these errors were encountered: