-
Notifications
You must be signed in to change notification settings - Fork 1
Robot Code Not Turning Green Despite No Runtime Errors
- FIXED
- Robot Code on driver station is not turning green
-
Open Driver Station and press the restart robot code button
- The button can be found on the second tab
-
Wait 2 minutes
- Odds are, this will accomploish little, but it sometimes works
-
Redeploy code to the robot
-
Wait 2 minutes
-
Reboot the RoboRio from Driver Station or with the physical button on the RoboRio
- The button can be found on the second tab
-
Wait 4 minutes
-
Turn the robot off then back on
-
Wait till the robot restarts its wifi
-
Open a terminal or command line and SSH into the robot (admin@10.6.70.2)
-
Optional: View the ongoing Java processes using “ps -elf | grep java”
-
There should be 2 items in the list. One is the robot code, and the 2nd is your “grep” command. If there are more than two, you likely have multiple instances of robot code running
-
To kill all java processes, run “pkill -9 java”
-
Do step 2 to comfirm that you have killed all processes
-
If not, repeat steps 4 and 5 untill it works (if it takes more than 3 or 4 tries ask a lead)