WPILib 2020.2.2 Update
We are pleased to announce the availability of the first 2020 update release (2020.2.2) of WPILib, the official FIRST libraries for robot programming in C++ and Java. This is an update to the Kickoff Release.
Machine Learning Technology Preview
As we teased in last week's blog post, our Machine Learning Technology Preview is now released and available for all teams to try out. The release includes documentation describing how to get machine learning running on your robot, over 4500 images from a real FRC field to train with (of which we have labeled 500 for you), and all the necessary robot software preinstalled in the FRCVision Raspberry Pi Image.
Advantages of using machine learning over traditional methods of object detection are that it is easy to recognize objects without retroreflective tape, it works under a variety of lighting conditions without branching, and it is able to recognize multiple types of elements at the same time.
You can get started taking a look at the documentation.
Changes in this Release
WPILib
Java
C++
- Implement missing definition of PIDController::SetPID() (#2239)
- Don't add CommandBase to LiveWindow (#2255)
- Fix default command name (#2256)
C++ and Java
- Add Axis enum to XboxController (#2253)
- Fix typos in color names (#2265)
- Hook old and new commands into LiveWindow (#2053)
New Command Framework
- [C++] Fix JoystickButton and POVButton (#2259)
- [Java, C++] Fix CommandScheduler.cancelAll() when called from outside the run loop (#2251)
- [Java] Make Button class concrete (#2244)
Documentation
- Fix search in Javadocs (#2229)
- Clarify AddressableLED constraints on number of drivers and LED string length (#2231)
Simulation
- Default simulation voltage to 12V with user rails active (#2224)
- Handle save file having window size=0 (#2260)
- Fix SPI DIO count (#2272)
PathWeaver
- Fix waypoint arrow rotation (#164)
- Add field image for 2020 Infinite Recharge field image (#172)
- Fix error handling when exporting paths (#169)
RobotBuilder
Installation Instructions
The installation instructions for this release are the same as for 2020.1.2. However for this update, it is okay to skip reinstalling Visual Studio Code, the JDK, and the compiler if you already installed them with 2020.1.2.
After you install the update, VS Code will prompt when opening an older project whether or not you want to upgrade it to 2020.2.2.