github wpilibsuite/allwpilib v2022.4.1
WPILib 2022.4.1 Release

latest releases: v2025.0.0-alpha-2, v2025.0.0-alpha-1, v2024.3.2...
2 years ago

This is the third update release of WPILib for the 2022 season.

Major Fixes

The Java runtime (JRE) on the roboRIO has been downgraded to the 2021 release to fix a deadlock issue. This was the actual root cause of the joystick bug in the 2022 kickoff release, and can also affect team code that uses Java synchronized blocks in other places. GradleRIO in 2022.4.1 projects will check the installed JRE on deploy and replace it with the 2021 version if necessary. Thanks to @sciencewhiz for isolating the issue and @ThadHouse for the GradleRIO fix.

Major New Features

High speed data logging for recording of telemetry data (including NetworkTables and joystick data) to a file on the robot (or USB stick if present). A new desktop Data Log Tool has been added to make it easy to download these files from the robot and convert them to CSV. Contributed by @PeterJohnson in #3780

Other Significant Changes

WPILib

Commands

  • Add "until" as alias for "withInterrupt" by @Oblarg in #3981

SysId

Glass

Sim GUI

Various other contributions by @calcmogul, @virtuald, @modelmat, and @sciencewhiz. Welcome new contributors @carelesshippo, @jonahsnider, @LennyAbbas, and @AJahueyM!

RoboRIO Image Requirements

Important: As was the case with 2022.3.1, RoboRIO image 2022_v4.0 is required to use this release; this is installed by National Instruments FRC Game Tools 2022 f1 (note the "f1" in the version number). After installing 2022 f1, use the RoboRIO Imaging Tool to reimage your RoboRIO to 2022_v4.0. This release will not work with earlier 2022 RoboRIO images and will error out if a deploy is attempted to an earlier version.

Upgrading

Upgrading WPILib from earlier 2022 releases is easy: simply download and run the new installer and it will update your current installation. If you already have the 2022 WPILib vscode installed, it will detect it and you can simply click "next" for that installation step. After installation, vscode will prompt you when opening your robot project whether you want to upgrade it to this version. Note running the installer is necessary to install upgraded desktop tools.

Documentation

The documentation for WPILib is located at https://docs.wpilib.org/ (if you have trouble accessing this location, https://frcdocs.wpi.edu/en/stable/ is an alternate location with the same content).

If you're new to FRC, start with Getting Started.

If you're returning from a previous season, check out what's new for 2022; be sure to read through this, as a lot has changed from 2021! You will need a new RoboRIO image for 2022; this is available via the FRC Game Tools. Follow the WPILib installation guide to install WPILib.

If you're starting from a 2020 or 2021 robot project, you will need to import your project to create a 2022 project. The import process is particularly important for 2022, as it will make a number of automated corrections for the various breaking package moves/renames that happened in 2022.

Known Issues

A complete list of known issues with this release can be found here. In particular, there is a warning against using the "onboard" I2C port (the MXP I2C port does not have an issue).

Development Team

WPILib is developed by a small team of volunteers and the FIRST community.

Hashes

MD5 Hashes

fe77f689d5da5f5d3b167f5ae50429b2  Linux/WPILib_Linux-2022.4.1.tar.gz
d8540a37a842e4cbefd311d0e9412155  Win32/WPILib_Windows32-2022.4.1.iso
9f867a4a8a7a48169668e75feba51d28  Win64/WPILib_Windows64-2022.4.1.iso
d22337a0b7a67ee4fb2358d5ce15f697  macOS/WPILib_macOS-2022.4.1.dmg

SHA256 Hashes

a3e95aac645c9a4fafcf65db552ae9bebf39cd574e516edeaa29ac735d1849e4  Linux/WPILib_Linux-2022.4.1.tar.gz
3e4bcefd1d312c9d90bef9945b8fea1c93275584f16d7480f1d25aafa38cd8bf  Win32/WPILib_Windows32-2022.4.1.iso
ef872a4d96d1d854891e46b987f34aec868a9cfb3fe835e578def0a7874a67ff  Win64/WPILib_Windows64-2022.4.1.iso
c9d936c83cbec3d2a647c8a9d07228a93f28ce2b3be8ce2438451a85cb25c03f  macOS/WPILib_macOS-2022.4.1.dmg

Don't miss a new allwpilib release

NewReleases is sending notifications on new releases.