Exemplo 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)
Exemplo 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)
Exemplo 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)
Exemplo 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)
Exemplo 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)