def Handset(self): edit_fram = Toplevel() edit_fram.grab_set() edit_fram.transient(self.master) self.sign["freq"] = float(self.sign["frame_number"]) / float( self.time.get()) handsSet = finger.__init__(edit_fram, self.sign, motor, pub)
def Handset(self): #print self.movement #for m in self.robot.motors: # m.compliant = True #self.robot.close() edit_fram = Toplevel() edit_fram.grab_set() edit_fram.transient(self.master) handsSet = finger.__init__(edit_fram, self.movement, self.robot)
def editSign(self): recFile = tkFileDialog.askopenfilename( initialdir= "/home/odroid/catkin_ws/src/robot_body/recording/data_base") if not recFile: return None print 'Openning the file: ' + recFile with open(recFile, "r") as sign: self.movement = json.load(sign) edit_fram = Toplevel() edit_fram.grab_set() edit_fram.transient(self.master) handsSet = finger.__init__(edit_fram, self.movement, motor, pub)
def editSign(self): recFile = tkFileDialog.askopenfilename() if not recFile: return None print 'Openning the file: ' + recFile with open(recFile, "r") as sign: self.movement = json.load(sign) mtrs = self.movement['actors_NAME'] #print mtrs edit_fram = Toplevel() edit_fram.grab_set() edit_fram.transient(self.master) handsSet = finger.__init__(edit_fram, self.movement)
def Handset(self): edit_fram = Toplevel() edit_fram.grab_set() edit_fram.transient(self.master) handsSet = finger.__init__(edit_fram, self.movement, motor, pub)