Go to Post I like this thread because it means I don't have to leave my house to find something to complain about! - PayneTrain [more]
Home
Go Back   Chief Delphi > Technical > Programming > Java
CD-Media   CD-Spy  
portal register members calendar search Today's Posts Mark Forums Read FAQ rules

 
 
 
Thread Tools Rate Thread Display Modes
Prev Previous Post   Next Post Next
  #1   Spotlight this post!  
Unread 10-01-2014, 13:09
jfitz0807 jfitz0807 is offline
Registered User
FRC #2877 (Ligerbots)
Team Role: Parent
 
Join Date: Jan 2009
Rookie Year: 2009
Location: Newton, MA
Posts: 66
jfitz0807 is an unknown quantity at this point
Trouble running on cRIO from Netbeans

I am trying to set up my personal laptop (Windows 8) to be a second driver station and an extra programming seat. I successfully set up NetBeans (i586 version) including the plugins and also installed the driver station.

Using the driver station, I verified communication with the robot and got to the "No Robot Code Loaded" indication on the left side of the driver station GUI.

I tried to download a quickie test driver program and this is where I ran into trouble. The test project is called DriveProto and it was built from the RobotBuilder tool. We entered our team number in the RobotBuilder and we can see that team number in the include statements in the java code. When I try to download using Netbeans "run", it says that it can't send the code to the robot because it is looking for frc0000.

Previously, as a test of the RobotBuilder tool, I created a project called RobotBuilderTest. In this project, I did not set the team number, so this project does have frc0000 in the includes. I never had any intentions of running this code, so I wasn't concerned about the team number.

Here's the funny part:

When I try to build DriveProto, the output window gets named "RobotBuilderTest". It looks like the frc0000 from my RobotBuilderTest project is geting "stuck" somewhere in my Netbeans environment even though I have long since deleted the RobotBuilderTest project.

So, I tried to clean things up. I deleted DriveProto and uninstalled NetBeans. I also deleted the sunspotfrcsdk directory and my AppData/Roaming/Netbeans directory. I reinstalled Netbeans and the FRC plugins and cloned my DriveProto repository from GitHub. When I tried to build DriveProto this time, it named the output window again with RobotBuilderTest. This was last night after our build meeting so I haven't been able to try to download this to the robot to see whether it complains about the frc0000 again. I suspect it will.

Note that I did leave a previous unrelated project in my Documents/NetbeansProjects folder when I uninstalled Netbeans and cleaned everything else up.

Any thoughts on what's going on?

My next step will be to create a new user account on my laptop and install Netbeans fresh to that account and see what happens. I'd prefer not to have to do that so any thoughts anyone has are greatly appreciated.
Reply With Quote
 


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 08:38.

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