Skip to content

Commit c03922e

Browse files
committed
mimic link numbering behaviour of ERobot
allows fkine_all in Robot class to work
1 parent 539654f commit c03922e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

roboticstoolbox/robot/DHRobot.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -77,7 +77,7 @@ def __init__(
7777
if isinstance(link, DHLink):
7878
# got a link
7979
all_links.append(link)
80-
link.number = self._n
80+
link.number = self._n + 1
8181
link.jindex = self._n
8282
self._n += 1
8383

0 commit comments

Comments
 (0)