Change default backend logic, for ERobot with geometry select Swift
@@ -1253,6 +1253,8 @@ class Robot(ABC, DynamicsMixin, IKMixin):
default = "pyplot"
elif isinstance(self, rtb.ERobot2):
default = "pyplot2"
+ elif isinstance(self, rtb.ERobot) and self.hasgeometry:
+ default = "swift"
if backend is not None:
backend = backend.lower()
