From b3593faa743b326d7b60e68bda38978f324ceace Mon Sep 17 00:00:00 2001 From: Twan Koolen Date: Tue, 20 Nov 2018 14:23:30 -0500 Subject: [PATCH] Undo change to revolute joint rand_configuration distribution. Probably too many things tacitly assume this distribution at some point. Should revisit as part of #459, but we shouldn't introduce backwards incompatible changes right now. --- src/joint_types/revolute.jl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/joint_types/revolute.jl b/src/joint_types/revolute.jl index 4b4f4165..3ee924b5 100644 --- a/src/joint_types/revolute.jl +++ b/src/joint_types/revolute.jl @@ -52,7 +52,7 @@ end end @propagate_inbounds function rand_configuration!(q::AbstractVector, ::Revolute) - q[1] = rand(-π : π) + q[1] = randn() nothing end