-
Notifications
You must be signed in to change notification settings - Fork 67
Wire hand mesh into parallel gripper URDF and fix calibration #64
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Changes from 1 commit
b0c3203
f2fe1a6
d83b455
be551ac
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -15,7 +15,7 @@ | |
| finger_joint: | ||
| kinematic: | ||
| x: 0.0 | ||
| y: 0.0 | ||
| y: -0.005 | ||
| z: 0.1025 | ||
| roll: 0 | ||
| pitch: 0 | ||
|
|
||
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -14,14 +14,36 @@ limitations under the License. | |
|
|
||
| <robot xmlns:xacro="http://www.ros.org/wiki/xacro" name="parallel_gripper"> | ||
|
|
||
| <xacro:macro name="openarm_parallel_gripper" params="connected_to:='' arm_type arm_prefix:='' ee_type ee_inertials ee_kinematics ee_kinematics_link ee_joints_limits rpy_ee:='0 0 0' xyz_ee:='0 0 0' tcp_xyz:='0 0 0' tcp_rpy:='0 0 0' description_pkg:=openarm_description"> | ||
| <xacro:macro name="openarm_parallel_gripper" params="connected_to:='' arm_type arm_prefix:='' ee_type ee_inertials ee_kinematics ee_kinematics_link ee_joints_limits rpy_ee:='0 0 0' xyz_ee:='0 0 0' tcp_xyz:='0 0 0.1801' tcp_rpy:='0 0 0' description_pkg:=openarm_description"> | ||
|
|
||
| <xacro:property name="ee_prefix" default=""/> | ||
|
|
||
| <xacro:unless value="${arm_type == ''}"> | ||
| <xacro:property name="ee_prefix" value="openarm_${arm_prefix}" /> | ||
| </xacro:unless> | ||
|
|
||
| <link name="${ee_prefix}hand"> | ||
| <visual name="${ee_prefix}hand_visual"> | ||
| <xacro:openarm-ee-kinematics-link config="${ee_kinematics_link}" name="hand" /> | ||
| <geometry> | ||
| <mesh filename="package://${description_pkg}/assets/end_effector/parallel_link/meshes/visual/hand.dae" scale="0.001 0.001 0.001"/> | ||
| </geometry> | ||
| </visual> | ||
| <collision name="${ee_prefix}hand_collision"> | ||
| <xacro:openarm-ee-kinematics-link config="${ee_kinematics_link}" name="hand" /> | ||
| <geometry> | ||
| <mesh filename="package://${description_pkg}/assets/end_effector/parallel_link/meshes/collision/hand.stl" scale="0.001 0.001 0.001" /> | ||
| </geometry> | ||
| </collision> | ||
| </link> | ||
|
Comment on lines
+30
to
+44
Contributor
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. @oguzhanbzglu Thanks for the contribution!
Contributor
Author
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more.
Contributor
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Awesome, thanks for adding it! |
||
|
|
||
| <joint name="${ee_prefix}hand_joint" type="fixed"> | ||
| <xacro:property name="fj" value="${ee_kinematics['finger_joint']['kinematic']}" /> | ||
|
oguzhanbzglu marked this conversation as resolved.
Outdated
|
||
| <origin xyz="0 0 ${fj.z}" rpy="0 0 0" /> | ||
| <parent link="${connected_to}" /> | ||
| <child link="${ee_prefix}hand" /> | ||
| </joint> | ||
|
oguzhanbzglu marked this conversation as resolved.
|
||
|
|
||
| <link name="${ee_prefix}hand_tcp" /> | ||
|
|
||
| <joint name="${ee_prefix}hand_tcp_joint" type="fixed"> | ||
|
oguzhanbzglu marked this conversation as resolved.
|
||
|
|
||

Uh oh!
There was an error while loading. Please reload this page.