3d102c92277d5b5517118f527aa7447a4f2ff42e,tests/test_se3.py,,test_perturb,#,32

Before Change



def test_perturb():
    T = SE3.exp(np.array([1, 2, 3, 4, 5, 6]))
    T_copy = SE3.from_matrix(T.as_matrix())
    xi = np.array([0.6, 0.5, 0.4, 0.3, 0.2, 0.1])
    T.perturb(xi)
    assert np.allclose(T.as_matrix(), (SE3.exp(xi) * T_copy).as_matrix())

After Change



def test_perturb():
    T = SE3.exp(np.array([1, 2, 3, 4, 5, 6]))
    T_copy = copy.deepcopy(T)
    xi = np.array([0.6, 0.5, 0.4, 0.3, 0.2, 0.1])
    T.perturb(xi)
    assert np.allclose(T.as_matrix(), (SE3.exp(xi) * T_copy).as_matrix())
Italian Trulli
In pattern: SUPERPATTERN

Frequency: 4

Non-data size: 4

Instances


Project Name: utiasSTARS/liegroups
Commit Name: 3d102c92277d5b5517118f527aa7447a4f2ff42e
Time: 2016-10-18
Author: clement.leopold@gmail.com
File Name: tests/test_se3.py
Class Name:
Method Name: test_perturb


Project Name: utiasSTARS/liegroups
Commit Name: 3d102c92277d5b5517118f527aa7447a4f2ff42e
Time: 2016-10-18
Author: clement.leopold@gmail.com
File Name: tests/test_so3.py
Class Name:
Method Name: test_perturb


Project Name: utiasSTARS/liegroups
Commit Name: 3d102c92277d5b5517118f527aa7447a4f2ff42e
Time: 2016-10-18
Author: clement.leopold@gmail.com
File Name: tests/test_so2.py
Class Name:
Method Name: test_perturb


Project Name: utiasSTARS/liegroups
Commit Name: 3d102c92277d5b5517118f527aa7447a4f2ff42e
Time: 2016-10-18
Author: clement.leopold@gmail.com
File Name: tests/test_se2.py
Class Name:
Method Name: test_perturb