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

robot model error in rviz #8

Open
Abduoit opened this issue Oct 17, 2017 · 4 comments
Open

robot model error in rviz #8

Abduoit opened this issue Oct 17, 2017 · 4 comments

Comments

@Abduoit
Copy link

Abduoit commented Oct 17, 2017

Hi

I want to run the arm in rviz,

This is my launch file

<launch>
    <node name="arbotix" pkg="arbotix_python" type="arbotix_driver" output="screen">
        <rosparam file="$(find pxpincher_config)/config/pincher_arm.yaml" command="load" />
    </node>

  <!-- Now load robot model -->
  <param name="robot_description" command="$(find xacro)/xacro.py '$(find pxpincher_description)/urdf/pincher_arm.urdf.xacro'"/>
  <node name="robot_state_pub" pkg="robot_state_publisher" type="robot_state_publisher"/>    


  <node name="gripper_controller" pkg="arbotix_controllers" type="gripper_controller">
      <param name="model" value="singlesided"/>
      <param name="invert" value="true"/>
      <param name="pad_width" value="0.0254"/>


  </node>

</launch>

But I get robot model error in rviz as follow

gripper_link
No transform from [gripper_link] to [base_link]
@Abduoit
Copy link
Author

Abduoit commented Oct 18, 2017

I solved it by removing the following lines from the file pxpincher_description/urdf/turtlebot_arm.xacro

I do not know is that correct or not, I am afraid it will give me error when I want to do further arm control.

    <!-- fake gripper_link joint gives us a free servo!
         this makes us 5DOF and saves you $44.90
         that's a lot of coin! -->
    <link name="gripper_link"/>
    <joint name="gripper_link_joint" type="revolute">
      <origin xyz="0 0 0.112" rpy="0 -1.57 0"/>
      <parent link="arm_wrist_flex_link"/>
      <child link="gripper_link"/>
      <limit effort="30" velocity="1" lower="-3.14" upper="3.14"/>
      <axis xyz="1 0 0"/>
    </joint>

@huseyin26es
Copy link

I have problem like yours but nobody didnt answer correctly.

@bluetulip89
Copy link

Hello, I have the same problem where i am getting the robotmodel error. Did any one found any solution for this ??

@naseef139
Copy link

can anyone solve the robot model status error in Rviz..??????

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

4 participants