Chief Delphi

Chief Delphi (http://www.chiefdelphi.com/forums/index.php)
-   NI LabVIEW (http://www.chiefdelphi.com/forums/forumdisplay.php?f=182)
-   -   Finally releasing my peg vision code (http://www.chiefdelphi.com/forums/showthread.php?t=154930)

flemdogmillion 08-02-2017 09:50

Finally releasing my peg vision code
 
4 Attachment(s)
It's not perfect, it needs tuning per robot/ring light, and the scoring method needs a lot of improvement, but it works. And if that's what you're looking for, this is for you.

This covers all the edits to Vision Processing.vi from the example boiler-targeting code that you need to do to match my code. These are not code snippets, so you cannot simply drag and drop this into your program.

If you want the challenge, make the scoring program even better.

Taggerun 08-02-2017 14:08

Re: Finally releasing my peg vision code
 
Quote:

Originally Posted by flemdogmillion (Post 1641966)
It's not perfect, it needs tuning per robot/ring light, and the scoring method needs a lot of improvement, but it works. And if that's what you're looking for, this is for you.

This covers all the edits to Vision Processing.vi from the example boiler-targeting code that you need to do to match my code. These are not code snippets, so you cannot simply drag and drop this into your program.

If you want the challenge, make the scoring program even better.

Now that it can target the peg, how do it get it to follow the peg during autonomous.

flemdogmillion 08-02-2017 14:13

Re: Finally releasing my peg vision code
 
Quote:

Originally Posted by Taggerun (Post 1642075)
Now that it can target the peg, how do it get it to follow the peg during autonomous.

I'm not taking away the entire challenge. You need it to turn the robot based on how far off you are. All the vision results are contained in Robot Global Data.vi, which is a collection of variables, and Normalized->Center->X is where you get how far off you are, ranging from -1 to 1.


All times are GMT -5. The time now is 01:59.

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