|
"Robot Code" won't turn green, but no errors are displayed
We were working on getting some code debugged, as we have been so far this season, and all of a sudden we started having the strangest issues deploying. We were having problems deploying code from eclipse, it kept not being able to upload to the roborio, as if we weren't connected, but on the driverstation it said that we had comms.
After a few more retrys (and for no well explained reason), we were able to deploy and upload the code, but we hit a more serious issue. Once the code is uploaded you usually have to wait a few seconds for the robot code to start up (the "Robot Code" indicator on the driverstation to go green), but in our case it simply wouldn't start. Usually this is because of an exception being thrown while our code initializes, but said exception would be put up on the driver station console, and we weren't seeing anything. Additionally, the changes that we made were small (we only changed a few constants and I think like an if statement or something; can't remember, but it was nothing that would cause the program to error out on startup) and even when we undid them it didn't fix the issue. We commited and pulled the program down to another laptop and deployed from there, but we had the same issue. When we pulled down and deployed a previous, functional revision everything deployed and started up fine.
Anyone else seen anything similar to this before? Do you know what it could be? I would say we made some sort of fatal error when we modified the program, but we're not getting any errors thrown to the console, sooooo.....? What do?
__________________
But why?
|