Chief Delphi

Chief Delphi (http://www.chiefdelphi.com/forums/index.php)
-   NI LabVIEW (http://www.chiefdelphi.com/forums/forumdisplay.php?f=182)
-   -   Vision for Peg (http://www.chiefdelphi.com/forums/showthread.php?t=154777)

idoshamir 05-02-2017 13:55

Vision for Peg
 
Hi,

We are looking into Vision Targeting the LED Peg in order to be able to auto place a gear on target.

We looked into LabVIEW 2017 Vision examples and we have Low Goal and LED Boiler but no examples for the Peg.

Has someone got any idea how to do this right?

Thanks in advance.

flemdogmillion 05-02-2017 13:58

Re: Vision for Peg
 
I have ideas, somewhere on a flash drive the ideas are in code. I'll upload screenshots once I get around to it. For now, you should definitely look into the high goal examples, both the RIO and computer ones. Figure out how they work, then change Cull and Group.vi, Rectangle Comparison.vi, and Calculate Distance.vi to suit your needs.

idoshamir 07-02-2017 10:08

Re: Vision for Peg
 
That would be great if you could post some helpful tips.
Thanks!

flemdogmillion 07-02-2017 14:05

Re: Vision for Peg
 
1 Attachment(s)
Quote:

Originally Posted by idoshamir (Post 1641544)
That would be great if you could post some helpful tips.
Thanks!

I've already given you some tips, but here is an image you can feed into a copy of the on-computer vision example so that you can test your edits to distance and score calculation code without access to a robot. I'll upload my code edits if you insist, but I'd hate to take away the challenge.

flemdogmillion 08-02-2017 09:58

Re: Vision for Peg
 
My code is in this thread: https://www.chiefdelphi.com/forums/s...d.php?t=154930


All times are GMT -5. The time now is 22:36.

Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2017, Jelsoft Enterprises Ltd.
Copyright © Chief Delphi