We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent e7715fa commit 719a7c9Copy full SHA for 719a7c9
spatialmath/base/transforms3d.py
@@ -1329,7 +1329,7 @@ def trlog(
1329
:seealso: :func:`~trexp` :func:`~spatialmath.base.transformsNd.vex` :func:`~spatialmath.base.transformsNd.vexa`
1330
"""
1331
1332
- if ishom(T, check=check, tol=10):
+ if ishom(T, check=check, tol=tol):
1333
# SE(3) matrix
1334
1335
[R, t] = tr2rt(T)
@@ -1357,7 +1357,7 @@ def trlog(
1357
else:
1358
return Ab2M(S, v)
1359
1360
- elif isrot(T, check=check):
+ elif isrot(T, check=check, tol=tol):
1361
# deal with rotation matrix
1362
R = T
1363
if abs(np.trace(R) + 1) < tol * _eps:
0 commit comments