-
Notifications
You must be signed in to change notification settings - Fork 40
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add test to show seg-fault with unsorted links
Test for #562. Signed-off-by: Steve Peters <[email protected]>
- Loading branch information
Showing
2 changed files
with
81 additions
and
0 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,40 @@ | ||
<?xml version="1.0" ?> | ||
<sdf version="1.6"> | ||
<world name="default"> | ||
<plugin | ||
filename="gz-sim-physics-system" | ||
name="gz::sim::systems::v0::Physics"> | ||
</plugin> | ||
<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> |