RoboRemo Users' Forum
Would you like to react to this message? Create an account in a few clicks or log in to continue.

text log item stuck/hangs/stopp log

2 posters

Go down

text log item stuck/hangs/stopp log Empty text log item stuck/hangs/stopp log

Post by ludaaakris Wed May 11, 2016 1:03 pm

Hello roboremo freaks,

first: GREAT TOOL, THANKS ALOT!!!

HW: STM32/HC-06/LGG2 Android 4.4.2
Problem:
The text log stop working after time (~2 min). Data recieved by roborremo with BT all 0.5 sec. It shows the last recieved data/text in text log, but hangs.
I try to change id of text fields, i also use. Delete other items, build Project again.. but the problem is stil there.
All other items: text fields work with any Problem.

Strange, one week before, it works and no hanging. Now, after a totaly refresh of my mobile (from cyanogenmod cm12.1 [lolipop 5.0.2] back to stock [Android 4.4.2] i have this Problem.

Need textlog, becaus of many many values of gyro sens(in future)

peace (sorry 4 bad english Rolling Eyes , i'm from ger)
Kris

ludaaakris

Posts : 10
Join date : 2016-05-11

Back to top Go down

text log item stuck/hangs/stopp log Empty Re: text log item stuck/hangs/stopp log

Post by Admin Wed May 11, 2016 7:04 pm

Hi,
So you send data every 0.5 sec. How long is each string? It may be a text log buffer getting full, I have to check that.
Try to send every 1 sec and see if the working time increases to 4 min (please let me know the result).

Thank you,
Victor

Admin
Admin

Posts : 150
Join date : 2016-03-08

https://roboremo.forumotion.com

Back to top Go down

text log item stuck/hangs/stopp log Empty Re: text log item stuck/hangs/stopp log

Post by ludaaakris Thu May 12, 2016 9:56 am

Hey,
String size: 9 signs + dertimination char '\n'
example= "t1_value1"+'\n'
TEST with string size of 10, (switch "n1 value1"+'\n'  "n2 value1"+'\n' in time delta_t)
restart app every test round

RESULTS:
delta_t in [ms]     stuck after:
1000                           needs too long
500                             needs too long
200                               3   min 39 sec
100                              120 sec
  50                               60 sec  
  25                               35 sec

peace
kris

ludaaakris

Posts : 10
Join date : 2016-05-11

Back to top Go down

text log item stuck/hangs/stopp log Empty Re: text log item stuck/hangs/stopp log

Post by Admin Thu May 12, 2016 1:55 pm

Hi again,
Thank you for the detailed data!
It is a bug in the app. It does not set the buffer max length for the text log, and the default max length seems to depend on the phone / Android version.
I will fix this bug in the next app version.

All the best,
Victor

Admin
Admin

Posts : 150
Join date : 2016-03-08

https://roboremo.forumotion.com

Back to top Go down

text log item stuck/hangs/stopp log Empty Re: text log item stuck/hangs/stopp log

Post by ludaaakris Thu May 12, 2016 2:19 pm

Yehaaa;) Thank you!!

All the best
Kris

ludaaakris

Posts : 10
Join date : 2016-05-11

Back to top Go down

text log item stuck/hangs/stopp log Empty Re: text log item stuck/hangs/stopp log

Post by Sponsored content


Sponsored content


Back to top Go down

Back to top

- Similar topics

 
Permissions in this forum:
You cannot reply to topics in this forum