@@ -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
@@ -1051,7 +1051,7 @@ def qlim(self):
1051
1051
:rtype: ndarray(2,n)
1052
1052
:exception ValueError: unset limits for a prismatic joint
1053
1053
1054
- Limits are extracted from the link objects. If joints limits are
1054
+ Limits are extracted from the link objects. If joints limits are
1055
1055
not set for:
1056
1056
1057
1057
- a revolute joint [-𝜋. 𝜋] is returned
@@ -1200,19 +1200,21 @@ def _get_graphical_backend(self, backend=None):
1200
1200
1201
1201
# find the right backend, modules are imported here on an as needs
1202
1202
# basis
1203
- if backend == 'swift' or default == 'swift' : # pragma nocover
1203
+ if backend == 'swift' or default == 'swift' : # pragma nocover
1204
1204
# swift was requested, is it installed?
1205
1205
if isinstance (self , rtb .DHRobot ):
1206
1206
raise NotImplementedError (
1207
1207
'Plotting in Swift is not implemented for DHRobots yet' )
1208
1208
try :
1209
1209
# yes, use it
1210
- from roboticstoolbox .backends .Swift import Swift
1210
+ from roboticstoolbox .backends .swift import Swift
1211
1211
env = Swift ()
1212
1212
return env
1213
1213
except ModuleNotFoundError :
1214
1214
if backend == 'swift' :
1215
- print ('Swift is not installed, install it using pip or conda' )
1215
+ print (
1216
+ 'Swift is not installed, '
1217
+ 'install it using pip or conda' )
1216
1218
backend = 'pyplot'
1217
1219
1218
1220
elif backend == 'vpython' or default == 'vpython' : # pragma nocover
@@ -1227,7 +1229,9 @@ def _get_graphical_backend(self, backend=None):
1227
1229
return env
1228
1230
except ModuleNotFoundError :
1229
1231
if backend == 'vpython' :
1230
- print ('VPython is not installed, install it using pip or conda' )
1232
+ print (
1233
+ 'VPython is not installed, '
1234
+ 'install it using pip or conda' )
1231
1235
backend = 'pyplot'
1232
1236
1233
1237
if backend is None :
@@ -1347,7 +1351,7 @@ def plot(
1347
1351
1348
1352
if movie is not None :
1349
1353
loop = False
1350
-
1354
+
1351
1355
while True :
1352
1356
for qk in q :
1353
1357
self .q = qk
0 commit comments