Skip to content
Snippets Groups Projects
Commit 7e4f9ff9 authored by Florent Lamiraux's avatar Florent Lamiraux Committed by Florent Lamiraux florent@laas.fr
Browse files

Fix condition on explicit constraint in Handle::createGrasp.

parent 1993c1bf
No related branches found
No related tags found
No related merge requests found
...@@ -62,7 +62,7 @@ namespace hpp { ...@@ -62,7 +62,7 @@ namespace hpp {
bool isHandleOnR3SO3 (const Handle& handle) bool isHandleOnR3SO3 (const Handle& handle)
{ {
if (handle.joint()->jointModel().shortname() == se3::JointModelFreeFlyer::classname() if (handle.joint()->jointModel().shortname() == se3::JointModelFreeFlyer::classname()
&& handle.joint ()->parentJoint ()) { && !handle.joint ()->parentJoint ()) {
return true; return true;
} }
return false; return false;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment