Re: [Emc-users] center finder camera / camview-emc

2014-05-10 Thread Gene Heskett
On Saturday 10 May 2014 01:35:41 Jon Elson did opine And Gene did reply: OK, got camview-emc loaded, as described in the Wiki page http://wiki.linuxcnc.org/cgi-bin/wiki.pl?Adding_Digital_Zoom_To_Camview -Emc But, not all of it is working. If I just have the line like this:

Re: [Emc-users] center finder camera / camview-emc

2014-05-10 Thread Jon Elson
On 05/10/2014 04:36 AM, Gene Heskett wrote: This is what I have in my .ini file Jon: Thanks much, Gene! OK, so apparently you also need to activate the campins.hal file in the ini file, and also start up halui. Then, campins.hal has this line : net forOnNet genescamviewcfg.hal_checkbutton1 =

Re: [Emc-users] center finder camera / camview-emc

2014-05-10 Thread Jon Elson
OK, found out at least part of the problem. When it tries to start camview-emc, it tried to use liblinuxcnchal.so.0, which does not exist. Anybody know where it comes from? I'm going to load all the dependencies for building the software, that probably will fix it. Thanks, Jon

Re: [Emc-users] center finder camera / camview-emc

2014-05-10 Thread Jon Elson
On 05/10/2014 01:08 PM, Jon Elson wrote: OK, found out at least part of the problem. When it tries to start camview-emc, it tried to use liblinuxcnchal.so.0, which does not exist. Anybody know where it comes from? I'm going to load all the dependencies for building the software, that

Re: [Emc-users] center finder camera / camview-emc

2014-05-10 Thread Michael Haberler
Am 10.05.2014 um 20:08 schrieb Jon Elson el...@pico-systems.com: OK, found out at least part of the problem. When it tries to start camview-emc, it tried to use liblinuxcnchal.so.0, which does not exist. Anybody know where it comes from? that is the userland hal library and produced

Re: [Emc-users] center finder camera / camview-emc

2014-05-10 Thread Jon Elson
On 05/10/2014 02:53 PM, Michael Haberler wrote: that is the userland hal library and produced during a normal build, nothing HAL-related runs without it Apparently, this is a new file with 2.5, I had a 2.4 install. Updating to 2.5 added this file. Now, on to the next error message. Thanks,

Re: [Emc-users] center finder camera / camview-emc

2014-05-10 Thread Gene Heskett
On Saturday 10 May 2014 13:16:48 Jon Elson did opine And Gene did reply: On 05/10/2014 04:36 AM, Gene Heskett wrote: This is what I have in my .ini file Jon: Thanks much, Gene! OK, so apparently you also need to activate the campins.hal file in the ini file, and also start up halui.

Re: [Emc-users] center finder camera / camview-emc

2014-05-10 Thread Gene Heskett
On Saturday 10 May 2014 14:45:32 Jon Elson did opine And Gene did reply: On 05/10/2014 01:08 PM, Jon Elson wrote: OK, found out at least part of the problem. When it tries to start camview-emc, it tried to use liblinuxcnchal.so.0, which does not exist. Anybody know where it comes from?

Re: [Emc-users] center finder camera / camview-emc

2014-05-10 Thread Michael Haberler
Am 10.05.2014 um 23:05 schrieb Gene Heskett ghesk...@wdtv.com: On Saturday 10 May 2014 14:08:00 Jon Elson did opine And Gene did reply: liblinuxcnchal.so.0 I have that, in /usr/lib. Why don't you? last update before the emc-linuxcnc rename stampede broke loose? Cheers, Gene --

Re: [Emc-users] center finder camera / camview-emc

2014-05-09 Thread Jon Elson
OK, so the camera works. Now, I'd like to build a new LinuxCNC system, based on the 10.04 (Lucid) kernel. But, all the doc for camview-emc refers to Hardy. Does anyone know if the various software pieces (camview and camview-emc) that psha recommends loading are available on 10.04? Are there

Re: [Emc-users] center finder camera / camview-emc

2014-05-09 Thread Viesturs Lācis
2014-05-09 20:30 GMT+03:00 Jon Elson el...@pico-systems.com: Does anybody else have camview-emc running on a 10.04 kernel? Yes, I think that is the way I have a camera picture in another tab in Axis. Sorry, I do not remember, how exactly did I set it up, but since I am not really the guy to

Re: [Emc-users] center finder camera / camview-emc

2014-05-09 Thread Gene Heskett
On Friday 09 May 2014 13:30:32 Jon Elson did opine And Gene did reply: OK, so the camera works. Now, I'd like to build a new LinuxCNC system, based on the 10.04 (Lucid) kernel. But, all the doc for camview-emc refers to Hardy. Does anyone know if the various software pieces (camview and

Re: [Emc-users] center finder camera / camview-emc

2014-05-09 Thread billy
What align stuff and align kit? On May 9, 2014, at 2:29 PM, Gene Heskett ghesk...@wdtv.com wrote: On Friday 09 May 2014 13:30:32 Jon Elson did opine And Gene did reply: OK, so the camera works. Now, I'd like to build a new LinuxCNC system, based on the 10.04 (Lucid) kernel. But, all the

Re: [Emc-users] center finder camera / camview-emc

2014-05-09 Thread Gene Heskett
On Friday 09 May 2014 14:55:25 bi...@ivdc.com did opine And Gene did reply: What align stuff and align kit? There is an alignment aid kit (google it) that works with camview-emc, fixes 2 problems. 1) it moves the machine from where ever it is, to put the camera looking at where the tool was

Re: [Emc-users] center finder camera / camview-emc

2014-05-09 Thread Bari
I'm going to update the howto docs shortly. 10.04 should work just fine with just adding the repos, installing the packages http://psha.org.ru/debian/README.html and making 2 lines of mods to your .INI Add following lines to INI file: EMBED_TAB_NAME = Camera EMBED_TAB_COMMAND =

Re: [Emc-users] center finder camera / camview-emc

2014-05-09 Thread Jon Elson
OK, got camview-emc loaded, as described in the Wiki page http://wiki.linuxcnc.org/cgi-bin/wiki.pl?Adding_Digital_Zoom_To_Camview-Emc But, not all of it is working. If I just have the line like this: EMBED_TAB_COMMAND = ./camview-emc-f1oat.py -w {XID} I get a video in the Camera tab, but if I

Re: [Emc-users] center finder camera / camview-emc

2014-05-09 Thread Jon Elson
On 05/10/2014 12:35 AM, Jon Elson wrote: OK, got camview-emc loaded, as described in the Wiki page http://wiki.linuxcnc.org/cgi-bin/wiki.pl?Adding_Digital_Zoom_To_Camview-Emc But, not all of it is working. If I just have the line like this: EMBED_TAB_COMMAND = ./camview-emc-f1oat.py -w

Re: [Emc-users] center finder camera

2014-05-08 Thread Jon Elson
On 05/04/2014 11:20 PM, Steve Blackmore wrote: Jon - http://imagebin.org/309092 Tip of camera just touching surface. That's a 0.1mm gap set on the jaws of my Mitu digimatic calipers. The ground surface looks good until you zoom in :) Plenty good enough to find an edge. Well, I don't want to

Re: [Emc-users] center finder camera

2014-05-05 Thread Bari
On 05/04/2014 11:20 PM, Steve Blackmore wrote: Jon - http://imagebin.org/309092 Tip of camera just touching surface. That's a 0.1mm gap set on the jaws of my Mitu digimatic calipers. The ground surface looks good until you zoom in :) Plenty good enough to find an edge. Same 0.1mm gap.

Re: [Emc-users] center finder camera

2014-05-05 Thread Bari
On 05/04/2014 11:20 PM, Steve Blackmore wrote: http://imagebin.org/309092 http://imagebin.org/309107 Image above with Sobel on lower half. You can really see how lighting will effect how well the edges will be detected.

Re: [Emc-users] center finder camera

2014-05-05 Thread Mark Wendt
On Mon, May 5, 2014 at 12:20 AM, Steve Blackmore st...@pilotltd.net wrote: Jon - http://imagebin.org/309092 Tip of camera just touching surface. That's a 0.1mm gap set on the jaws of my Mitu digimatic calipers. The ground surface looks good until you zoom in :) Plenty good enough to find

Re: [Emc-users] center finder camera

2014-05-05 Thread Bari
~130um plated hole PCB VGA microscope http://imagebin.org/309193 -- Is your legacy SCM system holding you back? Join Perforce May 7 to find out: #149; 3 signs your SCM is hindering your productivity #149; Requirements

Re: [Emc-users] center finder camera

2014-05-05 Thread Jon Elson
On 05/05/2014 02:00 AM, Bari wrote: On 05/04/2014 11:20 PM, Steve Blackmore wrote: Same 0.1mm gap. Camera body on the surface. With threshold and Sobel edge detect. http://imagebin.org/309105 OK, so how many pixels is that gap? Taking a wild guess, it might be about 40 pixels. That sounds

Re: [Emc-users] center finder camera

2014-05-05 Thread Bari
On 05/05/2014 11:01 AM, Jon Elson wrote: On 05/05/2014 02:00 AM, Bari wrote: On 05/04/2014 11:20 PM, Steve Blackmore wrote: Same 0.1mm gap. Camera body on the surface. With threshold and Sobel edge detect. http://imagebin.org/309105 OK, so how many pixels is that gap? Taking a wild guess,

Re: [Emc-users] center finder camera

2014-05-05 Thread Steve Blackmore
On Mon, 5 May 2014 05:23:32 -0400, you wrote: On Mon, May 5, 2014 at 12:20 AM, Steve Blackmore st...@pilotltd.net wrote: Jon - http://imagebin.org/309092 Tip of camera just touching surface. That's a 0.1mm gap set on the jaws of my Mitu digimatic calipers. The ground surface looks good

Re: [Emc-users] center finder camera

2014-05-05 Thread Jon Elson
On 05/05/2014 10:57 AM, Bari wrote: ~130um plated hole PCB VGA microscope http://imagebin.org/309193 Yes, I know the real microscopes can get an even higher resolution image, but I'm trying to come up with something small that will fit partly into the shank hole of an end mill holder. I'd

Re: [Emc-users] center finder camera

2014-05-04 Thread Bari
I'm using cameras and microscopes with Linuxcnc for vision based feature and defect detection. I'll try to update Camview and Camunits to easily work with Linuxcnc for edge detection, vision based homing, center finding, etc etc. These were taken with a Logitech C270 ~$30-40 permanently

Re: [Emc-users] center finder camera

2014-05-04 Thread Jon Elson
On 05/04/2014 10:55 AM, Bari wrote: I'm using cameras and microscopes with Linuxcnc for vision based feature and defect detection. I'll try to update Camview and Camunits to easily work with Linuxcnc for edge detection, vision based homing, center finding, etc etc. These were taken with a

Re: [Emc-users] center finder camera

2014-05-04 Thread Bari
On 05/04/2014 06:19 PM, Jon Elson wrote: PCB Traces http://imagebin.org/308970 Those clearly are not good enough for sub-.001 edge finding. Those were taken at 2 different distances. The second one (at the link above) is good enough, but I'm not sure how sub 25um you want to go. I have one

Re: [Emc-users] center finder camera

2014-05-04 Thread Jon Elson
On 05/04/2014 06:50 PM, Bari wrote: http://imagebin.org/309060 Taken of a 6 mil pcb trace with the VGA res microscope that you're waiting for. And that one looks pretty good. I'll have to see how good a picture it gives of the typical edge of a machined part, with possibly too much contrast

Re: [Emc-users] center finder camera

2014-05-04 Thread Bari
On 05/04/2014 09:51 PM, Jon Elson wrote: And that one looks pretty good. I'll have to see how good a picture it gives of the typical edge of a machined part, with possibly too much contrast to display perfectly. But, this could well do as good a job as a typical cheap edge finder. That

Re: [Emc-users] center finder camera

2014-05-04 Thread Steve Blackmore
On Sun, 04 May 2014 18:19:14 -0500, you wrote: Those images are not real close-up either, but Steve Blackmore seems to indicate it will focus a lot closer. I'll see when mine comes in. Jon - http://imagebin.org/309092 Tip of camera just touching surface. That's a 0.1mm gap set on the jaws of

Re: [Emc-users] center finder camera

2014-05-03 Thread Frederic RIBLE
Le 2014-05-03 04:50, Jon Elson a écrit : There is a pic from the HD5000 webcam in the Wiki at http://wiki.linuxcnc.org/cgi-bin/wiki.pl?Adding_Digital_Zoom_To_Camview-Emc that is not very impressive, you might be able to get it within .1mm but that's about it. I would like to clarify an

Re: [Emc-users] center finder camera

2014-05-03 Thread andy pugh
On 3 May 2014 03:56, Jon Elson el...@pico-systems.com wrote: Hmm, well, a 4 second lag is pretty bad, if you are using it to center parts under the spindle. What resolution is that camera? It seems the lower res ones may have faster update. I bought this one:

Re: [Emc-users] center finder camera

2014-05-03 Thread Jon Elson
On 05/03/2014 02:51 AM, Frederic RIBLE wrote: I would like to clarify an important fact: the picture from the wiki is taken with a workpiece / camera distance of 100mm. At this distance, I achieved better than 0.05 mm accuracy, but with uncomfortable conditions. I agree, 0.1mm is the

Re: [Emc-users] center finder camera

2014-05-03 Thread Jon Elson
On 05/03/2014 06:23 AM, andy pugh wrote: On 3 May 2014 03:56, Jon Elson el...@pico-systems.com wrote: Hmm, well, a 4 second lag is pretty bad, if you are using it to center parts under the spindle. What resolution is that camera? It seems the lower res ones may have faster update. I bought

Re: [Emc-users] center finder camera

2014-05-03 Thread Gene Heskett
On Saturday 03 May 2014 12:39:35 Jon Elson did opine: On 05/03/2014 06:23 AM, andy pugh wrote: On 3 May 2014 03:56, Jon Elson el...@pico-systems.com wrote: Hmm, well, a 4 second lag is pretty bad, if you are using it to center parts under the spindle. What resolution is that camera? It

Re: [Emc-users] center finder camera

2014-05-03 Thread Jon Elson
On 05/03/2014 12:02 PM, Gene Heskett wrote: I think what one wants isn't the microscope, but something with effectively a long telephoto, so you can get far enough away from the work to see what you are doing visually too, not to mention having the camera far enough away that you can just

Re: [Emc-users] center finder camera

2014-05-03 Thread Jon Elson
On 05/03/2014 12:02 PM, Gene Heskett wrote: I think you can make arguments both ways Jon. You are looking for accuracy that exceeds the machines accuracy in most cases, and the depth of field of those ranges downward from 2mm or worse depending of the F-stop of the lens. Over relatively

Re: [Emc-users] center finder camera

2014-05-03 Thread W. Martinjak
On 2014-05-02 19:42, Philipp Burch wrote: Hi everyone, not that I knew about a good camera for this, but since it somehow fits the topic, let me just briefly say a few words to an alignment software I made some time ago. Under http://hb9etc.ch/hg/aligner you can find some code which allows

Re: [Emc-users] center finder camera

2014-05-03 Thread kqt4at5v
On Sat, 3 May 2014, Jon Elson wrote: On 05/03/2014 06:23 AM, andy pugh wrote: On 3 May 2014 03:56, Jon Elson el...@pico-systems.com wrote: Hmm, well, a 4 second lag is pretty bad, if you are using it to center parts under the spindle. What resolution is that camera? It seems the lower res

Re: [Emc-users] center finder camera

2014-05-03 Thread W. Martinjak
Wow, it works very well. Congrat and thanks! matsche -- In der Wissenschaft siegt nie eine neue Theorie, nur ihre Gegner sterben nach und nach Max Planck -- Accelerate Dev Cycles with Automated Cross-Browser Testing

Re: [Emc-users] center finder camera

2014-05-03 Thread Steve Blackmore
On Sat, 03 May 2014 11:24:14 -0500, you wrote: On 05/03/2014 02:51 AM, Frederic RIBLE wrote: I would like to clarify an important fact: the picture from the wiki is taken with a workpiece / camera distance of 100mm. At this distance, I achieved better than 0.05 mm accuracy, but with

Re: [Emc-users] center finder camera

2014-05-03 Thread Steve Blackmore
On Sat, 03 May 2014 14:57:46 -0500, you wrote: On 05/03/2014 12:02 PM, Gene Heskett wrote: I think what one wants isn't the microscope, but something with effectively a long telephoto, so you can get far enough away from the work to see what you are doing visually too, not to mention

Re: [Emc-users] center finder camera

2014-05-03 Thread Jon Elson
On 05/03/2014 04:41 PM, kqt4a...@gmail.com wrote: http://www.adafruit.com/blog/2012/06/28/adafruit-usb-microscope-work-with-linux-yes/ Yup, there are a bunch of people selling these on eBay, but they are a large diameter and might be hard to mount to a spindle. That's why I thought those 7 and

Re: [Emc-users] center finder camera

2014-05-03 Thread Jon Elson
On 05/03/2014 07:09 PM, Steve Blackmore wrote: Jon - Mine's a Supereyes B005 - I'm very impressed with it. Manual focus range is excellent. They list it as Magnification = 1/10-200X It will focus with the camera touching an object or as far away as you like. Easy to mount too as it's slim

[Emc-users] center finder camera

2014-05-02 Thread Jon Elson
I know there has been some discussion about using cameras for center/edge finding with LinuxCNC. I just found a camera/microscope that looks REALLY ideal, but have no idea if there is a Linux driver for the camera chip. See eBay item

Re: [Emc-users] center finder camera

2014-05-02 Thread Charles Steinkuehler
On 5/2/2014 10:15 AM, Jon Elson wrote: But, the eBay listing only specifies XP drivers. So, does anybody know how to find out whether there is a Linux driver for this camera? Any other comments on suitability of this unit? There's likely no way to figure out what the chip is without

