Prismatic joint error
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>
I have the same issue. Did you already find a solution?
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.
Thanks, I found my issue in the meantime (there was an if condition due to which the joint was created with a different name...)
Oh okay. Cool. And yes it also depends on the correct names of the links.
Hi, I had the same problem. the following error was mine.
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 did you figure out the problem? I am getting a similar error.