Skip to content

Commit

Permalink
Merge pull request #517 from JuliaRobotics/tk/undo-revolute-rand
Browse files Browse the repository at this point in the history
Undo change to revolute joint `rand_configuration!` distribution.
  • Loading branch information
tkoolen authored Nov 20, 2018
2 parents 2357e91 + b3593fa commit 94b14f7
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 94b14f7

Please sign in to comment.