Installing Pre-Release Versions
Pre-release/development version of PhotonVision can be tested by installing/downloading artifacts from Github Actions (see below), which are built automatically on commits to open pull requests and to PhotonVision’s master
branch, or by compiling PhotonVision locally.
Warning
If testing a pre-release version of PhotonVision with a robot, PhotonLib must be updated to match the version downloaded! If not, packet schema definitions may not match and unexpected things will occur. To update PhotonLib, refer to installing specific version of PhotonLib.
GitHub Actions builds pre-release version of PhotonVision automatically on PRs and on each commit merged to master. To test a particular commit to master, navigate to the PhotonVision commit list and click on the check mark (below). Scroll to “Build / Build fat JAR - PLATFORM”, click details, and then summary. From here, JAR and image files can be downloaded to be flashed or uploaded using “Offline Update”.
Built JAR files (but not image files) can also be downloaded from PRs before they are merged. Navigate to the PR in GitHub, and select Checks at the top. Click on “Build” to display the same artifact list as above.