Go to Post Differentiating based on any superficial criteria (gender, race, or other demographic) only serves to reinforce the false idea that they matter. - JamesCH95 [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

 
Reply
 
Thread Tools Rate Thread Display Modes
  #1   Spotlight this post!  
Unread 30-01-2010, 15:29
Random_Guy Random_Guy is offline
Registered User
FRC #2729
 
Join Date: Jan 2010
Location: Marlton, New Jersey
Posts: 2
Random_Guy is an unknown quantity at this point
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.
Reply With Quote
  #2   Spotlight this post!  
Unread 30-01-2010, 17:24
Jeanne Boyarsky Jeanne Boyarsky is offline
Java Mentor
FRC #0694 (StuyPulse)
Team Role: Mentor
 
Join Date: Jan 2010
Rookie Year: 2010
Location: New York
Posts: 100
Jeanne Boyarsky has much to be proud ofJeanne Boyarsky has much to be proud ofJeanne Boyarsky has much to be proud ofJeanne Boyarsky has much to be proud ofJeanne Boyarsky has much to be proud ofJeanne Boyarsky has much to be proud ofJeanne Boyarsky has much to be proud ofJeanne Boyarsky has much to be proud ofJeanne Boyarsky has much to be proud of
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.
Reply With Quote
  #3   Spotlight this post!  
Unread 30-01-2010, 18:27
Lakedaimon's Avatar
Lakedaimon Lakedaimon is offline
Registered User
FRC #3012 (Spartans)
Team Role: Teacher
 
Join Date: Nov 2008
Rookie Year: 2003
Location: Cypress Lakes HS, Katy, TX
Posts: 23
Lakedaimon is an unknown quantity at this point
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.
__________________
Firmware is the most expensive thing in the universe. - Jack G. Ganssle
Reply With Quote
  #4   Spotlight this post!  
Unread 01-02-2010, 16:24
Random_Guy Random_Guy is offline
Registered User
FRC #2729
 
Join Date: Jan 2010
Location: Marlton, New Jersey
Posts: 2
Random_Guy is an unknown quantity at this point
Re: Changing IP & Default Code

Quote:
Originally Posted by Lakedaimon View Post
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 View Post
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.
Reply With Quote
  #5   Spotlight this post!  
Unread 11-02-2010, 20:31
Torbotics's Avatar
Torbotics Torbotics is offline
Registered User
FRC #2880
Team Role: Student
 
Join Date: Feb 2009
Rookie Year: 2009
Location: Galveston, Texas
Posts: 7
Torbotics is an unknown quantity at this point
Exclamation 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.
Reply With Quote
  #6   Spotlight this post!  
Unread 12-02-2010, 08:41
derekwhite's Avatar
derekwhite derekwhite is offline
Java Virtual Machine Hacker
no team (FIRST@Oracle)
Team Role: Programmer
 
Join Date: May 2009
Rookie Year: 2009
Location: Burlington, MA
Posts: 127
derekwhite is on a distinguished road
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
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

Similar Threads
Thread Thread Starter Forum Replies Last Post
Changing Default Unit System Richard McClellan SolidWorks 6 28-02-2010 16:09
Camera & Default Code Lablabla Programming 14 28-01-2007 18:25
Problems when combine ADC code && camera code nirhaim1942 Programming 1 24-01-2007 06:58
Victors, Default code, & joystick configuration Vermatitis Control System 4 27-01-2005 16:01
Victors, Default code, & joystick configuration Vermatitis Electrical 4 27-01-2005 16:01


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

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