@@ -259,7 +259,7 @@ a list of link objects. For example, a Puma560 is simply::
259
259
RevoluteDH(alpha=pi/2),
260
260
RevoluteDH(a=0.4318),
261
261
RevoluteDH(d=0.15005, a=0.0203, alpha=-pi/2),
262
- RevoluteDH(d=0.4318, alpha=pi/2)
262
+ RevoluteDH(d=0.4318, alpha=pi/2),
263
263
RevoluteDH(alpha=-pi/2),
264
264
RevoluteDH()
265
265
], name="Puma560")
@@ -282,7 +282,7 @@ The toolbox provides such definitions wrapped as class definitions, for example:
282
282
RevoluteDH(alpha=pi/2),
283
283
RevoluteDH(a=0.4318),
284
284
RevoluteDH(d=0.15005, a=0.0203, alpha=-pi/2),
285
- RevoluteDH(d=0.4318, alpha=pi/2)
285
+ RevoluteDH(d=0.4318, alpha=pi/2),
286
286
RevoluteDH(alpha=-pi/2),
287
287
RevoluteDH()
288
288
], name="Puma560"
@@ -359,11 +359,11 @@ or pure rotation -- each with either a constant parameter or a free parameter wh
359
359
.. runblock :: pycon
360
360
:linenos:
361
361
362
- >>> from roboticstoolbox import ETS as ET
362
+ >>> from roboticstoolbox import ET
363
363
>>> import roboticstoolbox as rtb
364
364
>>> # Puma dimensions (m), see RVC2 Fig. 7.4 for details
365
365
>>> l1 = 0.672 ; l2 = - 0.2337 ; l3 = 0.4318 ; l4 = 0.0203 ; l5 = 0.0837 ; l6 = 0.4318
366
- >>> e = ET .tz(l1) * ET .rz () * ET .ty(l2) * ET .ry () * ET .tz(l3) * ET .tx(l4) * ET .ty(l5) * ET .ry () * ET .tz(l6) * ET .rz () * ET .ry () * ET .rz ()
366
+ >>> e = ET .tz(l1) * ET .Rz () * ET .ty(l2) * ET .Ry () * ET .tz(l3) * ET .tx(l4) * ET .ty(l5) * ET .Ry () * ET .tz(l6) * ET .Rz () * ET .Ry () * ET .Rz ()
367
367
>>> print (e)
368
368
>>> robot = rtb.ERobot(e)
369
369
>>> print (robot)
@@ -452,7 +452,7 @@ arguments.
452
452
We could plot the joint coordinates as a function of time using the convenience
453
453
function::
454
454
455
- >>> rtb.qplot (traj.q)
455
+ >>> rtb.xplot (traj.q)
456
456
457
457
458
458
Straight line (Cartesian) paths can be generated in a similar way between
0 commit comments