Hi Ralph > No need for emcrsh. You can call python programs directly > from g-code and also userspace hal modules.
Ah, right, I think I remember that I once read about his possibility, but never looked up any details at that time, so I forgot about it again. > I think that was the approach I took. I'll have to dig up my > test code tomorrow. Here is the documentation section on > writing python functions for hal: > > http://linuxcnc.org/docs/html/hal/halmodule.html (corrected link) Thanks for the link. So I could write my python program (using opencv), call it from the g-code program, pass a few parameters (ca. positions of the tracking marks) and get back some parameters (x/y-offset and angel) and than call G10L2 using these. Right? Sounds easy.... See you Flo ------------------------------------------------------------------------------ Live Security Virtual Conference Exclusive live event will cover all the ways today's security and threat landscape has changed and how IT managers can respond. Discussions will include endpoint security, mobile security and the latest in malware threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ _______________________________________________ Emc-users mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/emc-users
