View Full Version : No Robot Code
GoldenGollem
11-10-2016, 17:00
I was starting up a robot for the first time after the summer this past week, and when deploying the new code it showed there was no robot code. Everything is up to date as far as RoboRio image and firmware, DS, and eclipse plugins. When deployed it showed that the code deployed successfully and didn't show any errors.
If there is any suggestions please let me know.
Mark McLeod
11-10-2016, 17:21
Look for user code runtime errors.
It's probably crashing immediately on startup.
Try starting the user code directly on the roboRIO from a command line and redirect the output to a file.
You can also check in /user/lvuser/FRCUserProgram.log on the roboRIO for additional errors.
GoldenGollem
11-10-2016, 18:04
Try starting the user code directly on the roboRIO from a command line and redirect the output to a file.
How would I do that? or at least attempt to do successfully.
PS Here is the link to the current code (https://github.com/GoldenGollem/Robotics/tree/master/Robot%20-%202015b)
Mark McLeod
11-10-2016, 18:27
Are you familiar with using SSH and Linux commands?
http://wpilib.screenstepslive.com/s/4485/m/24166/l/286926-roborio-user-accounts-and-ssh
euhlmann
11-10-2016, 21:35
Unfortunately early crashes before WPILib is initialized result in the DS not getting the error message. I typically start an SSH session and use "tail -f /home/lvuser/FRCUserProgram.log" as a log, since that shows all the output
What you may also want to do is see if there are any objects in the code that aren't existent on the robot. For example, have you created a Talon in the code where there is no Talon on the robot?
vBulletin® v3.6.4, Copyright ©2000-2017, Jelsoft Enterprises Ltd.