On 5 December 2014 at 04:01, sam sokolik <sa...@empirescreen.com> wrote:
> Finally got some time to take a video..  The implementation is pretty
> embarrassing..

For pick-and-place perhaps the way to approach this is as a tool-change?

M6 signals the component to make an acquisition
(iocontrol.0.tool-change-request ) The tool number could indicate what
shape to search for.

The Python component performs the shape recognition and sets the XY
tool offsets:

import linuxcnc
import opencv
c = linuxcnc.command()

{opencv magic}

c.tool_offset(toolno, z_offset,  x_offset, diameter, frontangle,
backangle, orientation)

Then the G-code could issue a G43 and a second move to the original location.

-- 
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-users mailing list
Emc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-users

Reply via email to