Skip to content

2024.1.2A - PhotonVisionLabVIEW FRC 2024 - Update 1

Choose a tag to compare

@jsimpso81 jsimpso81 released this 13 Jan 00:32
· 27 commits to main since this release

Description

This is a LabVIEW implementation of PhotonVision Lib for the First FRC Robot Competition. This library implements almost all of the C++/Java PhotonVision library for LabVIEW users. This is a native port.

This version has been tested with the 2024.1.2 released version of PhotonVision (on a raspberry PI)

This is a small update from the initial 2024 release. Timestamp was added to the pose estimation execute function and to the menu macro.

Installation

Prerequisites:

To install:

  1. Download the "photonvisionlib-lv2020_2024.1.*_windows_all.nipkg" install file (The * is replaced with the library version number.) If you have LabVIEW 2023 use the lv2023 version.
  2. Double click the "photonvisionlib-lv2020_2024.1.*_windows_all.nipkg" file. (Administrator permissions are required to install) Previous versions will be upgraded. If you have LabVIEW 2023 use the lv2023 version.

Optionally to install the function examples (highly suggested):

  1. Download the "photonvisionlibexamples_2024.1.*.zip" file (The * is replaced with the library version number.)
  2. Create a new directory for the examples.
  3. Unzip the file to this new directory.

Removal

To uninstall:

  1. Open NI Package Manager. Select the package(s), then select uninstall.

What's New

  • Updates for the changes included in the 2024 version of photonvision. This includes April tag multi-target pose estimation done on the co-processor. Multi-tag estimation performed on the roboRIO is not supported at this time. (Better to let the co-processor do it anyway.)
  • Support for using a different network table variable base name instead of /photonvision.
  • Several additional queries, such as Camera GetVersion have been implemented.

What's Changed

  • Cleaner implementation of the PoseEstimation Execute function and its menu macro.
  • Added menu macro for non-April Tag target reading, and distance and yaw offsets.
  • Revised the packet format from the co-processor to match the 2024 version of photonvision. As such, this version is not compatible with 2023 and previous releases of photonvision. Upgrade the software on your co-processor.

Complete Change Log

Full Changelog: 2023.3...2024.1.2A

Change log for previous releases.

Full Changelog: 2023.2...2023.3
Full Changelog: 2023.1...2023.2
Full Changelog: 2022.3...2023.1

Known Bugs

  • None

Other Notes

Please report issues using github. I'll try to handle them in a timely manner (no promises however). Suggestions, and enhancements are always welcome.