Skip to content

Commit 6243d34

Browse files
committed
be consistent with orientation naming, rpy/xyz rather than rpy-xyz
1 parent 736b712 commit 6243d34

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

spatialmath/base/transforms3d.py

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1890,13 +1890,13 @@ def x2tr(x, representation="rpy/xyz"):
18901890
return base.rt2tr(R, t)
18911891

18921892

1893-
def rot2jac(R, representation="rpy-xyz"):
1893+
def rot2jac(R, representation="rpy/xyz"):
18941894
"""
18951895
Velocity transform for analytical Jacobian
18961896
18971897
:param R: SO(3) rotation matrix
18981898
:type R: ndarray(3,3)
1899-
:param representation: defaults to 'rpy-xyz'
1899+
:param representation: defaults to 'rpy/xyz'
19001900
:type representation: str, optional
19011901
:return: Jacobian matrix
19021902
:rtype: ndarray(6,6)
@@ -1956,7 +1956,7 @@ def angvelxform(𝚪, inverse=False, full=True, representation="rpy/xyz"):
19561956
19571957
:param 𝚪: angular representation
19581958
:type 𝚪: ndarray(3)
1959-
:param representation: defaults to 'rpy-xyz'
1959+
:param representation: defaults to 'rpy/xyz'
19601960
:type representation: str, optional
19611961
:param inverse: compute mapping from analytical rates to angular velocity
19621962
:type inverse: bool
@@ -2102,13 +2102,13 @@ def angvelxform(𝚪, inverse=False, full=True, representation="rpy/xyz"):
21022102

21032103
def angvelxform_dot(𝚪, 𝚪d, full=True, representation="rpy/xyz"):
21042104
"""
2105-
Angular acceleratipn transformation
2105+
Angular acceleration transformation
21062106
21072107
:param 𝚪: angular representation
21082108
:type 𝚪: ndarray(3)
21092109
:param 𝚪d: angular representation rate
21102110
:type 𝚪d: ndarray(3)
2111-
:param representation: defaults to 'rpy-xyz'
2111+
:param representation: defaults to 'rpy/xyz'
21122112
:type representation: str, optional
21132113
:param full: return 6x6 transform for spatial velocity
21142114
:type full: bool

0 commit comments

Comments
 (0)