This is Team 4373 RooBotics' vision code for the 2020 FIRST Robotics Infinite Recharge competition. It is designed to run on a Raspberry Pi coprocessor using the FRCVision image.
- Open the appropriate pipeline file from
pipelines/in GRIP and generate Java code - Change
import edu.wpi.first.wpilibj.vision.VisionPipelinetoimport edu.wpi.first.vision.VisionPipelinein the generated file - Place the Java file in the correct location (in the
javadirectory)
- Ensure Java 11 is properly installed and configured (check your
JAVA_HOMEenvironment variable) - Run
./gradlew build(this generates a jar file inbuild/libs)
- Open the Pi web dashboard at http://frcvision.local
- Go to the Application tab, select "Uploaded Java jar," and upload the
RooVision2020-all.jarfile inbuild/libs - Set the filesystem to "Writable"
- Click Save
- Set the filesystem back to "Read-Only"
To monitor output, go to the Vision Status tab on the web server.
- Run
./gradlew build - Run
./install.sh(replaces/home/pi/runCamera) - Run
./runInteractivein/home/piorsudo svc -t /service/camerato restart the service