You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I spent a lot of time for experiments, logs analizing, etc... Finally I found and fixed main, but not the only one reason of this issue.
Until recently, as I discovered processing of each position took too much time (more than a second). Therefore with frequent update period (about 1-3 seconds) they do not have time to be processed. The main part of this time spent to write point to GPX file, because there are too many write operations with small pieces of data in undelying self-written XML writer class.
To fix this, I replaced RFile class with buffered RFileBuf in xml writer (ea233e1) and also done the same operation in logger (artem78/s60-logger@29da797). After this writing became much faster. Now point processing takes not more than several tens of milliseconds and not slow down the program.
That`s nice, but two problems remained:
Sometimes at 1 second update interval it`s one second higher than expected.
When update interval be changed, actual update interval for one second bigger than expected. I think, this may be due to that I set position update timeout value one second bigger than current update interval.
The problem is that actual position update interval is different than have been set. For example, look at the listed log:
The blue numbers is the actual interval. As you can see in this example it is often in 2-3 times bigger than must be.
Full log file: log_20200309_145837.txt
The text was updated successfully, but these errors were encountered: