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 cce952f commit d7151edCopy full SHA for d7151ed
python/gtsam/tests/test_ShonanAveraging.py
@@ -197,7 +197,9 @@ def test_constructorBetweenFactorPose2s(self) -> None:
197
wRi_list = [result_values.atRot2(i) for i in range(num_images)]
198
thetas_deg = np.array([wRi.degrees() for wRi in wRi_list])
199
thetas_deg -= max(thetas_deg)
200
- expected_thetas_deg = np.array([0.0, -270.0, 0.0])
+ # map all angles to [0,360)
201
+ thetas_deg = thetas_deg % 360
202
+ expected_thetas_deg = np.array([0.0, 90.0, 0.0])
203
np.testing.assert_allclose(thetas_deg, expected_thetas_deg)
204
205
0 commit comments