Esempio n. 1
0
 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)
Esempio n. 2
0
 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)
Esempio n. 3
0
 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)
Esempio n. 4
0
 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)
Esempio n. 5
0
 def Handset(self):
     edit_fram = Toplevel()
     edit_fram.grab_set()
     edit_fram.transient(self.master)
     handsSet = finger.__init__(edit_fram, self.movement, motor, pub)