-
Notifications
You must be signed in to change notification settings - Fork 41
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
Kinematics Simulator is CPU-heavy even when idle #493
Comments
I think publishing joint_states enables us to test some ROS nodes. |
|
I don't think so (at least, I'm against removing).
I think we should become careful about this. |
Ultimately there likely is some kind of edge case in which this function is strictly needed (e.g. adding However, it is still sad that we are using so much computing resources to do so little. |
The kinematics simulator takes around 50% of my CPU even when the program is idle (waiting at the top-level prompt).
This is because the
*timer-job*
is still publishing joint states and updating the viewport at around 100Hz.https://github.com/jsk-ros-pkg/jsk_pr2eus/blob/master/pr2eus/robot-interface.l#L257-L270
https://github.com/jsk-ros-pkg/jsk_pr2eus/blob/master/pr2eus/robot-interface.l#L351-L353
But do we need this kind of frequency when the simulator is not processing any commands?
Can we throttle this or just stop updating when there are no awaiting commands?
ref. 6192514
The text was updated successfully, but these errors were encountered: