Skip to content

Commit 056da02

Browse files
committed
formatted
1 parent 0746350 commit 056da02

File tree

1 file changed

+6
-3
lines changed

1 file changed

+6
-3
lines changed

roboticstoolbox/robot/ERobot.py

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -316,7 +316,7 @@ def __str__(self) -> str:
316316
else:
317317
jname = ""
318318
table.row(
319-
#link.jindex,
319+
# link.jindex,
320320
k,
321321
color + ee + link.name,
322322
jname,
@@ -334,7 +334,9 @@ def __str__(self) -> str:
334334
s += f" (by {self.manufacturer})"
335335
s += f", {self.n} joints ({self.structure})"
336336
if len(self.grippers) > 0:
337-
s += f", {len(self.grippers)} gripper{'s' if len(self.grippers) > 1 else ''}"
337+
s += (
338+
f", {len(self.grippers)} gripper{'s' if len(self.grippers) > 1 else ''}"
339+
)
338340
if self.nbranches > 1:
339341
s += f", {self.nbranches} branches"
340342
if self._hasdynamics:
@@ -652,7 +654,8 @@ def _gripper_ets(self, gripper: Gripper) -> ETS:
652654
"""
653655
Privade method which will find the ETS of a gripper
654656
"""
655-
return gripper.links[0].ets * ET.SE3(gripper.tool)
657+
# return gripper.links[0].ets * ET.SE3(gripper.tool)
658+
return ETS(ET.SE3(gripper.tool))
656659

657660
@lru_cache(maxsize=32)
658661
def ets(

0 commit comments

Comments
 (0)