Skip to content

Commit d6d3bf3

Browse files
committed
Display joint number not name in the table
1 parent bd7e087 commit d6d3bf3

File tree

1 file changed

+5
-4
lines changed

1 file changed

+5
-4
lines changed

roboticstoolbox/robot/ERobot.py

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -301,10 +301,11 @@ def __str__(self):
301301
s = " \u2295 " + s
302302

303303
if link.isjoint:
304-
if link._joint_name is not None:
305-
jname = link._joint_name
306-
else:
307-
jname = link.jindex
304+
# if link._joint_name is not None:
305+
# jname = link._joint_name
306+
# else:
307+
# jname = link.jindex
308+
jname = link.jindex
308309
else:
309310
jname = ''
310311
table.row(

0 commit comments

Comments
 (0)