From ff194ef204fc9ab883569599a7d1731cf33b1fb8 Mon Sep 17 00:00:00 2001
From: Florent Lamiraux <florent@laas.fr>
Date: Sat, 20 Aug 2016 23:47:44 +0200
Subject: [PATCH] Make axial handle grasp complement as a parameterizable
 constraint

  - this constraint is aimed at being used in edge constraints where it needs
    to be parameterizable.
---
 src/axial-handle.cc | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/src/axial-handle.cc b/src/axial-handle.cc
index 025e375..8ae20ea 100644
--- a/src/axial-handle.cc
+++ b/src/axial-handle.cc
@@ -61,7 +61,8 @@ namespace hpp {
 				       gripper->joint()->robot(),
 				       gripper->joint (), joint (),
 				       gripper->objectPositionInJoint (),
-				       localPosition(), mask)));
+				       localPosition(), mask),
+				      core::Equality::create ()));
     }
 
     NumericalConstraintPtr_t AxialHandle::createPreGrasp
-- 
GitLab