Skip to content

Commit

Permalink
Undo change to revolute joint rand_configuration distribution.
Browse files Browse the repository at this point in the history
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.
  • Loading branch information
tkoolen committed Nov 20, 2018
1 parent 2357e91 commit b3593fa
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/joint_types/revolute.jl
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@ end
end

@propagate_inbounds function rand_configuration!(q::AbstractVector, ::Revolute)
q[1] = rand(-π : π)
q[1] = randn()
nothing
end

Expand Down

0 comments on commit b3593fa

Please sign in to comment.