10000
We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 8858377 commit 2957822Copy full SHA for 2957822
roboticstoolbox/robot/DHLink.py
@@ -109,9 +109,9 @@ def __init__(
109
110
def __add__(self, L):
111
if isinstance(L, DHLink):
112
- return rp.SerialLink([self, L])
+ return rp.DHRobot([self, L])
113
114
- elif isinstance(L, rp.SerialLink):
+ elif isinstance(L, rp.DHRobot):
115
nlinks = [self]
116
117
# TODO - Should I do a deep copy here a physically copy the Links
@@ -120,7 +120,7 @@ def __add__(self, L):
120
for i in range(L.n):
121
nlinks.append(L.links[i])
122
123
- return rp.SerialLink(
+ return rp.DHRobot(
124
nlinks,
125
name=L.name,
126
manufacturer=L.manuf,
0 commit comments