-
Notifications
You must be signed in to change notification settings - Fork 41
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
bullet-featherstoneFix how links are flattened in ConstructSdfModel (#…
…562) * Add test to show seg-fault with unsorted links Signed-off-by: Shameek Ganguly <[email protected]> Signed-off-by: Steve Peters <[email protected]> Signed-off-by: Ian Chen <[email protected]> Co-authored-by: Steve Peters <[email protected]> Co-authored-by: Ian Chen <[email protected]>
- Loading branch information
1 parent
3b7a7c8
commit 1260ef2
Showing
3 changed files
with
134 additions
and
64 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,36 @@ | ||
<?xml version="1.0" ?> | ||
<sdf version="1.6"> | ||
<world name="default"> | ||
<model name="unsorted_links"> | ||
<link name="child_linkC" /> | ||
<link name="parent_link" /> | ||
<link name="child_linkA" /> | ||
<link name="child_linkB" /> | ||
<joint name="world_joint" type="fixed"> | ||
<parent>world</parent> | ||
<child>parent_link</child> | ||
</joint> | ||
<joint name="joint1" type="prismatic"> | ||
<parent>parent_link</parent> | ||
<child>child_linkA</child> | ||
<axis> | ||
<xyz>0 0 1</xyz> | ||
</axis> | ||
</joint> | ||
<joint name="joint2" type="prismatic"> | ||
<parent>child_linkA</parent> | ||
<child>child_linkB</child> | ||
<axis> | ||
<xyz>0 0 1</xyz> | ||
</axis> | ||
</joint> | ||
<joint name="joint3" type="prismatic"> | ||
<parent>child_linkB</parent> | ||
<child>child_linkC</child> | ||
<axis> | ||
<xyz>0 0 1</xyz> | ||
</axis> | ||
</joint> | ||
</model> | ||
</world> | ||
</sdf> |