I was trying to build and deploy my team’s robot code and a configuration file using GradleRIO, and the driver station indicated no robot code (red light in the “Robot Code” field).
I checked the RoboRIO’s file system and my FRCUserProgram.jar and configuration file were both present, however the driver station did not recognize the code I had deployed. I deleted those files and redeployed to make sure they were not from a previous deploy, and the GradleRIO deploy definately successfully sent over the two artifacts.
I tried again with an empty project containing the code autogenerated by the FRC Eclipse plugin. The Eclipse plugin’s ant script successfully deployed the empty project’s code and I was able enable the robot. However, when I used GradleRIO to build and deploy the empty project, the artifact was sent to the RoboRIO but the driver station did not recognize that code had been deployed (same symptoms as when I deployed my team’s robot code).
The gradlerio.robotClass and gradlerio.team properties in my build.gradle file match the package name of the robot class and the team number in the driver station, so I do not think that is the issue. Other than changing those two properties, my build.gradle for the empty project is identical to Jaci’s template build.gradle (the one provided in GradleRIO’s release).
I am building and deploying in git bash running in IntelliJ if that makes any difference.
Has anyone else experienced this problem? Any help on this issue would be appreciated.
Thanks!