Skip to content

Commit 04cbe7f

Browse files
committed
reduce standard deviation of noise to make the test pass
1 parent d8249b8 commit 04cbe7f

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

tests/test_pose3d.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -743,7 +743,8 @@ def test_mean(self):
743743

744744
# now add noise
745745
rng = np.random.default_rng(0) # reproducible random numbers
746-
rpy += rng.normal(scale=0.1, size=(100, 3))
746+
rpy += rng.normal(scale=0.00001, size=(100, 3))
747+
R = SO3.RPY(rpy)
747748
m = R.mean()
748749
array_compare(m, SO3.RPY(0.1, 0.2, 0.3))
749750

0 commit comments

Comments
 (0)