-
Notifications
You must be signed in to change notification settings - Fork 44
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
Fix running plugins with bad world name #107
Conversation
Signed-off-by: Louise Poubel <louise@openrobotics.org>
Signed-off-by: Louise Poubel <louise@openrobotics.org>
Codecov Report
@@ Coverage Diff @@
## ign-gui2 #107 +/- ##
============================================
+ Coverage 60.43% 60.88% +0.45%
============================================
Files 16 16
Lines 2108 2135 +27
============================================
+ Hits 1274 1300 +26
- Misses 834 835 +1
Continue to review full report at Codecov.
|
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.
LGMT with tests passing, thanks for the hot fix!
Signed-off-by: Nate Koenig <nate@openrobotics.org>
Revert pull request #107 due to breaking changes in Blueprint
Signed-off-by: Louise Poubel <louise@openrobotics.org>
An unforeseen consequence of #104 + gazebosim/gz-sim#278 is that users who already had old
~/.ignition/gazebo/gui.config
files wouldn't be able to load the worlds that now have no<gui>
element, because of the topic mismatch.So this PR adds a check and ignores topics and services that are explicitly defined, but don't match
worldName
.For example, when the user has
<topic>/world/default/stats</topic>
on theirgui.config
, and tries to loadshapes.sdf
, we load the plugin with the correct/world/shapes/stats
topic, and print a warning.