How is the correct way to attach the base link to world?
I am trying to move my mobile robot in gazebo and rviz, but when I try to create a floating joint to attach the base link to world link, like this:
<link name="world"/>
<joint name="world__${base_link}" type="floating">
<origin xyz="0 0 0" rpy="0 0 0"/>
<parent link="world"/>
<child link="${base_link}"/>
</joint>
<!-- Base Link -->
<link name="${base_link}">
I receive the warning message:
"[ WARN] [1605271103.966351116]: Converting unknown joint type of joint 'world__base_link' into a fixed joint"
and the rviz can not transform this joint (I have checked with tf view_frames and the world link doesn't appear). When I change this joint to "fixed", everything works well, but my robot is not able to move arround the world like in gazebo.
Is there another way to do it?