Chief Delphi

Chief Delphi (http://www.chiefdelphi.com/forums/index.php)
-   Java (http://www.chiefdelphi.com/forums/forumdisplay.php?f=184)
-   -   Changing IP & Default Code (http://www.chiefdelphi.com/forums/showthread.php?t=81521)

Random_Guy 30-01-2010 15:29

Changing IP & Default Code
 
We are attemping to deploy code to the cRIO, but it is defaulting to 10.0.0.2 for the IP. This is not our robot's IP and we cannot figure out how to change it.

Additionally, DefaultCodeProject is not present on our computer. We have looked everywhere and toyed with the installation files, but we cannot find it. We are currently trying to use some sample code that another team uploaded, but it would be greatly appreciated if someone could point us toward a download for the default robot code template.

Jeanne Boyarsky 30-01-2010 17:24

Re: Changing IP & Default Code
 
You'll need to set your team number. Are you using NetBeans? If so, this is set under the preferences.

Lakedaimon 30-01-2010 18:27

Re: Changing IP & Default Code
 
In Netbeans, you have to click on "New Project", not "Load Project", in order to see the DefaultCodeProject.

To set the team number, click on Tools->Options->Miscellaneous. There is a box for the team number on the FRC Configuration tab.

Random_Guy 01-02-2010 16:24

Re: Changing IP & Default Code
 
Quote:

Originally Posted by Lakedaimon (Post 910134)
In Netbeans, you have to click on "New Project", not "Load Project", in order to see the DefaultCodeProject.

I have been clicking on "New Project." It is not there.

FRC Java
-FRCApplicationProject
-IterativeRobotTemplateProject
-SimpleRobotTemplateProject

Samples --> FRC Java
-TrackerDemoProject

DefaultCodeProject does not exist. In addition to these two locations in the NetBeans "New Project" dialog, we have actually run a search for it through the entire hard drive. We do not have it.

Quote:

Originally Posted by Lakedaimon (Post 910134)
To set the team number, click on Tools->Options->Miscellaneous. There is a box for the team number on the FRC Configuration tab.

Thank you. We were able to change the IP.

Torbotics 11-02-2010 20:31

Re: Changing IP & Default Code
 
We are having the same problem. We open Netbeans, and we followed the directions, but the default program is not on our computer. Where can we go to find that program. :confused: :eek:

derekwhite 12-02-2010 08:41

Re: Changing IP & Default Code
 
It doesn't sound like you have the latest Java SDK. Newer demo code has been added since the initial release.

Follow the directions on http://first.wpi.edu/FRC/frcjava.html, under
"Getting the Software" to update both the latest NetBeans modules and
the "mandatory LabVIEW update".

If you think you already have the latest modules and they are still not showing up, please check the version.datestamp in the version.properties file in your sunspotfrcsdk directory. The latest version is 201002042135 => 2010/02/04 2135


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

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