Chief Delphi

Chief Delphi (http://www.chiefdelphi.com/forums/index.php)
-   Programming (http://www.chiefdelphi.com/forums/forumdisplay.php?f=51)
-   -   Eclipse problems (http://www.chiefdelphi.com/forums/showthread.php?t=154667)

Tobin_1075 03-02-2017 17:22

Eclipse problems
 

Hello, I'm on team 1075 and I'm relatively new to programming. I'm having some trouble when uploading code from eclipse to the roboRIO.

Whenever I run the code to the rio nothing appears in the console and no code gets uploaded to the rio. (BTW I'm coding in Java)

If anyone could help that would be great. Thanks!

elijah1111 03-02-2017 17:30

Re: Eclipse problems
 
Is the console providing you an error?

Tobin_1075 03-02-2017 22:47

Re: Eclipse problems
 
No error appears. It opens the console and stays blank.

Monkeyman5733 04-02-2017 03:54

Re: Eclipse problems
 
Are you sending anything to the smartDashboard?
Last year my team ran into the same problem. We ended up finding that trying to put anything on the smartDashboard outside of a method would send the code to the roborio, but the driver station would say there is no robot code.

Definitely go over your code and make sure that smartDashboard/liveWindowSendable code is within a method.

Hope this helps!

vauc2000 04-02-2017 05:24

Re: Eclipse problems
 
Have you made sure that you are running the selected robot program and not some other program in Eclipse?

I have run an the issue before where if I click the run button at the top of the window Eclipse runs some other program in my workspace. To fix this issue, when you want to run your robot program, right click on your robot program and select run from that menu.

Tobin_1075 04-02-2017 12:00

Re: Eclipse problems
 
We aren't sending anything to the SmartDashboard outside of a method. We are also deploying the correct build. I tried creating a clean build with the same code but we still get the same problem.

Another coder on our team looked into it and we figured that the build.xml file was being changed which prevented it from being deployed. We fixed the problem by replacing the faulty xml file with a working one from a previous year.

Thank you guys for the help. I hope this can help other people that have the same problem.


All times are GMT -5. The time now is 00:13.

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