Go to Post Mentors are the guardrails: Show the students how to do what they need to do, Step back and let the students do what they need to do, Nudge them back on course when they need a nudge, Insist, when necessary, that no one tries to juggle the chainsaws - gblake [more]
Home
Go Back   Chief Delphi > Technical > Programming > Java
CD-Media   CD-Spy  
portal register members calendar search Today's Posts Mark Forums Read FAQ rules

 
 
 
Thread Tools Rate Thread Display Modes
Prev Previous Post   Next Post Next
  #1   Spotlight this post!  
Unread 08-07-2016, 15:22
rtse's Avatar
rtse rtse is offline
449 Lead Programmer
AKA: Ryan Tse
FRC #0449 (Blair Robot Project)
Team Role: Programmer
 
Join Date: Mar 2016
Rookie Year: 2016
Location: Montgomery Blair High School
Posts: 5
rtse is an unknown quantity at this point
GradleRIO Deploy "No Robot Code"

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!
Reply With Quote
 


Thread Tools
Display Modes Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump


All times are GMT -5. The time now is 09:37.

The Chief Delphi Forums are sponsored by Innovation First International, Inc.


Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2017, Jelsoft Enterprises Ltd.
Copyright © Chief Delphi