-
Notifications
You must be signed in to change notification settings - Fork 9
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
Use yarp-telemetry
to store the yarprobotinterface
log
#143
Comments
The limit of 10000 lines can be changed to a different number (or even unlimited) in the 'preferences' menu of the gui. I'd happy to discuss any other limitations /improvements if you have other needs. |
I don't think that using yarp-telemetry is a good idea for the log. |
Yes, I am aware of that. In the past, we had some stability issues when setting a large limit. Associated discussion robotology/community#558
Note that this could be just for storing the logs, we were imagining it as another listener on the associated log port. It could just take care of saving the log in chunks, without the user intervention. A string, in the end, is basically a vector of integers. On the other hand, I see that the length is not fixed, but I suppose we can circumvent this limitation |
Adding the logging to the telemetry is doable but it would complicate a little bit the architecture, since all the other quantities are logged via attaching remote control boards or via nwc (odometry). |
In this case, it doesn't make any sense to use yarp-telemetry, unless you are interested in reading the logs in matlab. The yarp logger is already split into a library and an executable (actually 2 executables, we also have the console version). |
I see! I would say that the end goal would be to have the possibility to store logs continuously, when needed, without the intervention of the user. I guess the choice of the method comes as a second thing. I was pretty aware of how
This is a good point. Dropping here the discussion for future references robotology/community#478 |
This is more a request for discussion.
Recently, in order to debug a long-standing issue (robotology/icub-tech-support#673), we have a strong need to store the log file coming from the robot
yarprobotinterface
. The common tool to do so would be theyarplogger
. Unfortunately, this has the disadvantage that it can only store a limited amount of lines, and usually above the 10000 lines it is pretty unusable. In the specific case mentioned above, this limitation is even stronger considering that we are trying to debug a problem that may occur after hours of robot usage.During a recent demo, @maggia80 had the idea of using
yarp-telemetry
to store the textual data produced byyarprobotinterface
. With this issue I would like to discuss this possibility.@Nicogene @AlexAntn @traversaro @pattacini
The text was updated successfully, but these errors were encountered: