Chief Delphi

Chief Delphi (http://www.chiefdelphi.com/forums/index.php)
-   Java (http://www.chiefdelphi.com/forums/forumdisplay.php?f=184)
-   -   No Robot Code (http://www.chiefdelphi.com/forums/showthread.php?t=151842)

GoldenGollem 10-11-2016 05:00 PM

No Robot Code
 
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 10-11-2016 05:21 PM

Re: No Robot Code
 
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 10-11-2016 06:04 PM

Re: No Robot Code
 
Quote:

Originally Posted by Mark McLeod (Post 1611353)
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

Mark McLeod 10-11-2016 06:27 PM

Re: No Robot Code
 
Are you familiar with using SSH and Linux commands?
http://wpilib.screenstepslive.com/s/...counts-and-ssh

euhlmann 10-11-2016 09:35 PM

Re: No Robot Code
 
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

Jayd009 10-11-2016 10:21 PM

Re: No Robot Code
 
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?


All times are GMT -5. The time now is 08:21 AM.

Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2017, Jelsoft Enterprises Ltd.
Copyright © Chief Delphi