-
Notifications
You must be signed in to change notification settings - Fork 302
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
Improve documentation on how to replace Scene3D plugin #1698
Conversation
Signed-off-by: Jose Luis Rivero <[email protected]>
Signed-off-by: Jose Luis Rivero <[email protected]>
Signed-off-by: Jose Luis Rivero <[email protected]>
SDF code for all these can be found in: | ||
https://github.com/gazebosim/gz-sim/blob/ff1c82b41e548dfdc8076374f9500db2df2c35a1/examples/worlds/minimal_scene.sdf#L29-L128 |
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.
SDF code for all these can be found in: | |
https://github.com/gazebosim/gz-sim/blob/ff1c82b41e548dfdc8076374f9500db2df2c35a1/examples/worlds/minimal_scene.sdf#L29-L128 | |
SDF code for all these can be found in: | |
https://github.com/gazebosim/gz-sim/blob/gz-sim7/examples/worlds/minimal_scene.sdf#L29-L128 |
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 was unsure about making this change: it would be great since it will get possible bug fixes/udpates on gz-sim7 branch but also could include potential non-wanted changes done to that file or reordering breaking the selection of lines. @jennuine what do you think?
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 agree, I think it's better to point to a specific commit so that it ensures the ordering is the same
SDF code for all these can be found in: | ||
https://github.com/gazebosim/gz-sim/blob/ff1c82b41e548dfdc8076374f9500db2df2c35a1/examples/worlds/minimal_scene.sdf#L29-L128 |
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 agree, I think it's better to point to a specific commit so that it ensures the ordering is the same
src/gui/Gui.cc
Outdated
msg += " SDF code to replace GzScene3D is available at " + | ||
" https://github.com/gazebosim/gz-sim/blob/gz-sim7/Migration.md\n" |
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 would add this to the the string above, where msg
is being constructed (lines 440-442). Also, instead of printing a link, I would just say "see migration guide for more details" but this is only my opinion.
For example, lines 440-442:
std::string msg{
"The [GzScene3D] GUI plugin has been removed since Garden "
"(see migration guide for more details). "
"Loading the following plugins instead:\n"};
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've moved the message to that lines in 8325cf5. I would prefer to facilitate people the link so migration can work just by clicking, we (developers) tend to be lazy. Not strong on this if you really prefer to avoid URLs.
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 not strong on this either so sounds good to me
Signed-off-by: Jose Luis Rivero <[email protected]>
src/gui/Gui.cc
Outdated
msg += " SDF code to replace GzScene3D is available at " + | ||
" https://github.com/gazebosim/gz-sim/blob/gz-sim7/Migration.md\n" |
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 not strong on this either so sounds good to me
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.
LGTM, left one minor comment
Co-authored-by: Jenn Nguyen <[email protected]>
Signed-off-by: Jose Luis Rivero <[email protected]>
Codecov Report
@@ Coverage Diff @@
## gz-sim7 #1698 +/- ##
===========================================
- Coverage 65.07% 63.90% -1.17%
===========================================
Files 354 334 -20
Lines 28732 26344 -2388
===========================================
- Hits 18697 16836 -1861
+ Misses 10035 9508 -527
|
@ahcorde can you give this another look? |
Signed-off-by: Alejandro Hernández Cordero <[email protected]>
Following gazebosim/gz-gui#485:
Fixes gazebosim/gz-gui#484