Not sure if this is the correct area to post in however I am just going to go for it. Last night we completed wiring up our roboRio, programming and imaging the new rio. Once we completed that we went to deploy the code to the robot and received this error:
C:\Users\Swineshrew\wpilib\java\current\ant\build.xml:220: Remote command failed with exit status 1
I then spent four hours trying to fix this problem. I went to a previous post about this problem and I never got much help when it came to getting closer to the solution. Anything helps!
By the way we are programming in eclipse and running version 2016_v19 of the image on the roboRio.
Does the driver station report no robot code after you deploy and get this error? I get the error when deploying to the rio while it has no robot code running already (and this is the output from the command to kill the robot program). If you get this but the robot code indicator is still green on the driver station then it’s safe to ignore.
I installed Java onto the Rio. There is a red light on the comm section of the Rio which to my knowledge means comms but no robot code. Thanks for the replies!
In our case, this error meant that Eclipse cannot find the roboRIO. The most reliable solution (at least for my team) was to log into the web dashboard and assign a static IP address to the roboRIO. Then, in your build.properties file, you add the following line (inside the <project> tags):
<property name=“target” value=“Your static IP”/>
For example, the full build.xml file for one of our projects is:
Another alternative to editing the build.xml file after setting the roborio to a static IP is to put an entry for it into the hosts file. On Windows its located in c:\windows\system32\drivers\etc. Add the following line:
10.TE.AM.x roboRIO-TEAM-FRC.local
where TEAM is the team number and x is the last number of the IP address. I suggest using 2. For example the IP address of our roboRio is 10.12.25.2