On 2 December 2014 at 16:12, Marius Liebenberg <[email protected]> wrote: > Thought as much. I will have to take the current position and work out > the curve to the end of the travel and then trigger an MDI routine with > the parameters to complete the spiral travel to the end. > Can I do that from a python script to HAL? > I will need a forward and reverse button that must know about the > current position and then do something with that.
I am not sure that G-code and feed-over-ride is a non-starter. I can imagine having a PID following a moving target controlled by the keyboard, and using the velocity output to drive the feed-override pin. But, if sending motion commands from Python is likely to work better, have a look at: http://git.linuxcnc.org/gitweb?p=linuxcnc.git;a=blob;f=tests/interp/pymove/oword.py;hb=0c55c195942782b8dcf22caa5ff8f49591880c6d -- atp If you can't fix it, you don't own it. http://www.ifixit.com/Manifesto ------------------------------------------------------------------------------ Download BIRT iHub F-Type - The Free Enterprise-Grade BIRT Server from Actuate! Instantly Supercharge Your Business Reports and Dashboards with Interactivity, Sharing, Native Excel Exports, App Integration & more Get technology previously reserved for billion-dollar corporations, FREE http://pubads.g.doubleclick.net/gampad/clk?id=164703151&iu=/4140/ostg.clktrk _______________________________________________ Emc-developers mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/emc-developers
