Go to Post Can anyone tell that it is 5:20 in the morning and I can't sleep? Thanks, Dave. - ChuckDickerson [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 28-03-2010, 18:43
Robby Unruh's Avatar
Robby Unruh Robby Unruh is offline
*insert random dial-up tone here*
FRC #3266 (Robots R Us)
Team Role: Coach
 
Join Date: Feb 2010
Rookie Year: 2010
Location: Eaton, OH
Posts: 338
Robby Unruh will become famous soon enough
How many teams used default Java code?

I'm just curious.
Did your team use the FRC's default code for Java? What all did you add to it?

And yes, my team did. And being rookies, we didn't have much added to it. We maybe had a few variables that didn't do anything because I took them out half way through build season, and compressor handling.

What about you guys who used Java for programming this past season?
Reply With Quote
  #2   Spotlight this post!  
Unread 29-03-2010, 12:48
will_1359 will_1359 is offline
Registered User
FRC #1359
 
Join Date: Jan 2010
Location: lebanon
Posts: 15
will_1359 is an unknown quantity at this point
Re: How many teams used default Java code?

I hate to say this, but there was supplied Java code? the only supplied thing for java I used when programming our robot was the WPI library and the template that I found. Simple robot and autonomous and had to think up everything.
Reply With Quote
  #3   Spotlight this post!  
Unread 29-03-2010, 13:39
TubaMorg TubaMorg is offline
Programmermechanicalelect ricalcoach
AKA: Dan
FRC #1480 (Robatos Locos)
Team Role: Mentor
 
Join Date: Jan 2006
Rookie Year: 2005
Location: Houston
Posts: 450
TubaMorg has a reputation beyond reputeTubaMorg has a reputation beyond reputeTubaMorg has a reputation beyond reputeTubaMorg has a reputation beyond reputeTubaMorg has a reputation beyond reputeTubaMorg has a reputation beyond reputeTubaMorg has a reputation beyond reputeTubaMorg has a reputation beyond reputeTubaMorg has a reputation beyond reputeTubaMorg has a reputation beyond reputeTubaMorg has a reputation beyond repute
Re: How many teams used default Java code?

There was some code in the examples section that included a "default robot". We didn't use it, but it can be a good start, but rather started with a circletrackerdemo example to expand our code from.
__________________
I don't need a signature.
Reply With Quote
  #4   Spotlight this post!  
Unread 31-03-2010, 16:12
Team#2057-Vegas's Avatar
Team#2057-Vegas Team#2057-Vegas is offline
Team2057LasVegas
AKA: Justin Major
FRC #2057 (AV CyberBulls)
Team Role: Leadership
 
Join Date: Mar 2010
Rookie Year: 2008
Location: Las Vegas
Posts: 113
Team#2057-Vegas can only hope to improve
Re: How many teams used default Java code?

We used java this year because it was the only coding our new programmer could do. We are having a few issues though and now continuously after trying the "no app fix" that has been mentioned to us. We are continuously getting the "NO ROBOT CODE" message and it has wasted our past 3 weeks. Competition is tomorrow. Have you had the same problem? If so please tell.

Good luck on your competition if you have yet to have it.

AV CYBERBULLS
__________________
Justin Major
2057 Team Leader

"We will kick you off our pasture" -- 2057 Motto
Reply With Quote
  #5   Spotlight this post!  
Unread 31-03-2010, 17:13
TubaMorg TubaMorg is offline
Programmermechanicalelect ricalcoach
AKA: Dan
FRC #1480 (Robatos Locos)
Team Role: Mentor
 
Join Date: Jan 2006
Rookie Year: 2005
Location: Houston
Posts: 450
TubaMorg has a reputation beyond reputeTubaMorg has a reputation beyond reputeTubaMorg has a reputation beyond reputeTubaMorg has a reputation beyond reputeTubaMorg has a reputation beyond reputeTubaMorg has a reputation beyond reputeTubaMorg has a reputation beyond reputeTubaMorg has a reputation beyond reputeTubaMorg has a reputation beyond reputeTubaMorg has a reputation beyond reputeTubaMorg has a reputation beyond repute
Re: How many teams used default Java code?

Can you provide more details? So here are the steps to test it:
The following assumes that you have completed all updates, installed the FRC plugins for NetBeans, and have your cables/robot network set up correctly.

In NetBeans, go to File->New Project
Scroll down to Samples and open the FRC Java folder.
Look for DefaultCodeProject.zip and double click it.
Give the project a name of some sort.
The new project SHOULD be your main project (the main project is in BOLD in the Projects pane). If not, right click your newly created project and click on "Set as Main Project".

Ok now you have a Java project.

To Deploy:
Either hit the Green arrow at the top of the GUI or hit F6. This builds and deploys the Main project to the robot.

At some point you should see something like this:
Connecting FTP @10.20.57.2

Indicating that it is trying to connect to your robot. Once it is connected it will erase and upload the newly build Jar file.

Try this and report what happens.
__________________
I don't need a signature.
Reply With Quote
  #6   Spotlight this post!  
Unread 31-03-2010, 19:27
davidthefat davidthefat is offline
Alumni
AKA: David Yoon
FRC #0589 (Falkons)
Team Role: Alumni
 
Join Date: Jan 2011
Rookie Year: 2010
Location: California
Posts: 792
davidthefat has much to be proud ofdavidthefat has much to be proud ofdavidthefat has much to be proud ofdavidthefat has much to be proud ofdavidthefat has much to be proud ofdavidthefat has much to be proud ofdavidthefat has much to be proud ofdavidthefat has much to be proud ofdavidthefat has much to be proud of
Re: How many teams used default Java code?

Well I used the circle tracker demo code, but expanded on it and just took out the target tracking...
__________________
Do not say what can or cannot be done, but, instead, say what must be done for the task at hand must be accomplished.
Reply With Quote
  #7   Spotlight this post!  
Unread 01-04-2010, 09:52
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: How many teams used default Java code?

Quote:
Originally Posted by Team#2057-Vegas View Post
We used java this year because it was the only coding our new programmer could do. We are having a few issues though and now continuously after trying the "no app fix" that has been mentioned to us. We are continuously getting the "NO ROBOT CODE" message and it has wasted our past 3 weeks. Competition is tomorrow. Have you had the same problem? If so please tell.
AV CYBERBULLS
I just want to double-check that you're still having a problem. In "http://www.chiefdelphi.com/forums/showpost.php?p=946038&postcount=23", someone posting as you said problem was fixed (bad bridge?).

If still a problem:
- At the competition, bring this up immediatly with the robot inspectors or other competition staff. They may have someone with Java experience, or can track down a team with Java experience to help.
- Double check network settings of your development machine.
- Can you ping the cRIO from the PC?f ftp to the cRIO?
- Make sure the netmask of the PC is 255.0.0.0.
- Please post the NetBeans output from a download/deploy/run attempt.
- Is the ftp failing? Or failing to connect after rebooting the cRIO?

Also, I think the "no app fix" was more of a Labview thing. I believe that C++ and Java robots run as startup code that is not disabled by the "no app fix".

Good luck!
Reply With Quote
  #8   Spotlight this post!  
Unread 05-04-2010, 18:17
LukeS LukeS is offline
4272 mentor, 1024 alumnus
AKA: Luke Shumaker
FRC #4272
Team Role: Mentor
 
Join Date: Mar 2009
Rookie Year: 2009
Location: Indianapolis, IN
Posts: 60
LukeS is an unknown quantity at this point
Re: How many teams used default Java code?

We examined the circle tracker when we were looking into adding a camera to our system (something we didn't end up doing), but no,we in no way used any of the sample projects.
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
How do I load the default code? HarryScheiner C/C++ 7 11-02-2009 11:52
How Many Have You Used? Robots_R_Us FIRST Tech Challenge 6 25-08-2006 22:32
How long does it take you to load the default code? vegasmcse Robotics Education and Curriculum 10 03-11-2003 21:41
how many of u actually used the stacker if u had one? HolyMasamune General Forum 21 14-04-2003 13:12
How many teams.... archiver 2001 0 24-06-2002 04:03


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

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