Skip to content
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

[jsk_tools] Seperate sanity check frequency and diagnostics publish frequency #1745

Merged
merged 4 commits into from Jun 23, 2022

Conversation

708yamaguchi
Copy link
Member

Problem

sanity diagnostics status in rqt_robot_monitor turns on and off.

What I did

In this PR, I separate topic and node check frequency and diagnostics publish frequency.

  • Check topic and node at low frequency to reduce CPU usage
  • Publish diagnostics at high frequency to avoid the above problem.

Currently, when I run roslaunch jsk_tools sample_sanity_diagnostics.launch, /diagnostics topic is published at more than 1 Hz but check_topic() and check_node() methods are called at 0.1 Hz.

@708yamaguchi
Copy link
Member Author

708yamaguchi commented Jun 22, 2022

With this PR, sanity diagnostics are always shown on PR1040, fetch15 and fetch1075 rqt robot monitor.

@iory
Copy link
Member

iory commented Jun 22, 2022

I checked the following branch and it worked well.
knorth55#17

@k-okada k-okada merged commit 723b517 into jsk-ros-pkg:master Jun 23, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants