Skip to content

Releases: PhotonVision/photonvision

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

v2024.3.0

18 Mar 21:13
5dc70e4
Compare
Choose a tag to compare
v2024.3.0 Pre-release
Pre-release

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.0 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.

Known issues

  • RKNN pipeline doesn't release the letterboxed frame
  • On first boot, camera will not switch pipelines without toggling drivermode on and then off

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

New Contributors

Full Changelog: v2024.2.9...v2024.3.0

v2024.2.7

21 Feb 19:13
ec66645
Compare
Choose a tag to compare
v2024.2.7 Pre-release
Pre-release

Caution

These is a known bug with this release that causes CSI cameras (this includes limelight and raspberry pi cameras) to not be matched to saved configs. A patch is currently in the works.

v2024.2.7

This release contains camera matching updates and other misc changes. The major addition is of the Strictly match ONLY known cameras switch in the device control card, which will ONLY match cameras by the USB port they're plugged into + (basename or USB VID/PID), and never only by the device product string. This also disables automatic detection of new cameras.

image

Major Changes

Full Changelog: v2024.2.6...v2024.2.7

v2024.2.6

16 Feb 21:28
428f926
Compare
Choose a tag to compare
v2024.2.6 Pre-release
Pre-release

Caution

Please see the known issues, updating to this version may cause setting loss! Use at your own risk.

Contains a pretty fundamental rewrite of camera matching logic to improve robustness. As such treat this release with a decent dose of paranoia and reach out with current run/journalctl logs if things are being weird.

We now match cameras in this priority order, with all cameras being matched by each strategy before trying the next:

  • By physical usb port path and base name and USB VID/PID
  • by physical usb port path and USB VID/PID
  • By base name only (with a toggle switch in the networking card to disable this, and create a new VisionModule instead)

We also now give cscore the /dev/video/by-path camera path on Linux systems, pinning Photon USBCameras to a particular usb port once created instead of the video index (/dev/videoN).

Known issues

  • Existing camera settings might not be properly matched on first boot, causing settings/calibrations to be lost in particular setups. Root cause here still under investigation

What's Changed

  • Load libwinpthread-1.dll before libgcc_s_seh-1 by @mcm001 in #1228
  • Actually properly match cameras by name fr this time by @mcm001 in #1237

Full Changelog: v2024.2.5...v2024.2.6

v2024.1.5

16 Jan 03:38
Compare
Choose a tag to compare

What's Changed

  • [photon-lib java] Make targeting classes extend ProtobufSerializable by @ArchB1W in #1156
  • Bind-mount repo in image builder by @mcm001 in #1157 (reduces total image size again)
  • Update spotless by @rzblue in #1162
  • Load libquadmath on Windows by @mcm001 in #1163 (Mrcal calibration fixes for Windows)

New Contributors

  • @ArchB1W made their first contribution in #1156

Full Changelog: v2024.1.4...v2024.1.5