g2opy icon indicating copy to clipboard operation
g2opy copied to clipboard

copy doesn't work well

Open aivision2020 opened this issue 6 years ago • 0 comments

maybe it's a pybind11 issue? this test fails

pose = g2o.Isometry3d(np.eye(3), np.zeros(3))
assert pytest.approx(pose.rotation_matrix()) == np.eye(3)
pose_ = copy.deepcopy(pose)
assert pytest.approx(pose_.rotation_matrix()) == np.eye(3)

Thanks

aivision2020 avatar Feb 11 '19 09:02 aivision2020