Skip to content

Commit 3527cfb

Browse files
committed
add inertia parameters to the links
1 parent 910e203 commit 3527cfb

File tree

1 file changed

+7
-1
lines changed

1 file changed

+7
-1
lines changed

roboticstoolbox/models/DH/UR10.py

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -93,7 +93,13 @@ def __init__(self, symbolic=False):
9393

9494
for j in range(6):
9595
link = RevoluteDH(
96-
d=d[j], a=a[j], alpha=alpha[j], m=mass[j], r=center_of_mass[j], G=1
96+
d=d[j],
97+
a=a[j],
98+
alpha=alpha[j],
99+
m=mass[j],
100+
r=center_of_mass[j],
101+
G=1,
102+
I=inertia[j],
97103
)
98104
links.append(link)
99105

0 commit comments

Comments
 (0)