Skip to content
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

iiwa14 with robotiq hand_e #199

Open
Miftahur92 opened this issue Jul 31, 2024 · 2 comments
Open

iiwa14 with robotiq hand_e #199

Miftahur92 opened this issue Jul 31, 2024 · 2 comments

Comments

@Miftahur92
Copy link

I am trying to create a use a robotiq hande gripper with iiwa14. I have used the iiwa14 urdf file provided in this package. I have create robotiq hande description packages and control packages. When I run the robotiq hande gipper packages alone without attaching it to iiwa14 URDF, it runs perfectly fine (image attached)
Screenshot from 2024-07-31 12-15-09
But when I added the gripper URDF in the iiwa14 URDF, I can only see the gripper base link. Rviz shows an error that the there is no joint between the fingers and the gripper base (image attached)
Screenshot from 2024-07-31 12-09-08

This is the modified iiwa14 URDF:
`

<!-- include the lbr iiwa macro -->
<xacro:include filename="$(find lbr_description)/urdf/iiwa14/iiwa14_description.xacro" />

<xacro:arg name="robot_name" default="lbr" />
<xacro:arg name="sim" default="true" />
<xacro:arg
    name="system_parameters_path"
    default="$(find lbr_ros2_control)/config/lbr_system_parameters.yaml" />

<!-- fixed to world, see http://classic.gazebosim.org/tutorials?tut=ros_urdf&cat=connect_ros -->
<link name="world" />

<!--joint
    between world and link_0-->
<joint name="world_joint" type="fixed">
    <parent link="world" />
    <child link="link_0" />
</joint>

<!-- iiwa -->
<xacro:iiwa14
    robot_name="$(arg robot_name)"
    sim="$(arg sim)"
    system_parameters_path="$(arg system_parameters_path)" />

<!-- include the robotiq hand-e -->
<xacro:include filename="$(find robotiq_hande_description)/urdf/robotiq_hande_gripper.urdf.xacro" />


<link name="gripper_root_link">
</link>

<joint name="gripper_root_joint" type="fixed">
    <parent link="link_ee" />
    <child link = "gripper_root_link" />
    <origin xyz="0.0 0.0 0.0" rpy="0.0 0.0 0.0" />
</joint>

<!-- gripper -->
<xacro:robotiq_hande_gripper prefix="" parent="gripper_root_link" >
    <origin xyz="0.0 0 0.005" rpy="0 0 0"/>
</xacro:robotiq_hande_gripper>

`

Can I anyone please help me to debug the issues?

@mhubii
Copy link
Member

mhubii commented Sep 8, 2024

hi @Miftahur92 , the error suggests a missing transformation. Maybe the robot state publisher doesn't receive the joint states correctly?

@mhubii
Copy link
Member

mhubii commented Sep 10, 2024

related to #169

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants