-
Notifications
You must be signed in to change notification settings - Fork 95
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
DOC: clarify //pose/@relative_to #666
Conversation
Signed-off-by: FirefoxMetzger <sebastian@wallkoetter.net>
Signed-off-by: FirefoxMetzger <sebastian@wallkoetter.net>
Signed-off-by: FirefoxMetzger <sebastian@wallkoetter.net>
Signed-off-by: FirefoxMetzger <sebastian@wallkoetter.net>
RTR from my side. This morning I found some more docs on scoping behavior and when implicit frames are created. Once this is clear the current pose semantics become much more obvious. I tried to reflect that in the docs of the spec. |
Signed-off-by: FirefoxMetzger <sebastian@wallkoetter.net>
Actually, I am not sure if the current description mentions all the entities that generate implicit frames. For example, if I have a //sensor and in particular a //sensor[@type=camera] then there are one (or two) poses that can be specified, which may or may not use @relative_to. Does this mean that their names, too, must be unique in the current scope? Can an object be placed relative to a //sensor? What about other elements like //visual, or //collision? |
I think it's just a bad sample, but the CI pipeline really doesn't seem to stable for my PRs here ... it's been building for two days now.
Regarding my earlier question, I think I figured it out for //collision since the test file Still not sure about a //sensor. @azeey Any thoughts on my doc update otherwise? |
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 just started looking through this and will resume later when I have a chance. I've made a few comments for now.
Thanks for improving the documentation here!
Framebearing - The element defines an implicit frame within it's containing scope. Signed-off-by: FirefoxMetzger <sebastian@wallkoetter.net>
Signed-off-by: FirefoxMetzger <sebastian@wallkoetter.net>
The 1.7 proposal for pose frame semantics discusses explicit and implicit frames in section 1.2 and states that only link, joint, model and world have implicit frames
the name uniqueness rule in SDFormat 1.7 (see section 3.2 of the proposal) is rather broad, requiring unique names among all sibling elements, even if they don't have frames.
The name of a |
this is correct
it is similar to |
Signed-off-by: FirefoxMetzger <sebastian@wallkoetter.net>
Ok, I've finished looking through your improvements to the 1.7 documentation and just have one last comment there There are some changes in 1.8, particularly with regard to the |
Signed-off-by: FirefoxMetzger <sebastian@wallkoetter.net>
@scpeters Yep, I added docs for that in the v1.8 spec
|
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.
just one last change and then I think it will be good to go
Signed-off-by: FirefoxMetzger <sebastian@wallkoetter.net>
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.
looks good to me. what do you think @azeey?
Codecov Report
@@ Coverage Diff @@
## sdf11 #666 +/- ##
=======================================
Coverage 88.08% 88.08%
=======================================
Files 73 73
Lines 11023 11023
=======================================
Hits 9710 9710
Misses 1313 1313 Continue to review full report at Codecov.
|
Signed-off-by: FirefoxMetzger <sebastian@wallkoetter.net>
Signed-off-by: FirefoxMetzger <sebastian@wallkoetter.net>
b9aca26
to
e76bee4
Compare
Signed-off-by: FirefoxMetzger <sebastian@wallkoetter.net>
Signed-off-by: FirefoxMetzger <sebastian@wallkoetter.net>
@azeey Once the tests pass, I'm happy with this PR unless you have any further suggestions/comments. |
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.
Just a couple more tweaks. Looks great!
Signed-off-by: FirefoxMetzger <sebastian@wallkoetter.net>
Signed-off-by: FirefoxMetzger <sebastian@wallkoetter.net>
…mat into improve-relative-to
Signed-off-by: FirefoxMetzger <sebastian@wallkoetter.net>
of the element that contains the pose. For exceptions to this rule and | ||
more details on the default behavior, see | ||
http://sdformat.org/tutorials?tut=pose_frame_semantics and | ||
http://sdformat.org/tutorials?tut=pose_frame_semantics |
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.
these links are now identical
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.
Oops, they were supposed to be pointing to the 1.5 and 1.7 versions respectively.
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.
Yep, you pasted/put versioned linkes @azeey , but the CI chain is unhappy about the fragment character (#
) in the link and breaks if it is there. I removed them but didn't realize that it makes the links the same.
We could patch it and remove the second link.
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.
See: #702
This pull request has been mentioned on Gazebo Community. There might be relevant details there: https://community.gazebosim.org/t/new-ignition-releases-2022-03-25-fortress-edifice-citadel/1343/1 |
Thanks to @azeey and @scpeters pointing me to relevant documentation my understanding of how the pose semantics are supposed to work has improved significantly. I thought I use this knowledge for some good and try to clarify the spec. Please double-check if I got it right.