NEWS
LinuxCNC 2.5.2 Release
There are no translations available.

LinuxCNC 2.5.2 Update Released (changelog).
 
LinuxCNC 2.5.1 Release
There are no translations available.

LinuxCNC 2.5.1 Update Released (changelog). If the Package Manager does not prompt you to upgrade see this page.

 
LinuxCNC 2.5.0 Release
There are no translations available.

New major release (changelog). See the instructions to update your system from EMC 2.4 to LinuxCNC 2.5.
 
Home Forum Configuring LinuxCNC Advanced Configuration OpenCV vision with EMC/linuxcnc

Welcome, Guest
Username: Password: Remember me

TOPIC: OpenCV vision with EMC/linuxcnc

Re:OpenCV vision with EMC/linuxcnc 23 Mai 2012 06:06 #20290

  • BigJohnT
  • BigJohnT's Avatar
  • OFFLINE
  • Administrator
  • Posts: 4964
  • Thank you received: 88
  • Karma: 134
btvpimill wrote:
There ya go being all practical and what not :)

You mean since I can't even see through the doors, The inside mounted camera would be blind also? Hmmm thats a tough nut to crack. Now you got me thinking about scara mounted camera to move in when needed much like my touch probe does on my lathe..

Something like that would work if you make a good drip shield for the top... a touch probe does sound more practical for tool setting.

John
The administrator has disabled public write access.

Re:OpenCV vision with EMC/linuxcnc 23 Mai 2012 06:58 #20292

  • edsimmons
  • edsimmons's Avatar
  • OFFLINE
  • Junior Boarder
  • Posts: 22
  • Karma: 0
YEs!

Have touch probe for milling, would still like to work on pick and place vision - where do I start as an experienced vision systems coder but EMC source novice? I know I've got to do a lot of reading, but some practical advice would be great ;)

Cheers,
Ed
The administrator has disabled public write access.

Re:OpenCV vision with EMC/linuxcnc 23 Mai 2012 07:22 #20293

  • edsimmons
  • edsimmons's Avatar
  • OFFLINE
  • Junior Boarder
  • Posts: 22
  • Karma: 0
I'm slowly working my way through building example routines for all the core needs, detecting part presence, comparing to reference, detecting offsets as you mentuioned etc, but I'm keen to ensure that my approach will fit together with EMC without too much awful spaghetti code.

I'm sure I can do the vision, how much others are willing to help in this and other areas will largely decide the feasibilty/outcome. I'm sure given enough time I'd make my way to a working solution - it would be great to arrive at a sensible solution for a system including the definition of the pick locations etc.

Working from gEDA's PCB I get centroid and rotation data for PNP, from this I have a good idea of the control that's needed to make placement happen, it would be great if someone could work in tandem to decide on an approach for defining the pickup locations of the parts, reel dimensions and offsets etc.

Thanks!
Ed
The administrator has disabled public write access.

Re:OpenCV vision with EMC/linuxcnc 23 Mai 2012 07:29 #20294

  • edsimmons
  • edsimmons's Avatar
  • OFFLINE
  • Junior Boarder
  • Posts: 22
  • Karma: 0
Regarding keeping cameras clean in harsh environments, I have seen (but not used) a pinhole camera system that uses compressed air to keep the lens pinhole open and clean. These are supposedly great in placed like paper mills for viewing the sloppy bits of processes and would more than likely fair quite well in a lathe/mill environment if mounted in the right spot (and you weren't too concerned about the need to supply 20cfm air to a camera!)

Just a thought ;)
The administrator has disabled public write access.

Re:OpenCV vision with EMC/linuxcnc 23 Mai 2012 07:33 #20295

  • arch dude
  • arch dude's Avatar
  • OFFLINE
  • Junior Boarder
  • Posts: 26
  • Karma: 3
I am a hobbyist with my first CNC machine (a Probotix V90 mill.) I looked at using a webcam instead of limit switches, since the webcam would be cheaper and easier. Note that on this class of machine. exceeding the limits is merely embarrassing, not damaging.
(except for -Z, but that's another problem altogether.)

For this use, I would place the camera in a fixed position on the enclosure, behind the gantry, and use it to locate a square painted on the back of a piece of metal mounted to the Z axis. Accuracy need not be better than 0.1" and I suspect that just about any machine vision system, with just about any camera, could handle this single, trivial, completely reproducable problem.

Cost: limit switches are "only" about $2.00 apiece: you need 5 of them, plus you need to run the wires, plus you burn I/O pins. A cheap webcam costs about $20 except that I have several in my junk box, and you need only one fixed USB wire, not 5 moving wires.

A Webcam that can get you within .1" can be used in conjunction with a touchplate. Use the webcam to get close using rapids, then touch off for final accuracy.

I have not pursued this, since I have lots of other machine improvement projects in play. (I added the limit switches, but I would still prefer to use the camera.)
The administrator has disabled public write access.

Re:OpenCV vision with EMC/linuxcnc 23 Mai 2012 07:46 #20296

  • edsimmons
  • edsimmons's Avatar
  • OFFLINE
  • Junior Boarder
  • Posts: 22
  • Karma: 0
Are you saying you are not using the swtches for homing?
The administrator has disabled public write access.
Time to create page: 1.283 seconds
Powered by Kunena Forum
© 2013 LinuxCNC.org
Joomla! is Free Software released under the GNU General Public License.