Skip to content

Commit 8c53476

Browse files
committed
Fix jindices
1 parent d8fe2fc commit 8c53476

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

roboticstoolbox/robot/ETS.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -262,7 +262,7 @@ def jindices(self) -> ndarray:
262262
>>> e = ET.Rz(jindex=1) * ET.tx(jindex=2) * ET.Rz(jindex=1) * ET.tx(1)
263263
>>> e.jointset()
264264
"""
265-
return array([self[j].jindex for j in self.joints()]) # type: ignore
265+
return array([j.jindex for j in self.joints()]) # type: ignore
266266

267267
@c_property
268268
def qlim(self):

0 commit comments

Comments
 (0)