Skip to content

Commit 1adfca2

Browse files
committed
Change default backend logic, for ERobot with geometry select Swift
1 parent 1a9c727 commit 1adfca2

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

roboticstoolbox/robot/Robot.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1253,6 +1253,8 @@ def _get_graphical_backend(self, backend=None):
12531253
default = "pyplot"
12541254
elif isinstance(self, rtb.ERobot2):
12551255
default = "pyplot2"
1256+
elif isinstance(self, rtb.ERobot) and self.hasgeometry:
1257+
default = "swift"
12561258

12571259
if backend is not None:
12581260
backend = backend.lower()

0 commit comments

Comments
 (0)