#!/usr/bin/env python # # move x y # move Modela to x,y (in inches) # Neil Gershenfeld CBA MIT 2/5/06 # import sys, commands x = int(1000*float(sys.argv[1])) y = int(1000*float(sys.argv[2])) print commands.getoutput('stty 9600 raw -echo crtscts /dev/ttyS0'%(x,y))