forked from RobotLocomotion/drake
-
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.
quasistatic iiwa grasping and pick-up demo (RobotLocomotion#8518)
* fixed debug mode assertion failures. * removed manual label in test build rule * iiwa pickup demo now works with new API. * code style * 1. checks final simulation state. 2. removed wrong comments from iiwa arm urdf. * buildify build file * passes Eigen::Quaternion to QuaternionToSpaceXYZ * documented test criteria * declare expected final position as const * compares object final position and orientation to expected values. * typo. * final end effector pose becomes an input to MakePlan(.). * replace deprecated rpy2quat * changes iiwa urdf file name * uses new RollPitchYaw class. * minor changes * replace tabs with spaces and add newline at EOF in .sdf files
- Loading branch information
Showing
8 changed files
with
1,130 additions
and
2 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,45 @@ | ||
<?xml version="1.0"?> | ||
<sdf version='1.6'> | ||
<model name='box_as_table'> | ||
|
||
<link name="box"> | ||
<pose frame=''>0 0 0.4 0 -0 0</pose> | ||
<visual> | ||
<geometry> | ||
<box> | ||
<size>0.5 0.5 0.8</size> | ||
</box> | ||
</geometry> | ||
<material name="green"> | ||
<ambient> 0.9 0.9 0.9 1</ambient> | ||
<diffuse> 0.9 0.9 0.9 1</diffuse> | ||
</material> | ||
</visual> | ||
|
||
<inertial> | ||
<mass>0.988882</mass> | ||
<inertia> | ||
<ixx>0.162992</ixx> | ||
<ixy>0</ixy> | ||
<ixz>0</ixz> | ||
<iyy>0.162992</iyy> | ||
<iyz>0</iyz> | ||
<izz>0.164814</izz> | ||
</inertia> | ||
</inertial> | ||
|
||
<collision> | ||
<max_contacts>10</max_contacts> | ||
<pose frame=''>0 0 0 0 -0 0</pose> | ||
<geometry> | ||
<box> | ||
<size>0.5 0.5 0.8</size> | ||
</box> | ||
</geometry> | ||
</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,128 @@ | ||
<?xml version="1.0"?> | ||
<sdf version='1.6'> | ||
<model name='dumbbell'> | ||
|
||
<link name="dumbbell"> | ||
<inertial> | ||
<mass>1</mass> | ||
<inertia> | ||
<ixx>0.05</ixx> | ||
<ixy>0</ixy> | ||
<ixz>0</ixz> | ||
<iyy>0.05</iyy> | ||
<iyz>0</iyz> | ||
<izz>0.05</izz> | ||
</inertia> | ||
</inertial> | ||
|
||
<pose frame=''>0 0 0 0 -0 0</pose> | ||
<!-- | ||
<visual> | ||
<pose frame=''>0 0 0 0 1.5708 0</pose> | ||
<geometry> | ||
<cylinder> | ||
<radius>0.015</radius> | ||
<length>0.07</length> | ||
</cylinder> | ||
</geometry> | ||
<material name="green"> | ||
<ambient> 0 1 0 1</ambient> | ||
<diffuse> 0 1 0 1</diffuse> | ||
</material> | ||
</visual> | ||
--> | ||
|
||
<visual> | ||
<pose frame=''>0.02 0.015 0 0 -0 0</pose> | ||
<geometry> | ||
<sphere> | ||
<radius>0.015</radius> | ||
</sphere> | ||
</geometry> | ||
<material name="green"> | ||
<ambient> 0 1 0 1</ambient> | ||
<diffuse> 0 1 0 1</diffuse> | ||
</material> | ||
</visual> | ||
|
||
<visual> | ||
<pose frame=''>0.02 -0.015 0 0 -0 0</pose> | ||
<geometry> | ||
<sphere> | ||
<radius>0.015</radius> | ||
</sphere> | ||
</geometry> | ||
<material name="green"> | ||
<ambient> 0 1 0 1</ambient> | ||
<diffuse> 0 1 0 1</diffuse> | ||
</material> | ||
</visual> | ||
|
||
<visual> | ||
<pose frame=''>-0.02 0.015 0 0 -0 0</pose> | ||
<geometry> | ||
<sphere> | ||
<radius>0.015</radius> | ||
</sphere> | ||
</geometry> | ||
<material name="green"> | ||
<ambient> 0 1 0 1</ambient> | ||
<diffuse> 0 1 0 1</diffuse> | ||
</material> | ||
</visual> | ||
|
||
<visual> | ||
<pose frame=''>-0.02 -0.015 0 0 -0 0</pose> | ||
<geometry> | ||
<sphere> | ||
<radius>0.015</radius> | ||
</sphere> | ||
</geometry> | ||
<material name="green"> | ||
<ambient> 0 1 0 1</ambient> | ||
<diffuse> 0 1 0 1</diffuse> | ||
</material> | ||
</visual> | ||
|
||
|
||
<collision> | ||
<pose frame=''>0.02 0.015 0 0 -0 0</pose> | ||
<geometry> | ||
<sphere> | ||
<radius>0.015</radius> | ||
</sphere> | ||
</geometry> | ||
</collision> | ||
|
||
<collision> | ||
<pose frame=''>0.02 -0.015 0 0 -0 0</pose> | ||
<geometry> | ||
<sphere> | ||
<radius>0.015</radius> | ||
</sphere> | ||
</geometry> | ||
</collision> | ||
|
||
<collision> | ||
<pose frame=''>-0.02 0.015 0 0 -0 0</pose> | ||
<geometry> | ||
<sphere> | ||
<radius>0.015</radius> | ||
</sphere> | ||
</geometry> | ||
</collision> | ||
|
||
<collision> | ||
<pose frame=''>-0.02 -0.015 0 0 -0 0</pose> | ||
<geometry> | ||
<sphere> | ||
<radius>0.015</radius> | ||
</sphere> | ||
</geometry> | ||
</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,79 @@ | ||
<?xml version="1.0"?> | ||
<sdf version='1.6'> | ||
<model name='dumbbell'> | ||
|
||
<link name="dumbbell"> | ||
<inertial> | ||
<mass>0.988882</mass> | ||
<inertia> | ||
<ixx>0.162992</ixx> | ||
<ixy>0</ixy> | ||
<ixz>0</ixz> | ||
<iyy>0.162992</iyy> | ||
<iyz>0</iyz> | ||
<izz>0.164814</izz> | ||
</inertia> | ||
</inertial> | ||
|
||
<pose frame=''>0 0 0 0 -0 0</pose> | ||
|
||
<visual> | ||
<pose frame=''>0 0 0 0 1.5708 0</pose> | ||
<geometry> | ||
<cylinder> | ||
<radius>0.015</radius> | ||
<length>0.07</length> | ||
</cylinder> | ||
</geometry> | ||
<material name="green"> | ||
<color rgba="0 1 0 1" /> | ||
</material> | ||
</visual> | ||
|
||
<!-- | ||
<visual> | ||
<pose frame=''>0.02 0 0 0 -0 0</pose> | ||
<geometry> | ||
<sphere> | ||
<radius>0.015</radius> | ||
</sphere> | ||
</geometry> | ||
<material name="green"> | ||
<color rgba="0 1 0 1" /> | ||
</material> | ||
</visual> | ||
<visual> | ||
<pose frame=''>-0.02 0 0 0 -0 0</pose> | ||
<geometry> | ||
<sphere> | ||
<radius>0.015</radius> | ||
</sphere> | ||
</geometry> | ||
<material name="green"> | ||
<color rgba="0 1 0 1" /> | ||
</material> | ||
</visual> | ||
--> | ||
|
||
<collision> | ||
<pose frame=''>-0.02 0 0 0 -0 0</pose> | ||
<geometry> | ||
<sphere> | ||
<radius>0.015</radius> | ||
</sphere> | ||
</geometry> | ||
</collision> | ||
|
||
<collision> | ||
<pose frame=''>0.02 0 0 0 -0 0</pose> | ||
<geometry> | ||
<sphere> | ||
<radius>0.015</radius> | ||
</sphere> | ||
</geometry> | ||
</collision> | ||
|
||
</link> | ||
|
||
</model> | ||
</sdf> |
Oops, something went wrong.