FIRST Robotics Competition Discussions

cancel
Showing results for 
Search instead for 
Did you mean: 
Reply

FRC Vision Tracking

Solved!
Go to solution
Highlighted

FRC Vision Tracking

I was looking at the FRC examples and found 2017 Vision Example, I ran it and seen that it was using color threshold to find the target after messing with vision assistant but not for sure how it was able to measure the distance. could someone explain in great detail how it works and how I could implement in to the robot project code. our team is wanting to use it to detect and make correction when we go to score feul in the boiler any help will be greatly appreciated.

 

0 Kudos
Message 1 of 3
(863 Views)
Solution
Accepted by topic author RoboticsRocks
01-24-2017 09:52 AM

Re: FRC Vision Tracking

I looked into this, and it appears that the distance portion of the code was written for an earlier year, as it tries to detect a different set of stripes (for placing gears on the peg). When I edited it on my 64-bit laptop to adapt it for this season, certain low-level VIs appear grayed out and disabled. When I made the exact same edits on my 32-bit home desktop, this did not happen. Here are some screenshots of Cull and Group.vi and Rectangle Comparison.vi that show the grayed-out VIs. Hopefully this helps, and hopefully I can get some help too.

0 Kudos
Message 2 of 3
(800 Views)

Re: FRC Vision Tracking

what exactly do you need help with? I might be able to help I've been looking alot into Vision.

0 Kudos
Message 3 of 3
(761 Views)