-
Notifications
You must be signed in to change notification settings - Fork 46
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
Feature/rosmon diag #74
Conversation
Resource checker tests passes.
Rule to determine level of diagnostics is coded / tested.
Default prefix is the node name.
@adrienbarral The build is failing because |
Hi! Thanks for the PR, this looks highly interesting. I'll have a deeper look next week when I have time. In my mind it would make sense to integrate this into rosmon itself rather than having a separate node. What do you think? |
I have successfully tested it on my project. @xqms About integrating it into rosmon itself, maybe it would be less clear how to setup the several parameters (prefix, limits...). |
As usual there are pro and cons to integrate this code directly into rosmon node, but I personally see more "cons" arguments Cons :
PRO :
So if you want to integrate it in your node why not. But me, I prefer to put this kind of "accessories features" out of the main code. Because you masterize the rosmon code, maybe it will be straight forward for you to add it into the main node. |
I would like to offer another pro: per-node configuration could be done directly in the launch file, like
which I think feels nicer (and I need to keep less places in sync, e.g. when changing node names). Regarding your cons: Is there any drawback to enabling the feature? Why not have it on by default? |
I really like your way to define per-node resource usage directly in launch file. I think I will have time to move my code into a class embedded into rosmon node this end of week. So I hope to be able to update the PR next Monday. So I will :
|
Sounds good to me! 👍 One thing you should take care about is to use a |
Closing in favor of #76, let's continue the discussion there. |
I did this small node that analyze data published by rosmon to produce ros diagnostics.
We use it on our projects to have a diagnostic on the CPU or memory usage of a node.
This modification was done as a new node in a new package of the rosmon metapackage.