Skip to content

Releases: PhotonVision/photonvision

Latest Development Version

10 Jul 18:35
24fb6af
Compare
Choose a tag to compare
Pre-release

This release contains the latest version of Photon Vision based on the code on the master branch. This code is not as well-tested as the latest stable release! Use at your own risk.

v2024.3.1

03 Aug 19:47
Compare
Choose a tag to compare

First major release in way too long! Includes critical bug fixes for Orange Pi object detection crashing/showing no stream/heartbeat freezing, and a new base Orange Pi image. The new base image boots faster without networking and includes other improvements.

Important

Teams with Orange Pis will need to reflash using the v2024.3.1 image. Make sure to export your settings (and keep a backup somewhere safe) prior to doing this. If you've got a spare SD card, try to flash it instead so you've got a known-good hot-spare.

Important

The Orange Pi NetworkManager interface name changed to "netplan-zz-all-eth" -- make sure to have this selected in the dropdown
image

Note

Teams not using Orange Pi's probably don't need to update, and base images have not changed so a reflash is not required.

Major changes

Other changes

  • Bump WPILib to 2024.3.2 by @mcm001 in #1283
  • Opencv cal: CALIB_USE_LU and use camera focal length guess by @mcm001 in #1268
  • Disable camera orientation option when camera is calibrated by @philltran in #1277
  • Add proper exposure range for OV2311 by @gautvm in #1282
  • Set default pipeline idx in PipelineManager constructor by @mcm001 in #1286
  • Free native resources in apriltag pipelines by @mcm001 in #1272
  • Release letterboxed frame in rknn pipe by @mcm001 in #1289
  • Recreate user pipeline on type change by @mcm001 in #1290
  • Fix wpiformat by @mcm001 in #1291

New Contributors

Full Changelog: v2024.2.9...v2024.3.1

v2024.2.9

04 Aug 16:27
Compare
Choose a tag to compare

Fixes mrcal calibration bug with non-square calibration targets, and implements a incrementally expanding optimization approach to match the behavior of mrcal-calibrate-cameras. We solve first for chessboard pose only, then board pose and pinhole coefficients, then board pose and full camera intrinsics with outlier rejection (but not board warp), and then finally everything.

What's Changed

Full Changelog: v2024.2.8...v2024.2.9

v2024.2.8

04 Aug 16:27
Compare
Choose a tag to compare

Addresses a bug in 2024.2.7 that prevented configs for CSI cameras being saved.

What's Changed

Full Changelog: v2024.2.7...v2024.2.8

v2024.2.5

04 Aug 16:27
Compare
Choose a tag to compare

What's Changed

  • Check empty mean errors in calibration card by @mcm001 in #1229 . This manifests as a weird empty calibration table with the wrong resolutions.
  • fix latency calculation by @gerth2 in #1227
  • Fix cpp and java photoncamera names in "Aim at Target" example by @DeltaDizzy in #1230
  • Upload docs to VPS via SFTP by @mcm001 in #1235

Full Changelog: v2024.2.4...v2024.2.5

v2024.2.4

04 Aug 16:27
Compare
Choose a tag to compare

What's Changed

Includes a fix for Spinel OV9281s that report duplicate video modes/calibration happening at the wrong resolution. Please create issues/drop by Discord if you still have issues!

New Contributors

Full Changelog: v2024.2.3...v2024.2.4

v2024.2.3

04 Aug 16:27
Compare
Choose a tag to compare

More small bugfixes, including reduced bandwidth on initial connection and during calibration to address instability in bandwidth limited setups.

What's Changed

New Contributors

Full Changelog: v2024.2.2...v2024.2.3

v2024.2.2

04 Aug 16:27
Compare
Choose a tag to compare

What's Changed

Minor QOL changes and object detection bugfixes!

  • Sort object detection results and expose controls in UI by @mcm001 in #1173
  • Fixed cpp sim apriltag layout and cleaned up cpp sim example by @r4stered in #1190
  • Remove extra println that was used for debugging by @crschardt in #1193

Full Changelog: v2024.2.1...v2024.2.2

v2024.2.1

04 Aug 16:27
Compare
Choose a tag to compare

What's Changed

New Contributors

Full Changelog: v2024.2.0...v2024.2.1

v2024.2.0

04 Aug 16:27
Compare
Choose a tag to compare

What's Changed

First big feature update of 2024! Brings (still incubating!) object detection using RKNN with a hard-coded YOLOv5 model trained on notes, and an (also new) LimeLight 3 image. Now that features work we'll be changing gears to focus on documenting new things. As always please reach out on Discord with journalctl logs if you encounter any issues!

The nitty gritty

RKNN is the neural network accelerator hardware built into rockchip CPUs using on SBCs like the Orange Pi 5. We're able to use this hardware to massively accelerate certain math operations like those needed for running ML-based object detection. The code for that lives here, and publishes to Maven. Our pre-trained note model lives here, and NeuralNetworkModelManager deals with extracting that to disk. If a file named "note-640-640-yolov5s.rknn" and labels.txt does not exist at photonvision_config/models/, it'll be extracted from the JAR -- otherwise, the one already on disk will be used. This technically allows power users to replace the model and label files with new ones without rebuilding photon, though this feature is still largely untested, too.

Full Changelog: v2024.1.5...v2024.2.0