warn when joints have no limits
This commit is contained in:
parent
ea856ed7c1
commit
c1fb1b9e78
|
@ -54,6 +54,7 @@ class JointStatePublisher():
|
|||
minval = float(limit.getAttribute('lower'))
|
||||
maxval = float(limit.getAttribute('upper'))
|
||||
except:
|
||||
rospy.logwarn("%s is not fixed, nor continuous, but limits are not specified!" % name)
|
||||
continue
|
||||
|
||||
safety_tags = child.getElementsByTagName('safety_controller')
|
||||
|
|
Loading…
Reference in New Issue