-
Notifications
You must be signed in to change notification settings - Fork 97
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
Clarification on //link/must_be_base_link
element
#700
Comments
Judging by the specification both tags would have slightly different behavior since However, there is enough overlap to make this quite redundant indeed and having multiple |
The only place I've seen it used is in Gazebo classic in the Simbody support classes. https://github.com/osrf/gazebo/blob/f54f95e7cad959d22d5af1549149da6e81c12bed/gazebo/physics/simbody/SimbodyLink.cc#L61. Conceptually, I think it's different from the canonical link, since the canonical link is simply the link to which the model frame ( Since it was only used for one physics engine, I'm in favor of deprecating it. If the need for a similar tag arises for a physics engine in the future, perhaps we can use custom elements instead. |
@azeey After reading through gazebosim/gz-physics#233 and considering your comment in #705 (comment) I'm actually wondering if it would be useful to not fully depreciate this element, but rather to replace it. What I was thinking was that, indeed, <link name="this_link" />
<joint name="fancy_joint" type="free">
<parent>world</parent>
<child>this_link</child>
</joint> A nice implication of this would be that it now becomes easy to spot errors in the pose graph of an SDF. Currently a SDF of the form <?xml version="1.0"?>
<sdf version="1.7">
<world name="my_world">
<model name="M1">
<link name="L1"/>
<link name="L2"/>
</model>
</world>
</sdf> is a bit ambiguous in the sense that it is unclear if the author intended to create two independently moving (free) links, or if the author has forgotten to add a link. Adding the On a sidenote, it would also make my life easier. In scikit-bot I have a feature that builds the pose graph by connecting all frames declared in the SDF using As a result, I have to walk over all declared frames after the graph(s) is/are connected and find connected components (afterwards, because I have to account for model nesting). Then, for each connected component, I have to insert a 6DoF connections (i.e. |
While addressing a downstream issue robotology-legacy/gym-ignition#385, I discovered the existence of
//link/must_be_base_link
. After checking upstream, I only found references to the specification, but I didn't find any place where this element is actually read.Is it used elsewhere? Should it be deprecated in favor of the new
//model/@canonical_link
attribute?Environment
Issue related to SDF specification.
Description
The text was updated successfully, but these errors were encountered: