|
Vision Question
So I'm able to get the vision processing code to work fine when its connected to the laptop, only, when its in the intensity tabs. The color tab isn't able to recognize the rectangle for me. I'm wondering how I would change the code so that when the vision processing is running on the robot, it automatically uses the intensity tab to find the distance.
Also I've noticed that when the hoop is angled away from the camera the distance starts to become off by about 1-3 ft. I tried correcting this by having the distance.vi use the top-bottom to calculate the distance, but then my distances were off by 5-8 ft.
If anyone could help me with these problems I would greatly appreciate it.
|