Chief Delphi

Chief Delphi (http://www.chiefdelphi.com/forums/index.php)
-   Java (http://www.chiefdelphi.com/forums/forumdisplay.php?f=184)
-   -   "No robot code" Error (http://www.chiefdelphi.com/forums/showthread.php?t=132943)

Affinity #5115 01-15-2015 03:43 PM

"No robot code" Error
 
We are experiencing an issue when we deploy our code to the robot; the robot code indicator stays red. We have already attempted re-flashing the roboRIO. We also tried deploying the PacGoat example to it, and Driver Station returns an allocation exception. No errors show up when we run our code. We also ran the Tank Drive example, and it worked. Could this be a memory issue with the roboRIO? (We had no problems until adding several new commands) Any ideas are welcome! We are using Java and Eclipse to program the robot.

cgmv123 01-15-2015 04:10 PM

Re: "No robot code" Error
 
Did you try hitting the reset button on the roboRIO?

orangelight 01-15-2015 05:23 PM

Re: "No robot code" Error
 
We had this happen a couple times. We just redeployed a couple times and the code worked. Now that deploying is much faster its not that much of a hassle.

Oromus 01-21-2015 11:57 AM

Re: "No robot code" Error
 
Could you post the full Exception that you're getting along with any of your code/classes that are related to the issue?

MRT45 01-21-2015 11:45 PM

Re: "No robot code" Error
 
Quote:

Originally Posted by orangelight (Post 1428884)
We had this happen a couple times. We just redeployed a couple times and the code worked. Now that deploying is much faster its not that much of a hassle.

So basically you kept on deploying the code until it "suddenly" started to work? I am experiencing the same problem here too...


First Year Programmer MRT

kinganu123 01-21-2015 11:48 PM

Re: "No robot code" Error
 
Just one thing I'd recommend, as we too recently had the robot claim to not have robot code whenever we deployed code; do NOT initialize anything outside of RobotInit (in terms of motors and the like). We were not getting exception we were supposed to get until we move initialization code there so that it could actually be sent to our driverstation.


All times are GMT -5. The time now is 08:57 AM.

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