8000 change ERobot to Robot · naren200/robotics-toolbox-python@aaf4232 · GitHub
[go: up one dir, main page]

Skip to content

Commit aaf4232

Browse files
committed
change ERobot to Robot
1 parent 8bc097a commit aaf4232

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

roboticstoolbox/robot/ETS.py

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -570,22 +570,22 @@ def __deepcopy__(self, memo):
570570
return result
571571

572572
def plot(self, *args, **kwargs):
573-
from roboticstoolbox.robot.ERobot import ERobot, ERobot2
573+
from roboticstoolbox.robot.Robot import Robot, Robot2
574574

575575
if isinstance(self, ETS):
576-
robot = ERobot(self)
576+
robot = Robot(self)
577577
else:
578-
robot = ERobot2(self)
578+
robot = Robot2(self)
579579

580580
robot.plot(*args, **kwargs)
581581

582582
def teach(self, *args, **kwargs):
583-
from roboticstoolbox.robot.ERobot import ERobot, ERobot2
583+
from roboticstoolbox.robot.Robot import Robot, Robot2
584584

585585
if isinstance(self, ETS):
586-
robot = ERobot(self)
586+
robot = Robot(self)
587587
else:
588-
robot = ERobot2(self)
588+
robot = Robot2(self)
589589

590590
robot.teach(*args, **kwargs)
591591

0 commit comments

Comments
 (0)
0