Skip to content

Releases: PhotonVision/photonvision

Latest Development Version

10 Jul 18:35
8c45fef
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

06 Jun 23:07
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.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.9

07 Mar 04:50
587ac47
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

27 Feb 18:57
7cec141
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.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.2.5

16 Feb 02:28
6a2d83e
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

05 Feb 15:11
0eb0a4e
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

03 Feb 18:37
bc55218
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