Skip to content

Commit 017d6ed

Browse files
committed
Added identity tests
1 parent 5d1044a commit 017d6ed

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

tests/test_pose3d.py

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -687,8 +687,11 @@ def test_functions_lie(self):
687687

688688
# Check log and exponential map
689689
nt.assert_equal(R, SO3.Exp(R.log()))
690+
np.testing.assert_equal((R.inv() * R).log(), np.zeros([3, 3]))
691+
690692
# Check euler vector map
691693
nt.assert_equal(R, SO3.EulerVec(R.eulervec()))
694+
np.testing.assert_equal((R.inv() * R).eulervec(), np.zeros(3))
692695

693696

694697
# ============================== SE3 =====================================#

0 commit comments

Comments
 (0)