Commit 08143941 authored by Steve Tonneau's avatar Steve Tonneau
Browse files

[bug fix] inverted operands in dofs difference

parent 014fc27a
......@@ -102,7 +102,7 @@ namespace hpp {
indexVelocity, result);
}
const size_type& dim = robot->extraConfigSpace().dimension();
result.tail (dim) = q2.tail (dim) - q1.tail (dim);
result.tail (dim) = q1.tail (dim) - q2.tail (dim);
}
/// Distance between two configuration.
......
Markdown is supported
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