Floating joint in URDF?
Hi,
I have a question regarding the floating joint type in the URDF description.
I have two robot parts which are connected by a passive and non-rigid element. In kinetic, I managed to describe this "joint" with a floating joint (and publishing the tf of the two links this floating joint connects in another node). Both tf trees where successfully published by robot_state_publisher
, although not connected to each other, which was ok.
In melodic, I get the warning:
Converting unknown joint type of joint 'loose_joint' into a fixed joint
Apparently floating joints are no longer used? Is there any alternative?
I've though about publishing the two robot parts seperately, but URDF does not allow two seperate tf trees. Putting two different URDFs in one launch file is also not possible since robot_description only takes one file.
Any help appreciated!
EDIT: joint in urdf:
<joint name="loose_joint" type="floating">
<parent link="joint1"/>
<child link="joint2"/>
</joint>
Not an answer, but there is no requirement necessarily to only have a single
robot_description
. Namespaces or remapping could be used to provide instances of nodes which need it access to their own specificrobot_description
.What would not be possible would be to point a single node to two (or more) different
robot_description
parameters. But that is a different issue.If you have no need for everything to be connected, it's possible to have multipe
robot_state_publisher
instances each with their ownrobot_description
.@gvdhoorn thanks I did not know that! This basically solves my problem.
I see no changes to how floating joints are handled by the RSP btw between Kinetic and Melodic. This seems like a strange thing to have changed.
Could you include the part of your URDF where you are using the floating joint?
Edit: ros/robot_model#188 seems related.