-
Notifications
You must be signed in to change notification settings - Fork 194
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
Cleaning and extending yarp::os::RateThread #1207
Comments
I'm currently working right now on RateThread in the process of refactoring the way clock and network clock are handled in yarp. |
Yes we can chat f2f on how to proceed on this. |
Hi @diegoferigo, thank you for your help. Extending the statistics may be useful (just consider performance hit given that a run() function is called at high rate), which features do you think may be important? About the code refactoring, I tend to avoid touching code that works... the fact that it was not touched in many years is a positive sign :) however, I am not against improvements, therefore I am open to discussions. |
@lornat75 The advanced statistics I'm developing is optional and will be similar to what @marcoaccame implemented in the icub-main:checkFreqOfTRQmeasures branch. I'll keep backward compatibility and I don't plan to add any overhead to the current implementation. Initially, this class will be used for debugging robotology/icub-tech-support#449, and hence it will be tested externally to Any comment about? |
Small comment regarding current master/develop state of RateThread, and fits under the It's apparently been there for over 12 years now, but I've only recently detected the apparent type inconsistency between rate [ms] constructor RateThread(int period); and setter bool setRate(int period);, vs getter double getRate();. I understand get should return the set rate so there type should match (there are other methods to retrieve estimates, e.g. Via examples such as this one (gist) I've seen Windows 10 with PS: Is/should |
This and more done at #1718 |
We have to check if #1718 fixed one or more issues related to |
Note Cleaning up old issues and pull requests I opened over the past years that are now outdated or stale. If this is still relevant, feel free to reopen it or create a new one with updated details. Thanks! |
Attempting to debug the hardware fault described in robotology/icub-tech-support#449, I'm digging into the
RateThread
& friends code. Consideringgit-blame
the last major edits look very old, and in the meantime several new features (includingC++11
support) have been included intoyarp
.I'm considering to clean and comment the code, and to enhance the statistic analysis. I'm aware this is a very delicate section and before proceeding I'd like to know if something blocking on this portion of code exists.
cc @drdanz @lornat75 @traversaro
The text was updated successfully, but these errors were encountered: