@@ -466,7 +466,7 @@ def revolutejoints(self):
466
466
.. note:: Fixed joints, that maintain a constant link relative pose,
467
467
are not included. ``len(self.structure) == self.n``.
468
468
469
- :seealso: :func:`Link.isrevolute`, :func:`prismaticjoints`
469
+ :seealso: :func:`Link.isrevolute`, :func:`prismaticjoints`
470
470
"""
471
471
return [link .isrevolute for link in self if link .isjoint ]
472
472
@@ -1088,7 +1088,7 @@ def qlim(self):
1088
1088
:rtype: ndarray(2,n)
1089
1089
:exception ValueError: unset limits for a prismatic joint
1090
1090
1091
- Limits are extracted from the link objects. If joints limits are
1091
+ Limits are extracted from the link objects. If joints limits are
1092
1092
not set for:
1093
1093
1094
1094
- a revolute joint [-𝜋. 𝜋] is returned
@@ -1237,19 +1237,21 @@ def _get_graphical_backend(self, backend=None):
1237
1237
1238
1238
# find the right backend, modules are imported here on an as needs
1239
1239
# basis
1240
- if backend == 'swift' or default == 'swift' : # pragma nocover
1240
+ if backend == 'swift' or default == 'swift' : # pragma nocover
1241
1241
# swift was requested, is it installed?
1242
1242
if isinstance (self , rtb .DHRobot ):
1243
1243
raise NotImplementedError (
1244
1244
'Plotting in Swift is not implemented for DHRobots yet' )
1245
1245
try :
1246
1246
# yes, use it
1247
- from roboticstoolbox .backends .Swift import Swift
1247
+ from roboticstoolbox .backends .swift import Swift
1248
1248
env = Swift ()
1249
1249
return env
1250
1250
except ModuleNotFoundError :
1251
1251
if backend == 'swift' :
1252
- print ('Swift is not installed, install it using pip or conda' )
1252
+ print (
1253
+ 'Swift is not installed, '
1254
+ 'install it using pip or conda' )
1253
1255
backend = 'pyplot'
1254
1256
1255
1257
elif backend == 'vpython' or default == 'vpython' : # pragma nocover
@@ -1264,7 +1266,9 @@ def _get_graphical_backend(self, backend=None):
1264
1266
return env
1265
1267
except ModuleNotFoundError :
1266
1268
if backend == 'vpython' :
1267
- print ('VPython is not installed, install it using pip or conda' )
1269
+ print (
1270
+ 'VPython is not installed, '
1271
+ 'install it using pip or conda' )
1268
1272
backend = 'pyplot'
1269
1273
1270
1274
if backend is None :
@@ -1384,7 +1388,7 @@ def plot(
1384
1388
1385
1389
if movie is not None :
1386
1390
loop = False
1387
-
1391
+
1388
1392
while True :
1389
1393
for qk in q :
1390
1394
self .q = qk
0 commit comments