The Raspberry Pi can be used to process images from a camera. From the camera we would like to identify the red and/or blue ball and the shooting target. GRIP can be used to create an image processing pipeline for use on the Raspberry Pi a description of using GRIP and how to generate code from it is given here: https://docs.wpilib.org/en/stable/docs/software/vision-processing/grip/index.html
Once the targets are identified we will need to measure the distance and angle to the target so that we can move the robot to the target.
The Raspberry Pi can be used to process images from a camera. From the camera we would like to identify the red and/or blue ball and the shooting target. GRIP can be used to create an image processing pipeline for use on the Raspberry Pi a description of using GRIP and how to generate code from it is given here: https://docs.wpilib.org/en/stable/docs/software/vision-processing/grip/index.html
Once the targets are identified we will need to measure the distance and angle to the target so that we can move the robot to the target.