From: <je...@un...> - 2006-06-29 21:35:16
|
fix bug introduced in rev 1.206: feedrate starts at 0src/axis/scripts/axis.py. revise way halcmd is spawned. M +2 -1 axis.py 1.208 http://unpythonic.net/cgi-bin/viewcvs.cgi/axis/scripts/axis.py.diff?r1=1.207&r2=1.208 --- axis.py 29 Jun 2006 14:10:02 -0000 1.207 +++ axis.py 29 Jun 2006 21:15:39 -0000 1.208 @@ -94,7 +94,7 @@ yield index, item index += 1 -halcmd = subprocess.Popen(["halcmd", "-f", "/proc/self/fd/0"], +halcmd = subprocess.Popen(["halcmd", "-sf"], stdin=subprocess.PIPE) def halcmd_sets(signal, value): global halcmd @@ -2521,6 +2521,7 @@ widgets.axis_y.grid_forget() widgets.menu_view.delete(0, 5) +commands.set_feedrate(100) live_plotter.update() o.mainloop() live_plotter.stop() |