-
Notifications
You must be signed in to change notification settings - Fork 298
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
Issue2806 #2828
base: gz-sim9
Are you sure you want to change the base?
Issue2806 #2828
Conversation
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.
This diff is absolutely massive for such a small change. I've left some architectural feedback here: #2806 (comment)
Also when committing please sign off with git commit -s
.
I think we can break these down into small PRs.
I think the big diff is also partly due to indentation changes, e.g. https://github.com/gazebosim/gz-sim/pull/2828/files?w=1 shows diff without whitespace changes. Can you undo indentation changes? |
f60df98
to
7fbc51c
Compare
Signed-off-by: GauravKumar9920 <[email protected]>
Codecov ReportAttention: Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## gz-sim9 #2828 +/- ##
===========================================
- Coverage 68.95% 68.94% -0.01%
===========================================
Files 345 345
Lines 33332 33354 +22
===========================================
+ Hits 22983 22997 +14
- Misses 10349 10357 +8 ☔ View full report in Codecov by Sentry. 🚀 New features to boost your workflow:
|
Signed-off-by: GauravKumar9920 <[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.
This is looking a lot better. Most of my comments are more to do with syntax and style. I have one tiny knit regarding returning an incompletely constructed object. For now we should just continue with construction as is. In Jetty we can consider throwing an error.
Co-authored-by: Arjo Chakravarty <[email protected]> Signed-off-by: Gaurav Kumar <[email protected]>
Co-authored-by: Arjo Chakravarty <[email protected]> Signed-off-by: Gaurav Kumar <[email protected]>
Signed-off-by: GauravKumar9920 <[email protected]>
Signed-off-by: GauravKumar9920 <[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.
LGTM! Thanks for iterating.
🦟 Bug fix and New feature
Fixes #2806
Summary
Previously, when launching multiple GZ Sim servers, for instance, using the commands
gz sim -s shapes.sdf
andgz sim -s default.sdf
,If we had used the command
gz sim -g ‘fileName’
,It would not have considered the
fileName
parameter and would have launched any of the servers at random.This pr introduces a new feature that allows you to -
gz sim -g ‘fileName’
to launch the GUI, provided that the server(s) are operational.gz sim -g
. In case there's just one server running it will simply launch the gui of the same.