def startup(): SerialOut.reset()
self.ser.write(chr(checksum)) response = serout.read() print (">>" ,response) self.movecount += 1 print self.movecount print'*' print atrib['i_ComMode'] move_time = time.time() stdpkt = Move(config.stdatrib, config.addatrib) #create standard packet g=0""" reset() config.atrib["i_Gait"] = 0 SerialOut.wait(25) while config.atrib["i_Gait"] < 5: x = 0 while x < 50: SerialOut.travel(180, 100, 0) time.sleep(0.1) x += 1 while x < 100: SerialOut.travel(0, 100, 0) time.sleep(0.1) x += 1 config.atrib["i_Gait"] += 1 SerialOut.wait(25) """while x < 75: SerialOut.travel(0,0,60)