V2026.00A WPILib LabVIEW Math - Control and Trajectory Library
NOTE - UPDATED TO ADD NEW PACKAGES WITHOUT DEPENDENCIES TO OLD LIBRARIES.
Description
This is a LabVIEW port of the math section of WPILib for the First FRC Robot Competition. This library implements almost all of the C++/Java WPILIB math library for LabVIEW users. This is a native port. The library includes some additional enhancements including digital sequential logic functions, PID autotune, and Simple Motor Feedforward Ka tuning helper. The library also includes a number of utility programs - robot simulators, and trajectory creation utilities.
As improvements are added and issues resolved, updates will be released throughout the FRC season as needed.
If there are questions, please ask via the github issues or via chiefdelphi.
Installation
IMPORTANT If version 2.x of this library are currently installed, open NI Package Manager and remove them before installing this new package. This is needed because of the package name change.
To install:
- Download the "wpilibmathlv25*.nipkg" install file (The * is replaced with the library version number.)
- Double click the "wpilibmathlv25*.nipkg" file. (Administrator permissions are required to install) Previous versions will be upgraded.
Optionally to install the function examples (highly suggested):
- If previous examples were manually installed, delete them from: "C:\Program Files (x86)\National Instruments\LabVIEW 2025\Examples\FRC\roboRIO\Math - Control and Trajectory".
- Download the "wpilibmathexamples*.nipkg" install file (The * is replaced with the library version number.)
- Double click the "wpilibmathexamples*.nipkg" file. (Administrator permissions are required to install) Previous versions will be upgraded.
Removal
To uninstall:
- Open NI Package Manager. Select the package(s), then select uninstall.
What's New and Changed Since 2025.1
- Added fields and april tags for 2026.
- Added new motors
Complete Change Log
Previous recent change logs:
V2025.01...V2025.02
V2025.00...V2025.01
V2024.01...V2025.00
V2024.00...V2024.01
V3.07...V2024.00
V3.06...V3.07
V3.05...V3.06
V3.04...V3.05
V3.03...V3.04
V3.02...V3.03
V3.01...V3.02
V2.12...V3.01
V2.12A...V2.12B
V2.12...V2.12A
V2.10...V2.12
Other Notes
The source code for the utility programs are now included in this repository.
There is a separate containing additional robot samples, and test programs. That repository can be found here: https://github.com/jsimpso81/WPIlibMathLabVIEW_Examples
Please report issues using github. I'll try to handle them in a timely manner (no promises however). Suggestions, and enhancements are always welcome.