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.
Did you try hitting the reset button on the roboRIO?
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.
Could you post the full Exception that you’re getting along with any of your code/classes that are related to the issue?
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
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.