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'))
|
minval = float(limit.getAttribute('lower'))
|
||||||
maxval = float(limit.getAttribute('upper'))
|
maxval = float(limit.getAttribute('upper'))
|
||||||
except:
|
except:
|
||||||
|
rospy.logwarn("%s is not fixed, nor continuous, but limits are not specified!" % name)
|
||||||
continue
|
continue
|
||||||
|
|
||||||
safety_tags = child.getElementsByTagName('safety_controller')
|
safety_tags = child.getElementsByTagName('safety_controller')
|
||||||
|
|
Loading…
Reference in New Issue