8000 use raw strings for comments with embedded latex · ViolinLee/spatialmath-python@16dda32 · GitHub
[go: up one dir, main page]

Skip to content

Commit 16dda32

Browse files
committed
use raw strings for comments with embedded latex
1 parent 964dac4 commit 16dda32

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

spatialmath/base/transforms3d.py

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1130,7 +1130,6 @@ def trinterp(T0, T1=None, s=None):
11301130
11311131
- Rotation is interpolated using quaternion spherical linear interpolation (slerp).
11321132
1133-
11341133
:seealso: :func:`spatialmath.base.quaternions.slerp`, :func:`~spatialmath.base.transforms3d.trinterp2`
11351134
"""
11361135

@@ -1159,7 +1158,7 @@ def trinterp(T0, T1=None, s=None):
11591158
return trn.rt2tr(quat.q2r(qr), pr)
11601159

11611160
def delta2tr(d):
1162-
"""
1161+
r"""
11631162
Convert differential motion to SE(3)
11641163
11651164
:param d: differential motion as a 6-vector
@@ -1178,7 +1177,7 @@ def delta2tr(d):
11781177
return np.eye(4,4) + trn.skewa(d)
11791178

11801179
def trinv(T):
1181-
"""
1180+
r"""
11821181
Invert an SE(3) matrix
11831182
11841183
:param T: an SE(3) matrix

0 commit comments

Comments
 (0)
0