View Single Post
  #15   Spotlight this post!  
Unread 12-08-2009, 10:11 PM
EHaskins EHaskins is offline
Needs to change his user title.
AKA: Eric Haskins
no team (CARD #6 (SCOE))
Team Role: College Student
 
Join Date: Jan 2006
Rookie Year: 2006
Location: Elkhorn, WI USA
Posts: 998
EHaskins has a reputation beyond reputeEHaskins has a reputation beyond reputeEHaskins has a reputation beyond reputeEHaskins has a reputation beyond reputeEHaskins has a reputation beyond reputeEHaskins has a reputation beyond reputeEHaskins has a reputation beyond reputeEHaskins has a reputation beyond reputeEHaskins has a reputation beyond reputeEHaskins has a reputation beyond reputeEHaskins has a reputation beyond repute
Send a message via MSN to EHaskins
Re: Problem Loading Java Code

Quote:
Originally Posted by aaeamdar2 View Post
New update:

Of note: though I disabled WatchDog in the code, it still says

"System: Watchdog"

below the team number.

I'm starting to get pretty stumped.

EDIT: It also tells me when I'm loading code:


[cRIO] Information: No user-supplied RobotMain()

Is this possibly a problem?
I'm not sure if that's an issue, but make sure the file "[project directory]\resources\META-INF\MANIFEST.MF" refers to the correct class.

Quote:
Originally Posted by aaeamdar2 View Post
1. I have communication established between robot and DS.
2. The code is supposed to be tank-drive - I essentially copied the code in the doc.
3. Nothing happens when I activate the joysticks.

EDIT: One problem was that I had two projects running. One was blank and selected as the main project; the other had the code in it and was NOT selected as the main project. However fixing this did NOT solve the problem (frowny face).
If the manifest file is accurate then I would close all projects, create a new Default Code project (found under samples>FRC Java), and, without modifing it, see if it runs.

EDIT: The next step would be to zip up the entire project directory, and post a complete copy of the build output. Maybe then we'll find something that's causing your issue.
__________________
Eric Haskins KC9JVH

Last edited by EHaskins : 12-08-2009 at 10:16 PM.
Reply With Quote