Verified Commit bd0f2d77 authored by Justin Carpentier's avatar Justin Carpentier Committed by Justin Carpentier
Browse files

Merge pull request #543 from gabrielebndn/topic/fixrandom

[spatial] fixed bug in random force and motion
parents bf75fd78 c36ac21e
......@@ -50,7 +50,7 @@ namespace se3
using Base::isApprox;
Derived & setZero() { linear().setZero(); angular().setZero(); return derived(); }
Derived & setRandom() { linear().setZero(); angular().setZero(); return derived(); }
Derived & setRandom() { linear().setRandom(); angular().setRandom(); return derived(); }
template<typename D2>
bool isEqual_impl(const ForceDense<D2> & other) const
......
......@@ -50,7 +50,7 @@ namespace se3
using Base::isApprox;
Derived & setZero() { linear().setZero(); angular().setZero(); return derived(); }
Derived & setRandom() { linear().setZero(); angular().setZero(); return derived(); }
Derived & setRandom() { linear().setRandom(); angular().setRandom(); return derived(); }
ActionMatrixType toActionMatrix_impl() const
{
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment