Skip to content
This repository has been archived by the owner on Nov 27, 2020. It is now read-only.

Troubleshooting

Evan Pratten edited this page Jan 8, 2020 · 1 revision

Here are some solutions for known problems

Gradle wrapper errors

Try installing Gradle (if not already installed), opening a command prompt / terminal in the project root, and running gradle.exe wrapper (Windows) or gradle wrapper (Linux)

Deployment errors

  • Check to make sure you are properly connected with the robot, and it is turned on
  • Try deploying again (sometimes a double-deploy is needed)
  • Try restarting the robot from driverstation
  • Try killing the power to the robot, then turning it on again
  • Use Ethernet

FRC Tools are not updating

Each time we update the WPILib version for the project, all project tools should update to reflect the new version (the version will be displayed on the loading screen of each tool). If this is not happening:

Open up the FRC tools install folder (~/wpilib/<year>/tools for Linux, C:/Users/Public/wpilib/<year>/tools for Windows), and delete all files except for:

  • ScriptBase.py
  • ScriptBase.vbs
  • tools.json
  • ToolsUpdater.jar
  • ToolsUpdater.py

Then, run the following in the project root:

# Linux
./gradlew ./gradlew installAllTools

# Windows
.\gradlew.bat installAllTools

FRC roboRIO Imaging Won’t Update Firmware or Format Target

This comes from HERE.

Does your computer name have a dash in it? If so, try renaming it. Several teams have reported issues similar to this.

Getting an Xbox360 controller to work on a linux host during simulation

To get the controller connected:

  • Plug it in
  • Run sudo xboxdrv --silent
  • Start the simulation

Using a steam controller for simulation

For linux, the sc-controller project works great for mapping a steam controller to an xbox controller. An sc-controller binary is stored in the project at tools/linux/sc-controller

On windows, use the "default controller mode" setting in the steam controller settings.