Prismatic joint error

asked 2018-08-21 10:48:55 -0500

TJ gravatar image

updated 2018-08-21 15:39:22 -0500

gvdhoorn gravatar image

I get the following error when I launch my xacro file on rviz.

[ WARN] [1534863398.838344776]: Joint state with name: "standcamera" was received but not found in URDF

My urdf.xacro:

<?xml version="1.0"?>
<robot xmlns:xacro="http://ros.org/wiki/xacro"
       name="environment">
  <!--kyoto specific models -->
  <xacro:include filename="$(find world_description)/environments/stand.urdf.xacro"/>
  <xacro:include filename="$(find world_description)/environments/holder.urdf.xacro"/>
  <link name="world" />

  <!-- table -->
  <xacro:stand name="verticalstand" parent="world">
    <origin xyz="0 0 0.75" rpy="0.0 0.0 -1.57"/>
  </xacro:stand>

  <!--cameraholder -->
  <xacro:holder name="camera_holder" parent="verticalstand_link">
    <origin xyz="0.35 0.83 1.323" rpy="0.0 1.59 0.0"/>
  </xacro:holder>

  <joint name="standcamera" type="prismatic">
    <parent link="verticalstand_link" />
    <child link = "camera_holder_link" />
    <axis xyz="0 0 1"/>
    <limit effort="10.0" lower="-0.38" upper="0.38" velocity="0.5"/>
    <origin xyz="0.35 0.84 1.323" rpy="0.0 0.0 0.0" />
  </joint>
</robot>
edit retag flag offensive close merge delete

Comments

I have the same issue. Did you already find a solution?

Felix Widmaier gravatar image Felix Widmaier  ( 2018-09-03 05:58:48 -0500 )edit

Yep. It was due to another joint that was defined in one of the urdfs at the same cordinate. Share your urdfs if you are not able to fix it. Will try to help.

TJ gravatar image TJ  ( 2018-09-04 11:06:18 -0500 )edit

Thanks, I found my issue in the meantime (there was an if condition due to which the joint was created with a different name...)

Felix Widmaier gravatar image Felix Widmaier  ( 2018-09-04 11:21:44 -0500 )edit

Oh okay. Cool. And yes it also depends on the correct names of the links.

TJ gravatar image TJ  ( 2018-09-04 11:29:31 -0500 )edit

Hi, I had the same problem. the following error was mine.

[ WARN] [1594007080.806254507]: Joint state with name: "base_l_wheel_joint" was received but not found in URDF

but I didn't defined the joint name: base_l_wheel_joint in Xacro file

so I don't know how to fix this, could you help me?

Yong Cheng gravatar image Yong Cheng  ( 2020-07-05 22:58:36 -0500 )edit

@Yong-Cheng did you figure out the problem? I am getting a similar error.

ryanc gravatar image ryanc  ( 2020-11-16 16:13:22 -0500 )edit