From 60dac130dde562307819335fbe1dba28c54de399 Mon Sep 17 00:00:00 2001 From: Shaun Edwards Date: Mon, 13 Oct 2014 00:37:12 -0400 Subject: [PATCH] Added floating joints to joint types ignored by publisher --- .../joint_state_publisher/joint_state_publisher | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/joint_state_publisher/joint_state_publisher/joint_state_publisher b/joint_state_publisher/joint_state_publisher/joint_state_publisher index 7e42518..064e57a 100755 --- a/joint_state_publisher/joint_state_publisher/joint_state_publisher +++ b/joint_state_publisher/joint_state_publisher/joint_state_publisher @@ -41,7 +41,7 @@ class JointStatePublisher(): continue if child.localName == 'joint': jtype = child.getAttribute('type') - if jtype == 'fixed': + if jtype == 'fixed' or jtype == 'floating': continue name = child.getAttribute('name') self.joint_list.append(name)