We are going to try vision processing for the first time, so there is a lot we don’t know. We got a Pixy2 camera and we are able to communicate with it using the I2C connection to the RoboRIO, we are able to get x and y data.
The next step is to teach the camera to recognize the targets. We are not sure how to do this, we have tried putting the rocket and the cargo ship right on front of the camera but we are not able to capture just the reflective tape. Any ideas on how to accomplish this?
Let’s say we manage to teach the Pixy2 to recognize the target and we get (x,y) data back. How do I use the x data make the robot turn in the direction that we want to keep it center on the target?