Re: [Emc-users] center finder camera

2014-05-02 Thread steve
On Fri 02/05/14 17:15 , Jon Elson el...@pico-systems.com wrote: I know there has been some discussion about using cameras for center/edge finding with LinuxCNC. I just found a camera/microscope that looks REALLY ideal, but have no idea if there is a Linux driver for the camera chip. Jon -

Re: [Emc-users] center finder camera

2014-05-02 Thread andy pugh
On 2 May 2014 16:15, Jon Elson el...@pico-systems.com wrote: eBay item # is 321060396782 if the above line is messed up. I have a similar one, I just tried it with Precise and Cheese and it Just worked -- atp If you can't fix it, you don't own it. http://www.ifixit.com/Manifesto

Re: [Emc-users] center finder camera

2014-05-02 Thread Eric Keller
That looks very similar to the one I have and I'm not unhappy I bought it, but the optics didn't work for what I wanted to use it for. Which was pretty much an edge finding operation. It just worked with linux, although I went to some trouble prior to that to set up a more expensive usb

Re: [Emc-users] center finder camera

2014-05-02 Thread Gene Heskett
On Friday 02 May 2014 12:14:04 Jon Elson did opine: I know there has been some discussion about using cameras for center/edge finding with LinuxCNC. I just found a camera/microscope that looks REALLY ideal, but have no idea if there is a Linux driver for the camera chip. See eBay item

Re: [Emc-users] center finder camera

2014-05-02 Thread Philipp Burch
Hi everyone, not that I knew about a good camera for this, but since it somehow fits the topic, let me just briefly say a few words to an alignment software I made some time ago. Under http://hb9etc.ch/hg/aligner you can find some code which allows a cheap camera to be used for automatic

Re: [Emc-users] center finder camera

2014-05-02 Thread TIM
, --Tim - Original Message - From: Jon Elson el...@pico-systems.com To: Enhanced Machine Controller (EMC) emc-users@lists.sourceforge.net Sent: Friday, May 2, 2014 11:15:21 AM Subject: [Emc-users] center finder camera I know there has been some discussion about using cameras for center

Re: [Emc-users] center finder camera

2014-05-02 Thread Phill Carter
Gene, I had the same lag problem so I adjusted saturation and hue to 0, result is almost no lag monochrome is fine for edge finding. Cheers, Phill On May 3, 2014 2:31:59 AM GMT+10:00, Gene Heskett ghesk...@wdtv.com wrote: On Friday 02 May 2014 12:14:04 Jon Elson did opine: I know there has

Re: [Emc-users] center finder camera

2014-05-02 Thread Jon Elson
On 05/02/2014 10:28 AM, andy pugh wrote: On 2 May 2014 16:15, Jon Elson el...@pico-systems.com wrote: eBay item # is 321060396782 if the above line is messed up. I have a similar one, I just tried it with Precise and Cheese and it Just worked There are a bunch of similar units. Some are

Re: [Emc-users] center finder camera

2014-05-02 Thread Jon Elson
On 05/02/2014 10:28 AM, andy pugh wrote: On 2 May 2014 16:15, Jon Elson el...@pico-systems.com wrote: eBay item # is 321060396782 if the above line is messed up. I have a similar one, I just tried it with Precise and Cheese and it Just worked OK, well, that is good news. We got two

Re: [Emc-users] center finder camera

2014-05-02 Thread Jon Elson
On 05/02/2014 11:31 AM, Gene Heskett wrote: I have one similar to that Jon, paid 22$ for it on fleabay, and am using the camunits drivers. Other than the lag of the image getting thru all the filters, about 4 seconds to update the screen when you move it, Hmm, well, a 4 second lag is pretty

Re: [Emc-users] center finder camera

2014-05-02 Thread Gene Heskett
On Friday 02 May 2014 23:38:39 Phill Carter did opine: Gene, I had the same lag problem so I adjusted saturation and hue to 0, result is almost no lag monochrome is fine for edge finding. Cheers, Phill Aha! So I'm not the only oh look, a pony type out here, thanks for waving your arm.

Re: [Emc-users] center finder camera

2014-05-02 Thread Gene Heskett
On Friday 02 May 2014 23:51:25 Jon Elson did opine: On 05/02/2014 11:31 AM, Gene Heskett wrote: I have one similar to that Jon, paid 22$ for it on fleabay, and am using the camunits drivers. Other than the lag of the image getting thru all the filters, about 4 seconds to update the