-
Notifications
You must be signed in to change notification settings - Fork 276
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
Enable StoreResolvedURIs when loading SDF #2349
Conversation
The |
Looking for feedback on this. Any objections to allowing Server to continue loading with presence of URI errors? |
I'm not sure this is a good idea. The |
The other option is to not return the So with |
Maybe we can define a parameter in |
Added a new parameter in ServerConfig, |
src/cmd/cmdsim.rb.in
Outdated
@@ -178,6 +178,9 @@ COMMANDS = { 'sim' => | |||
" --version Print Gazebo version information. \n"\ | |||
"\n"\ | |||
" -z [arg] Update rate in Hertz. \n"\ | |||
"\n"\ | |||
" --block-on-sdf-errors [arg] Stop loading the server in presence of SDF \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 don't know if we should make this available for end users. When I was suggesting the feature, I only had our unit tests in mind where we would use it only in a narrowly scoped use case (invalid mesh path). My concern is that users can now use this flag and would be confused when things don't work as expected. Is there an actual use case for enabling this?
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.
More of a nice to have. I have sdf files with a few uri paths that don't exist on my filesystem and this lets me launch gazebo with only the models with valid URIs instead of exiting. I can also just comment them out.
I removed the changes here. We can revisit if we have a better or more common use case. afd6845
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 think there's an unnecessary diff and DCO needs to be fixed. Otherwise, LGTM!
src/cmd/cmdsim.rb.in
Outdated
@@ -178,6 +178,7 @@ COMMANDS = { 'sim' => | |||
" --version Print Gazebo version information. \n"\ | |||
"\n"\ | |||
" -z [arg] Update rate in Hertz. \n"\ | |||
"\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.
Remove this diff?
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.
removed.
Signed-off-by: Ian Chen <[email protected]>
Signed-off-by: Ian Chen <[email protected]>
Signed-off-by: Ian Chen <[email protected]>
This reverts commit ddf7f46. Signed-off-by: Ian Chen <[email protected]>
Signed-off-by: Ian Chen <[email protected]>
Signed-off-by: Ian Chen <[email protected]>
Signed-off-by: Ian Chen <[email protected]>
Signed-off-by: Ian Chen <[email protected]>
8b9657b
to
822ffcd
Compare
fixed and force pushed |
Signed-off-by: Ian Chen <[email protected]>
Signed-off-by: Ian Chen <[email protected]>
fixed a couple of windows failures in 7488f7e. |
🎉 New feature
Summary
Replaces #2323 - see description in that PR.
This PR is needed so that bullet-featherstone plugin in gz-physics can load meshes with relative path URIs.
Checklist
codecheck
passed (See contributing)Note to maintainers: Remember to use Squash-Merge and edit the commit message to match the pull request summary while retaining
Signed-off-by
messages.