Description
NOTE - UPDATED PACKAGES TO REMOVE DEPENDENCY TO OLD LIBRARIES. NO CODE CHANGE HAVE BEEN MADE
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.
NOTE: This version contains a "Time Sync Server". This VI should be placed alone (not in a loop) in Periodic Tasks.
NOTE: Additional testing needs to be done on april tag "pnp distance trig solve" strategy. If you have issues please submit issues via github.
Installation
Prerequisites:
- The WPILib LabVIEW Math library 2026.0 (or newer) is required by this release. The library can be found here.
https://github.com/jsimpso81/WPILibMathLabVIEW/releases/latest
To install:
- Download the "photonvisionlib-lv2025_2026.1.*_windows_all.nipkg" install file (The * is replaced with the library version number.)
- Double click the "photonvisionlib-lv2025_2026.1.*_windows_all.nipkg" file. (Administrator permissions are required to install) Previous versions will be upgraded.
Optionally to install the function examples (highly suggested):
- Download the "photonvisionlibexamples_2026.1.*.zip" file (The * is replaced with the library version number.)
- Create a new directory for the examples.
- Unzip the file to this new directory.
Removal
To uninstall:
- Open NI Package Manager. Select the package(s), then select uninstall.
What's New and Changed
- Added individual Execute functions for each april tag "strategy" to prepare for removal of the "strategy" enum.
- Add the april tag pnp distance trig solve "strategy". If you use this, make certain to call the add headings function periodically.
- Added new macros for the new functions.
Complete Change Log
Change log for previous releases.
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.