This article details known issues (and workarounds) for FRC Control System Software.
VSCode failing to launch offline (no network present)
There are reports that on some builds of Windows 10 (build 1809), VSCode may fail to launch if no network is present (note: this is different than no internet present).
Workaround: Install the Microsoft Loopback Adapter
- Access the Device Manager (typically by clicking start and typing Device Manager)
- Click the Network Adapter Catagory
- Click the Action menu from the top bar and select Add Legacy Hardware
- Click Next on the window that pops up
- Select the second option to install manually
- Select "Network Adapter" and click Next. You will need to wait a bit for the next screen to populate.
- Select Microsoft in the Manufacturer pane, then Microsoft Loopback Adapter in the right pane.
- Click Next twice to install the adapter, then Finish to close the window.
Driver Station Dashboard launching
Issue: When selecting SmartDashboard or Shuffleboard in the FRC Driver Station, the programs fail to launch.
Workaround: Use the Desktop icons to launch the desired dashboard manually.
Solution: Fixed in 2019.1.0 NI Update Suite
C++ Intellisense - Files Open on launch don't work properly
Issue: In C++, files open when VS Code launches will have issues with Intellisense showing suggestions from all options from a compilation unit and not just the appropriate ones. This is a bug in VS Code
Workaround: Close the files in VS Code, close VS Code, wait ~ 1 min, re-launch VS Code.
Auto SPI Does not work in v12 image (affects Analog Devices IMUs and Gyro))
The Auto SPI functionality used by Analog Devices IMUs (ADIS16448 and ADIS16470) and Gyro (ADXRS450) does not work correctly in the 2019-v12 image that is part of the kickoff release.
Workaround: After imaging, log into the robot console as admin (via serial or SSH) and run the command "updateNIDrivers", then reboot. A simplified tool to execute this is in progress and more information about a full update with this issue resolved will be coming soon.
Solution: Fixed in 2019v13 image in 2019.1.0 NI Update Suite
SmartDashboard and Simlation fail to launch on Windows N Editions
Issue: WPILib code using CSCore (dashboards and simulated robot code) will fail to launch on Education N editions of Windows.
Solution: Install the Media Feature Pack from https://www.microsoft.com/en-us/software-download/mediafeaturepack
Installing and Using GradleRIO Directly May not Deploy JRE
If user installs GradleRIO directly (i.e. not from the offline installers or zips provided by the WPILib release) and then runs a deploy to the roboRIO without internet, the JRE may not be deployed. A single deploy with internet connected (connect to the roboRIO over USB) is needed to download the JRE to the local cache. Subsequent deploys (or if the roboRIO already has the JRE deployed) will succeed.
Solution: Fixed in WPILib 2019.2.1
PathWeaver Tank Drive swapped paths
There is currently an issue with PathWeaver where the left and right sides of the drivetrain are swapped. This can be solved quickly with the instructions in this article: Integrating path following into a robot program. This will be fixed in the next update.
Network Tables Interoperability
There is currently an issue with inter-operating C++\Java Network Tables clients (dashboards or co-processors) with LabVIEW servers (LV robot code). In some scenarios users will see updates from one client fail to be replicated across to other clients (e.g. data from a co-processor will not be properly replicated out to a dashboard). Data still continues to return correctly when accessed by code on the server.
Workaround: Write code on the server to mirror any keys you wish to see on other clients (e.g. dashboards) to a separate key. For example, if you have a key named "targetX" being published by a co-processor that you want to show up on a dashboard, you could write code on the robot to read the key and re-write it to a key like "targetXDash".