![]() |
Reboot roboRio After Uploading Code [Java]
Hello!
I am programmer for Team 3630 from Breck School in Golden Valley, Minnesota. I've run into an interesting issue... I've successfully imaged the roboRio and can upload code to it from Eclipse no problem. But every time I upload code I am forced to reboot the roboRio! I'll upload the code and the DriverStation will show green across the board, but the moment I hit Enable, I magically don't have robot code and the only fix is to reboot the roboRio from the DriverStation. I must be doing something wrong because I was specifcally told I would never have to reboot the roboRio. Any help is appreciated! Best |
Re: Reboot roboRio After Uploading Code [Java]
We had a similar issue last night when we try to get our code into the Rio the only thing that we could see it was that somewhere in the code there was a mistake and after it got fixed we never had that problem again.
Can you put an image of your code maybe we can help you? |
Re: Reboot roboRio After Uploading Code [Java]
This code is dirt simple so I doubt it's a code issue but here you go. We've had this issue from the beginning even with sample code.
Code:
package org.usfirst.frc.team3630.robot; |
Re: Reboot roboRio After Uploading Code [Java]
Try opening the Riolog in eclipse, then reset and enable your code. We had similar issues due to null pointer exceptions that crashed the code running on the roboRIO. It was kind enough to print out the issue to the Riolog before dying, though.
I believe the same messages should get sent to the driver station though, I don't know if you're seeing anything there too... |
Re: Reboot roboRio After Uploading Code [Java]
We had a similar problem with the beta. I don't remember if we found a solution but we at least discovered the using the blue reset button was much faster than doing a full reboot.
|
| All times are GMT -5. The time now is 14:10. |
Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2017, Jelsoft Enterprises Ltd.
Copyright © Chief Delphi