We just got a new RoboRio and are trying to set it up for the first time. We successfully formatted it to the latest image (as of 2/8/19) using the roboRio imaging tool. We are using a radio from last year but we flashed a new image and reconfigured it today. We can connect to the wifi from our laptop and the communications is green in Driver Station but there is no robot code (it’s a brand new roboRio). When we try to deploy java code in visual studio code, we get an error saying “missing target. Are you connected to the robot, and is it on?” The communications light on the roborio is solid red; according to FIRST’s website that also just means no robot code - https://wpilib.screenstepslive.com/s/currentCS/m/cs_hardware/l/144972-status-light-quick-reference. Both lights on the PDP are orange (sticky faults and in bootloader)
I also tried connecting roboRio directly to computer via usb but same problem.
** UPDATE: The error says “RoboRIO image invalid! RoboRIO: 2019_v13, allowed [2019_v12]”. Do I have to reimage using the older version?
You need to update WPILib to the latest version as well (2019.2.1). The kickoff release only supported v12. Once installed, when you open your project in vscode you will be prompted to update it.
Thanks for your help. I installed the latest version (2019.2.1) and updated my project in vscode. I then closed vscode and reopened to ensure it finished installing. Now I tried to build and got a new error:
What went wrong:
Plugin [id: ‘edu.wpi.first.GradleRIO’, version: ‘2019.2.1’] was not found in any of the following sources:
Gradle Core Plugins (plugin is not in ‘org.gradle’ namespace)
Plugin Repositories (could not resolve plugin artifact ‘edu.wpi.first.GradleRIO:edu.wpi.first.GradleRIO.gradle.plugin:2019.2.1’)
Searched in the following repositories:
Gradle Central Plugin Repository
Try:
Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output. Run with --scan to get full insights.