Go to Post You wake up at 2:54 am and aren't even mad bc robots - fargus111111111 [more]
Home
Go Back   Chief Delphi > Technical > Programming
CD-Media   CD-Spy  
portal register members calendar search Today's Posts Mark Forums Read FAQ rules

 
Reply
Thread Tools Rate Thread Display Modes
  #1   Spotlight this post!  
Unread 03-02-2017, 17:22
Tobin_1075 Tobin_1075 is offline
Registered User
FRC #1075
 
Join Date: Feb 2017
Location: Whitby Ontario
Posts: 3
Tobin_1075 is an unknown quantity at this point
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!
Reply With Quote
  #2   Spotlight this post!  
Unread 03-02-2017, 17:30
elijah1111's Avatar
elijah1111 elijah1111 is offline
Registered User
FRC #4601 (Circuit Birds)
Team Role: Programmer
 
Join Date: Jan 2017
Rookie Year: 2015
Location: Ohio
Posts: 15
elijah1111 is an unknown quantity at this point
Re: Eclipse problems

Is the console providing you an error?
Reply With Quote
  #3   Spotlight this post!  
Unread 03-02-2017, 22:47
Tobin_1075 Tobin_1075 is offline
Registered User
FRC #1075
 
Join Date: Feb 2017
Location: Whitby Ontario
Posts: 3
Tobin_1075 is an unknown quantity at this point
Re: Eclipse problems

No error appears. It opens the console and stays blank.
Reply With Quote
  #4   Spotlight this post!  
Unread 04-02-2017, 03:54
Monkeyman5733 Monkeyman5733 is offline
Registered User
AKA: Jules S.
FRC #3574 (High Tekerz)
Team Role: Programmer
 
Join Date: Mar 2015
Rookie Year: 2015
Location: Washington
Posts: 4
Monkeyman5733 is an unknown quantity at this point
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!
Reply With Quote
  #5   Spotlight this post!  
Unread 04-02-2017, 05:24
vauc2000 vauc2000 is offline
Registered User
FRC #1797 (Phoenix 1797)
Team Role: Programmer
 
Join Date: Feb 2017
Rookie Year: 2016
Location: London, UK
Posts: 6
vauc2000 is an unknown quantity at this point
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.
Reply With Quote
  #6   Spotlight this post!  
Unread 04-02-2017, 12:00
Tobin_1075 Tobin_1075 is offline
Registered User
FRC #1075
 
Join Date: Feb 2017
Location: Whitby Ontario
Posts: 3
Tobin_1075 is an unknown quantity at this point
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.
Reply With Quote
Reply


Thread Tools
Display Modes Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump


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

The Chief Delphi Forums are sponsored by Innovation First International, Inc.


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