Skip to content

Commit a443cb3

Browse files
committed
Add default for valid qlim, Fix #276
1 parent 63cc7e0 commit a443cb3

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

roboticstoolbox/robot/ERobot.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -264,6 +264,7 @@ def visit_link(link, jindex):
264264
j += 1
265265
self._qlim = qlim
266266

267+
self._valid_qlim = False
267268
for i in range(self.n):
268269
if any(qlim[:, i] != 0) and not any(isnan(qlim[:, i])):
269270
self._valid_qlim = True
@@ -1311,7 +1312,7 @@ def URDF(cls, file_path, gripper=None):
13111312
raise TypeError("bad argument passed as gripper")
13121313

13131314
links, name, urdf_string, urdf_filepath = ERobot.URDF_read(file_path)
1314-
1315+
print(cls)
13151316
return cls(
13161317
links,
13171318
name=name,

0 commit comments

Comments
 (0)