FRC Software library Installation
Table of Contents
Modified: January 7, 2025
Introduction
This library supports the Venom motor/controller as well as the CAN enabled Time of Flight sensor. Both online and offline installation is supported. See the WPILib 3rd party library information page for more information.
At a Glance
C++/Java Json URL for online installation: https://www.playingwithfusion.com/frc/playingwithfusion2026.json
Online C++ and Java driver installation
The Playing With Fusion (PWF) control library (PlayingWithFusionDriver) can be imported into a robot project directly from Visual Studio Code. The following steps will download the latest version of the driver from the Playing With Fusion website.
- Click on the WPILib Command Pallet icon on the top right corner of the VS Code window.
- Select WPILib: Manage Vendor Libraries
- Then select Install new library (online) end enter the following URL:
- https://www.playingwithfusion.com/frc/playingwithfusion2026.json
- Or for the 2025 robotRIO image:https://www.playingwithfusion.com/frc/playingwithfusion2025.json
- Or for the 2024 roboRIO image: https://www.playingwithfusion.com/frc/playingwithfusion2024.json
- Or for the 2023 roboRIO image: https://www.playingwithfusion.com/frc/playingwithfusion2023.json
- Or for the 2022 roboRIO image: https://www.playingwithfusion.com/frc/playingwithfusion2022.json
- Or for the 2021 roboRIO image: https://www.playingwithfusion.com/frc/playingwithfusion2021.json
- Or for the 2020 roboRIO image: https://www.playingwithfusion.com/frc/playingwithfusion2020.json
- Or for the 2019 roboRIO image: https://www.playingwithfusion.com/frc/playingwithfusion2019.json
If everything works, a folder named vendordeps will be created in the root directory of the project and will contain a file named playingwithfusion2025.json.
Offline C++ and Java driver installation
The PWF library may also be installed without an internet connection. First, download the latest version of PlayingWithFusionLibrary2026.zip
Once the driver files are available, preform the following steps:
- Unzip the PlayingWithFusionDriver zip file to C:\Users\Public\wpilib\2025\ under Windows or ~/wpilib/2025/ under Mac/Linux.
- If asked to merge, select yes.
- This zip file includes the driver libraries (so files), C++ header files, Java source as well as the JSON file which is used by the FRC build system to identify the Playing With Fusion driver.
If everything works a folder named vendordeps will be created in the root directory of the project and will contain a file named playingwithfusion.json.
LabVIEW Driver Installation
The Venom LabVIEW library may be installed without an internet connection. First, download the latest versions of libPlayingWithFusionDriver.zip and playing_with_fusion_lib_for_frc-*.vip.
Once the driver files are available, preform the following steps:
- Copy libPlayingWithFusionDriver.so, libwpinet.so and libwpiutil.so from the libPlayingWithFusionDriver.zip into the /usr/local/frc/third-party/lib folder on the roboRIO. All three so files must be present in order for the RIO to sucessfully open libPlayingWithFusion.so See the FRC roboRIO SFTP instructions for more details.
- Reboot the RIO. It will not load libPlayingWithFusionDriver.so until the next reboot after the library uploaded or modified.
- Double click on the *.vip file. This will open the LabVIEW Package Manager
- Click the Install button
Related Files
No related files.
External Links
| GitHub: FRC_Libraries | FRC C++/Java and LabView Libraries for roboRIO |