|
|
|
![]() |
|
|||||||
|
||||||||
![]() |
| Thread Tools | Rate Thread | Display Modes |
|
#1
|
||||
|
||||
|
Finally releasing my peg vision code
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. |
|
#2
|
||||
|
||||
|
Re: Finally releasing my peg vision code
Quote:
|
|
#3
|
||||
|
||||
|
Re: Finally releasing my peg vision code
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.
|
|
#4
|
|||
|
|||
|
Re: Finally releasing my peg vision code
I saw you disconnect all the wires for the line border in the comparison.vi, then how are you suppose to change the value for line border?
|
![]() |
| Thread Tools | |
| Display Modes | Rate This Thread |
|
|