Commits

Trammell Hudson committed ba411c3

Stop after computing fk solution when used interactively

Comments (0)

Files changed (1)

 	if len(sys.argv) == 6+1:
 		counts = [int(x) for x in sys.argv[1:]]
 		r.update(counts)
+		print [int(x*180/pi) for x in r.theta]
 		print [int(x) for x in r.p]
+		print [round(x,2) for x in r.n]
+		print [round(x,2) for x in r.s]
+		print [round(x,2) for x in r.a]
 		sys.exit(0)
 
-	#sys.exit(-1)
+	sys.exit(-1)
 	devices = ["/dev/tty.usbmodemfd1231", "/dev/tty.usbmodemfd1241", "/dev/tty.usbmodemfd1271"]
 	controllers = [MDC.MDC(dev) for dev in devices]