Skip to content

Commit c54c194

Browse files
committed
fix defaults for representation parameter, fix docstrings
1 parent e6152df commit c54c194

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

roboticstoolbox/blocks/arm.py

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -148,7 +148,7 @@ def __init__(
148148
:param useprevious: Use previous IK solution as q0, defaults to True
149149
:type useprevious: bool, optional
150150
:param ik: Specify an IK function, defaults to ``Robot.ikine_LM``
151-
:type ik: callable f(T)
151+
:type ik: callable
152152
:param args: Options passed to IK function
153153
:type args: dict
154154
:param seed: random seed for solution
@@ -244,7 +244,7 @@ def __init__(
244244
self,
245245
robot,
246246
frame="0",
247-
representation=None,
247+
representation="rpy/xyz",
248248
inverse=False,
249249
pinv=False,
250250
damping=None,
@@ -256,7 +256,7 @@ def __init__(
256256
:type robot: Robot subclass
257257
:param frame: Frame to compute Jacobian for, one of: "0" [default], "e"
258258
:type frame: str, optional
259-
:param representation: representation for analytical Jacobian, defaults to None
259+
:param representation: representation for analytical Jacobian, defaults to "rpy/xyz"
260260
:type representation: str, optional
261261
:param inverse: output inverse of Jacobian, defaults to False
262262
:type inverse: bool, optional
@@ -1157,7 +1157,7 @@ def __init__(self, robot, representation="rpy/xyz", gravity=None, **blockargs):
11571157
:param robot: Robot model
11581158
:type robot: Robot subclass
11591159
:param representation: task-space representation, defaults to "rpy/xyz"
1160-
:type represenstation: str
1160+
:type representation: str
11611161
:param gravity: gravitational acceleration
11621162
:type gravity: float
11631163
:param blockargs: |BlockOptions|
@@ -1293,7 +1293,7 @@ def __init__(self, robot, representation="rpy/xyz", pinv=False, **blockargs):
12931293
:param robot: Robot model
12941294
:type robot: Robot subclass
12951295
:param representation: task-space representation, defaults to "rpy/xyz"
1296-
:type represenstation: str
1296+
:type representation: str
12971297
:param blockargs: |BlockOptions|
12981298
:type blockargs: dict
12991299
"""
@@ -1482,7 +1482,7 @@ def __init__(
14821482
:param velcomp: perform velocity term compensation
14831483
:type velcomp: bool
14841484
:param representation: task-space representation, defaults to "rpy/xyz"
1485-
:type represenstation: str
1485+
:type representation: str
14861486
14871487
:param blockargs: |BlockOptions|
14881488
:type blockargs: dict

0 commit comments

Comments
 (0)