-
Notifications
You must be signed in to change notification settings - Fork 98
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
//joint/axis/use_parent_model_frame
does not fail fast or issue a warning in SDFormat 1.7?
#327
Comments
some history on this: As of libsdformat 2.3.0, the parser would fail hard and print an The behavior was changed further in 1f9156f (bitbucket pull request 449) to stop ignoring unrecognized elements and instead copy them and print an We could consider moving back to either of these behaviors (ignore and warn, or fail and error) in |
We'll probably have to check |
Not to feature creep, but another option would be to make the behavior configurable 😇 I can imagine even the same application using different behaviors at different times. For example, you may want to be more forgiving when loading an entire world file, but more strict when inserting a single model. |
Will do a quick PR to see if #481 addressed this issue. @chapulina Does Steven's work address your request for configuration? (I assume so, but just wanna check!) |
Confirmed and encoded in #490 |
Ran across this here:
RobotLocomotion/drake#13758 (review)
Specifically, here:
https://github.com/RobotLocomotion/drake/blob/ab20bf25d9e9c05f861d7b6905cd6ef4dd9950c7/examples/multibody/four_bar/four_bar.sdf#L249
(note that
//sdf/@version="1.7"
)Perhaps it did print out a console warning... will need to confirm.
Ideally, though, this would eventually cause things to fail fast. Perhaps in SDFormat 1.8, we can make custom elements much more strict? (e.g. it must be namespaced?)
FYI @scpeters @azeey
The text was updated successfully, but these errors were encountered: