On 2014-12-05 12:54, andy pugh wrote:
> 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.

A clever solution. What is the tool table limit?

-- 

Regards /Groete

Marius D. Liebenberg
+27 82 698 3251
+27 12 743 6064
QQ 1767394877


------------------------------------------------------------------------------
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