-
Notifications
You must be signed in to change notification settings - Fork 100
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Signed-off-by: Aditya <[email protected]>
- Loading branch information
1 parent
72b77c2
commit 72a7303
Showing
4 changed files
with
324 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
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,131 @@ | ||
<?xml version="1.0" ?> | ||
<!--- | ||
Model consists of 4 cubes places symmetrically | ||
in the XY plane. This model is used to verify the | ||
"ign sdf --inertial-stats" tool . | ||
+y | ||
│ | ||
┌─┼─┐ | ||
L3 │ │ │(0,5,0) | ||
└─┼─┘ | ||
│ | ||
L2┌───┐ │ ┌───┐L1 | ||
────┼┼┼┼┼───┼─────┼┼┼┼┼─── +x | ||
└───┘ │ └───┘ | ||
(-5,0,0) │ (5,0,0) | ||
┌─┼─┐ | ||
│ │ │(0,-5,0) | ||
└─┼─┘ | ||
L4│ | ||
--> | ||
<sdf version="1.6"> | ||
|
||
<model name="test_model"> | ||
<pose>0 0 0 0 0 0</pose> | ||
|
||
<link name="link_1"> | ||
<pose>5 0 0 0 0 0</pose> | ||
<inertial> | ||
<mass>6.0</mass> | ||
<inertia> | ||
<ixx>1</ixx> | ||
<iyy>1</iyy> | ||
<izz>1</izz> | ||
</inertia> | ||
</inertial> | ||
<collision name="collision_1"> | ||
<geometry> | ||
<box> | ||
<size>1 1 1</size> | ||
</box> | ||
</geometry> | ||
</collision> | ||
<visual name="visual_1"> | ||
<geometry> | ||
<box> | ||
<size>1 1 1</size> | ||
</box> | ||
</geometry> | ||
</visual> | ||
</link> | ||
|
||
<link name="link_2"> | ||
<pose>-5 0 0 0 0 0</pose> | ||
<inertial> | ||
<mass>6.0</mass> | ||
<inertia> | ||
<ixx>1</ixx> | ||
<iyy>1</iyy> | ||
<izz>1</izz> | ||
</inertia> | ||
</inertial> | ||
<collision name="collision_2"> | ||
<geometry> | ||
<box> | ||
<size>1 1 1</size> | ||
</box> | ||
</geometry> | ||
</collision> | ||
<visual name="visual_2"> | ||
<geometry> | ||
<box> | ||
<size>1 1 1</size> | ||
</box> | ||
</geometry> | ||
</visual> | ||
</link> | ||
|
||
<link name="link_3"> | ||
<pose>0 5 0 0 0 0</pose> | ||
<inertial> | ||
<mass>6.0</mass> | ||
<inertia> | ||
<ixx>1</ixx> | ||
<iyy>1</iyy> | ||
<izz>1</izz> | ||
</inertia> | ||
</inertial> | ||
<collision name="collision_3"> | ||
<geometry> | ||
<box> | ||
<size>1 1 1</size> | ||
</box> | ||
</geometry> | ||
</collision> | ||
<visual name="visual_3"> | ||
<geometry> | ||
<box> | ||
<size>1 1 1</size> | ||
</box> | ||
</geometry> | ||
</visual> | ||
</link> | ||
|
||
<link name="link_4"> | ||
<pose>0 -5 0 0 0 0</pose> | ||
<inertial> | ||
<mass>6.0</mass> | ||
<inertia> | ||
<ixx>1</ixx> | ||
<iyy>1</iyy> | ||
<izz>1</izz> | ||
</inertia> | ||
</inertial> | ||
<collision name="collision_4"> | ||
<geometry> | ||
<box> | ||
<size>1 1 1</size> | ||
</box> | ||
</geometry> | ||
</collision> | ||
<visual name="visual_4"> | ||
<geometry> | ||
<box> | ||
<size>1 1 1</size> | ||
</box> | ||
</geometry> | ||
</visual> | ||
</link> | ||
</model> | ||
|
||
</sdf> |