parameters: (self,envother)
return_statement: return clone
docstring: Clones the interface into another environment
docstring_summary: Clones the interface into another environment
docstring_tokens: Clones the interface into another environment
function: def clone(self,envother):
          """Clones the interface into another environment
          """
          clone = shallowcopy(self)
          clone.prob = RaveCreateModule(envother,'Grasper')
          clone.robot = envother.GetRobot(self.robot.GetName())
          clone.avoidlinks = [clone.robot.GetLink(link.GetName()) for link in self.avoidlinks]
          envother.Add(clone.prob,True,clone.args)
          return clone
function_tokens: def clone ( self , envother ) : clone = shallowcopy ( self ) clone . prob = RaveCreateModule ( envother , 'Grasper' ) clone . robot = envother . GetRobot ( self . robot . GetName ( ) ) clone . avoidlinks = [ clone . robot . GetLink ( link . GetName ( ) ) for link in self . avoidlinks ] envother . Add ( clone . prob , True , clone . args ) return clone