WPILib 2019.3.2 Update

I’m pleased to announce the availability of the 2019.3.2 update release of WPILib, the official FIRST libraries for robot programming in C++ and Java! This is an update to the 2019.2.1 and kickoff releases.

TL;DR: the 2019.3.2 release can be downloaded from GitHub.

The installation instructions for this this release are the same as for previous releases. However, for this update, it’s okay to skip reinstalling vscode, JDK, and the compiler if you already installed them.

After you install the update, vscode will prompt you when opening an older project whether or not you want to upgrade it to 2019.3.2. Note this has to be done on a per-project basis.

What’s Changed In This Release (since 2019.2.1)

WPILib

  • [CameraServer] Add switched “virtual” camera support via CameraServer.addSwitchedCamera()
  • [C++ CameraServer] Properly initialize default USB camera device number to zero so that plain StartAutomaticCapture() works
  • [CameraServer] startAutomaticCapture(VideoSource) now returns the created MjpegServer
  • [Java CameraServer] Some MjpegServer functions were mistakenly package-private, are now public
  • [CameraServer] VideoSink now supports configuration via JSON, similar to VideoSource
  • [CameraServer] Correctly handle USB cameras with integer menu settings
  • [CameraServer] Fix crash if invalid (null) source is set in MjpegServer
  • [Java] Make PIDBase setPIDSourceType and getPIDSourceType public
  • [Java] Fix Ultrasonic sensor runner thread to work with multiple ultrasonic sensors
  • [C++] Fix ShuffleboardComponent template type, WithWidget capitalization, and Windows simulation runtime issue
  • [C++/Java] Fix Watchdog printing of epochs after watchdog disable
  • [HAL] Allow multiple instances of the same PDP without flooding CAN bus
  • [HAL] Update GetStackTrace() to propertly report user errors
  • [NetworkTables] Fix quotes reading from persistent ini file
  • [Simulation] ds_socket Game-Specific Message is now properly initialized
  • [Simulation] Fix halsim DS button format
  • [Simulation] Remove prints and unnecessary items from Windows GetNetworkInterfaces()
  • [Simulation CameraServer] Add support for camera descriptions on Windows
  • [Simulation CameraServer] Add missing exposure property on Windows USB cameras

Shuffleboard

  • Fix robot preferences not having a search feature
  • Fix remotely-assigned number settings not being applied

RobotBuilder

  • Fix default command include path
  • Fix export of the PID getters in C++
  • Re-enable export to LiveWindow in C++ and fix deprecated usage

PathWeaver

  • No changes (we decided to not swap left and right at this late date, as we assume teams using PathWeaver have already made this swap in their code by this point)

Visual Studio Code Extensions

  • Build automatically upon opening new project. Building immediately after cloning from git or creating a new project helps ensure things are set up and working for offline use
  • Update tools when wpilib is updated online
  • Prevent multiple workspaces from crashing the extension
  • C++ Extension updated from 0.20.1 to 0.21.0

GradleRIO

  • Add debuginfo for GoogleTest binaries
  • Support for future v14 image

Known Issues and Workarounds

See http://wpilib.screenstepslive.com/s/currentCS/m/getting_started/l/1028964-known-issues

6 Likes

This topic was automatically closed 365 days after the last reply. New replies are no longer allowed.