diff --git a/src/hpp/corbaserver/rbprm/rbprmfullbody.py b/src/hpp/corbaserver/rbprm/rbprmfullbody.py index a76d9c8a7d01f905bf17e84d49aabaa9e5b3e6cc..dd0a96256bbcf69a299d0a8ef93664d3495c7482 100755 --- a/src/hpp/corbaserver/rbprm/rbprmfullbody.py +++ b/src/hpp/corbaserver/rbprm/rbprmfullbody.py @@ -290,7 +290,7 @@ class FullBody (Robot): num_max_sample = 1 for (limbName, normal) in zip(contacts, normals): p = cl.getEffectorPosition(limbName,configuration)[0] - cl.addNewContact(sId, limbName, p, normal, num_max_sample, True) + cl.addNewContact(sId, limbName, p, normal, num_max_sample, False) return cl.setStartStateId(sId) @@ -308,7 +308,7 @@ class FullBody (Robot): num_max_sample = 1 for (limbName, normal) in zip(contacts, normals): p = cl.getEffectorPosition(limbName,configuration)[0] - cl.addNewContact(sId, limbName, p, normal, num_max_sample, True) + cl.addNewContact(sId, limbName, p, normal, num_max_sample, False) return cl.setEndStateId(sId) ## Initialize the first state of the path interpolation @@ -835,7 +835,7 @@ class FullBody (Robot): # \param viewer gepetto viewer instance def draw(self, configuration, viewer): viewer(configuration) - for limb, groupid in self.octrees.items(): + for limb, groupid in self.octrees.iteritems(): transform = self.clientRbprm.rbprm.getOctreeTransform(limb, configuration) viewer.client.gui.applyConfiguration(groupid,transform) viewer.client.gui.refresh()