From 2bdf0008b78d8da2160f2330234fc9de4b802556 Mon Sep 17 00:00:00 2001
From: Diane Bury <dbury@laas.fr>
Date: Tue, 5 Mar 2019 21:53:16 +0100
Subject: [PATCH] Fix mask vector when creating grasp on non-freeflyer

---
 src/handle.cc | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/handle.cc b/src/handle.cc
index f08012ea..e80485af 100644
--- a/src/handle.cc
+++ b/src/handle.cc
@@ -189,7 +189,7 @@ namespace hpp {
       return constraints::implicit::RelativePose::create
         (n, robot (), gripper->joint (), joint (),
          gripper->objectPositionInJoint (), localPosition(),
-         std::vector <bool> (true, 6), comp);
+         std::vector <bool> (6, true), comp);
     }
 
     ImplicitPtr_t Handle::createPreGrasp
-- 
GitLab