-
Notifications
You must be signed in to change notification settings - Fork 284
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
Publish 10 world stats msgs/sec instead of 5 #1163
Conversation
Signed-off-by: Ashton Larkin <[email protected]>
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I'm afraid we may be tweaking this hardcoded value often. We could consider exposing this as an option on ServerConfig
, and optionally as a command line option, but that may be overkill. Defaulting to something that makes the GUI usable makes sense to me.
It would be nice to remove hardcoded values whenever possible. We can make this adjustable on |
Codecov Report
@@ Coverage Diff @@
## ign-gazebo6 #1163 +/- ##
===============================================
+ Coverage 63.69% 63.72% +0.02%
===============================================
Files 256 256
Lines 20116 20116
===============================================
+ Hits 12813 12819 +6
+ Misses 7303 7297 -6
Continue to review full report at Codecov.
|
I'd say at least the comment would be a good idea. I'm fine exposing the parameter in a later PR. We may want to think a bit more about how to expose these "small" options, so that we don't bloat |
Signed-off-by: Ashton Larkin <[email protected]>
I left a comment in 145b177. We should wait to merge this until gazebosim/gz-gui#306 and #1163 are merged in order for the comment to make sense with the git history.
I've opened an issue for this (#1164). We can have the discussion there. |
Signed-off-by: Ashton Larkin <[email protected]> Signed-off-by: William Lew <[email protected]>
Signed-off-by: Ashton Larkin [email protected]
Addresses #1109 (comment)
Summary
The changes made in #1109 and gazebosim/gz-gui#306 result in the GUI listening to the world stats topic to receive play/pause confirmations from the server. The publisher of this topic is currently publishing 5 msgs/second, but I think it would be good to publish at a higher rate to decrease response times between a GUI play/pause button press and server confirmation.
Test it
Use these changes with #1109 and try pressing play/pause/step in the GUI. The GUI response times should be a little faster now.
Checklist
codecheck
passed (See contributing)Note to maintainers: Remember to use Squash-Merge