check if joint before adding qlim
@@ -1759,6 +1759,7 @@ class URDF(URDFType):
# joint limit
try:
+ if childlink.isjoint:
childlink.qlim = [joint.limit.lower, joint.limit.upper]
except AttributeError:
# no joint limits provided
