From c1fb1b9e782fe1d15c0cd1bbdadd9a524e12cf10 Mon Sep 17 00:00:00 2001 From: Michael Ferguson Date: Tue, 28 Oct 2014 21:52:45 -0700 Subject: [PATCH] warn when joints have no limits --- .../joint_state_publisher/joint_state_publisher | 1 + 1 file changed, 1 insertion(+) diff --git a/joint_state_publisher/joint_state_publisher/joint_state_publisher b/joint_state_publisher/joint_state_publisher/joint_state_publisher index 3f575b7..7e42518 100755 --- a/joint_state_publisher/joint_state_publisher/joint_state_publisher +++ b/joint_state_publisher/joint_state_publisher/joint_state_publisher @@ -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')