forked from pangtao22/quasistatic_simulator
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add models for box lifting with the dual-Jaco and torso (pangtao22#8)
- Loading branch information
1 parent
7fe9aa1
commit 7776f8f
Showing
8 changed files
with
976 additions
and
1 deletion.
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,115 @@ | ||
<?xml version="1.0"?> | ||
<sdf version="1.7"> | ||
<model name="large_box"> | ||
<!-- The model for a solid box of uniform density. --> | ||
<link name="box"> | ||
<inertial> | ||
<mass>5.0</mass> | ||
<inertia> | ||
<ixx>0.13333333333333336</ixx> | ||
<ixy>0</ixy> | ||
<ixz>0</ixz> | ||
<iyy>0.10416666666666666</iyy> | ||
<iyz>0</iyz> | ||
<izz>0.10416666666666666</izz> | ||
</inertia> | ||
</inertial> | ||
|
||
<visual name="box_visual"> | ||
<geometry> | ||
<box> | ||
<size>0.30 0.40 0.40</size> | ||
</box> | ||
</geometry> | ||
<material> | ||
<diffuse>0.9 0.9 0.9 0.9</diffuse> | ||
</material> | ||
</visual> | ||
|
||
<collision name="collision"> | ||
<geometry> | ||
<box> | ||
<size>0.30 0.40 0.40</size> | ||
</box> | ||
</geometry> | ||
<surface> | ||
<friction> | ||
<ode> | ||
<mu>0.5</mu> | ||
<mu2>0.5</mu2> | ||
</ode> | ||
</friction> | ||
</surface> | ||
</collision> | ||
|
||
<collision name="minus_x_lower_left_corner"> | ||
<pose> -0.15 -0.20 -0.20 0 0 0</pose> | ||
<geometry> | ||
<sphere> | ||
<radius>1e-7</radius> | ||
</sphere> | ||
</geometry> | ||
<surface> | ||
<friction> | ||
<ode> | ||
<mu>0.5</mu> | ||
<mu2>0.5</mu2> | ||
</ode> | ||
</friction> | ||
</surface> | ||
</collision> | ||
|
||
<collision name="minus_x_lower_right_corner"> | ||
<pose> 0.15 -0.20 -0.20 0 0 0</pose> | ||
<geometry> | ||
<sphere> | ||
<radius>1e-7</radius> | ||
</sphere> | ||
</geometry> | ||
<surface> | ||
<friction> | ||
<ode> | ||
<mu>0.5</mu> | ||
<mu2>0.5</mu2> | ||
</ode> | ||
</friction> | ||
</surface> | ||
</collision> | ||
|
||
<collision name="plus_x_lower_left_corner"> | ||
<pose> -0.15 0.20 -0.20 0 0 0</pose> | ||
<geometry> | ||
<sphere> | ||
<radius>1e-7</radius> | ||
</sphere> | ||
</geometry> | ||
<surface> | ||
<friction> | ||
<ode> | ||
<mu>0.5</mu> | ||
<mu2>0.5</mu2> | ||
</ode> | ||
</friction> | ||
</surface> | ||
</collision> | ||
|
||
<collision name="plus_x_lower_right_corner"> | ||
<pose> 0.15 0.20 -0.20 0 0 0</pose> | ||
<geometry> | ||
<sphere> | ||
<radius>1e-7</radius> | ||
</sphere> | ||
</geometry> | ||
<surface> | ||
<friction> | ||
<ode> | ||
<mu>0.5</mu> | ||
<mu2>0.5</mu2> | ||
</ode> | ||
</friction> | ||
</surface> | ||
</collision> | ||
|
||
</link> | ||
</model> | ||
</sdf> |
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,46 @@ | ||
directives: | ||
- add_directives: | ||
file: package://quasistatic_simulator/ground.yml | ||
|
||
- add_model: | ||
name: jaco_left | ||
file: package://quasistatic_simulator/j2s7s300_arm_sphere_link_collisions_v2.sdf | ||
|
||
- add_model: | ||
name: jaco_right | ||
file: package://quasistatic_simulator/j2s7s300_arm_sphere_link_collisions_v2.sdf | ||
|
||
- add_model: | ||
name: torso | ||
file: package://quasistatic_simulator/torso_0.4_0.1_0.5.sdf | ||
|
||
- add_frame: | ||
name: world_left_arm_offset | ||
X_PF: | ||
base_frame: world | ||
translation: [0, 0.28, 0] | ||
|
||
- add_frame: | ||
name: world_right_arm_offset | ||
X_PF: | ||
base_frame: world | ||
translation: [0, -0.28, 0] | ||
|
||
- add_frame: | ||
name: world_torso | ||
X_PF: | ||
base_frame: world | ||
translation: [-0.03, 0, 0.20] | ||
rotation: !Rpy {deg: [0., 0.0,90.0]} | ||
|
||
- add_weld: | ||
parent: world_left_arm_offset | ||
child: jaco_left::base | ||
|
||
- add_weld: | ||
parent: world_right_arm_offset | ||
child: jaco_right::base | ||
|
||
- add_weld: | ||
parent: world_torso | ||
child: torso::base |
43 changes: 43 additions & 0 deletions
43
models/dual_jaco_torso_sphere_collision_push_no_ground.yml
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,43 @@ | ||
directives: | ||
- add_model: | ||
name: jaco_left | ||
file: package://quasistatic_simulator/j2s7s300_arm_sphere_link_collisions_v2.sdf | ||
|
||
- add_model: | ||
name: jaco_right | ||
file: package://quasistatic_simulator/j2s7s300_arm_sphere_link_collisions_v2.sdf | ||
|
||
- add_model: | ||
name: torso | ||
file: package://quasistatic_simulator/torso_0.4_0.1_0.5.sdf | ||
|
||
- add_frame: | ||
name: world_left_arm_offset | ||
X_PF: | ||
base_frame: world | ||
translation: [0, 0.28, 0] | ||
|
||
- add_frame: | ||
name: world_right_arm_offset | ||
X_PF: | ||
base_frame: world | ||
translation: [0, -0.28, 0] | ||
|
||
- add_frame: | ||
name: world_torso | ||
X_PF: | ||
base_frame: world | ||
translation: [-0.03, 0, 0.20] | ||
rotation: !Rpy {deg: [0., 0.0, 90.0]} | ||
|
||
- add_weld: | ||
parent: world_left_arm_offset | ||
child: jaco_left::base | ||
|
||
- add_weld: | ||
parent: world_right_arm_offset | ||
child: jaco_right::base | ||
|
||
- add_weld: | ||
parent: world_torso | ||
child: torso::base |
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
Oops, something went wrong.