Added floating joints to joint types ignored by publisher

This commit is contained in:
Shaun Edwards 2014-10-13 00:37:12 -04:00 committed by Ioan Sucan
parent 8a26b2ac9e
commit 60dac130dd
1 changed files with 1 additions and 1 deletions

View File

@ -41,7 +41,7 @@ class JointStatePublisher():
continue continue
if child.localName == 'joint': if child.localName == 'joint':
jtype = child.getAttribute('type') jtype = child.getAttribute('type')
if jtype == 'fixed': if jtype == 'fixed' or jtype == 'floating':
continue continue
name = child.getAttribute('name') name = child.getAttribute('name')
self.joint_list.append(name) self.joint_list.append(name)