jfitz0807
10-01-2014, 13:09
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.
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.