-
Notifications
You must be signed in to change notification settings - Fork 486
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Test if joint state is loaded for a model
Because it's currently not loaded.
- Loading branch information
1 parent
29111d9
commit b9d93b1
Showing
2 changed files
with
71 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,57 @@ | ||
<?xml version="1.0" ?> | ||
<sdf version="1.7"> | ||
<world name="default"> | ||
<!-- A global light source --> | ||
<include> | ||
<uri>model://sun</uri> | ||
</include> | ||
<model name="model_3"> | ||
<pose>0 0 0 0 0 0</pose> | ||
<link name="link_1"> | ||
<visual name="link_1_box"> | ||
<pose>0 0.5 0 0 0 0</pose> | ||
<geometry> | ||
<box> | ||
<size>0.125 0.95 0.125</size> | ||
</box> | ||
</geometry> | ||
</visual> | ||
</link> | ||
<link name="link_2"> | ||
<visual name="link_2_visual"> | ||
<pose>0 1.5 0 0 0 0</pose> | ||
<geometry> | ||
<box> | ||
<size>0.125 0.95 0.125</size> | ||
</box> | ||
</geometry> | ||
</visual> | ||
</link> | ||
<joint name="joint_1" type="revolute"> | ||
<parent>world</parent> | ||
<child>link_1</child> | ||
<axis> | ||
<xyz>0 0 1</xyz> | ||
</axis> | ||
</joint> | ||
<joint name="joint_2" type="revolute"> | ||
<parent>link_1</parent> | ||
<child>link_2</child> | ||
<axis> | ||
<xyz>0 0 1</xyz> | ||
</axis> | ||
<pose>0 1 0 0 0 0</pose> | ||
</joint> | ||
</model> | ||
<state world_name="default"> | ||
<model name="model_3"> | ||
<joint name="joint_1"> | ||
<angle axis=0>0.7854</angle> | ||
</joint> | ||
<joint name="joint_2"> | ||
<angle axis=0>0.7854</angle> | ||
</joint> | ||
</model> | ||
</state> | ||
</world> | ||
</sdf> |