Go to Post Doesn't matter what you use if you can't drive it. - efoote868 [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 05-09-2009, 14:09
alivemyst alivemyst is offline
Registered User
no team
 
Join Date: Sep 2009
Location: California
Posts: 10
alivemyst is a glorious beacon of lightalivemyst is a glorious beacon of lightalivemyst is a glorious beacon of lightalivemyst is a glorious beacon of lightalivemyst is a glorious beacon of lightalivemyst is a glorious beacon of light
FRC Java 2010 Documentation

Javadocs for the FRC 2010 Java libraries and framework:
http://livemyst.comli.com/

Hopefully teams will find this useful in learning how to work with the new system
Reply With Quote
  #2   Spotlight this post!  
Unread 06-09-2009, 09:13
RyanCahoon's Avatar
RyanCahoon RyanCahoon is offline
Disassembling my prior presumptions
FRC #0766 (M-A Bears)
Team Role: Engineer
 
Join Date: Dec 2007
Rookie Year: 2007
Location: Mountain View
Posts: 689
RyanCahoon has a reputation beyond reputeRyanCahoon has a reputation beyond reputeRyanCahoon has a reputation beyond reputeRyanCahoon has a reputation beyond reputeRyanCahoon has a reputation beyond reputeRyanCahoon has a reputation beyond reputeRyanCahoon has a reputation beyond reputeRyanCahoon has a reputation beyond reputeRyanCahoon has a reputation beyond reputeRyanCahoon has a reputation beyond reputeRyanCahoon has a reputation beyond repute
Re: FRC Java 2010 Documentation

Thanks!
__________________
FRC 2046, 2007-2008, Student member
FRC 1708, 2009-2012, College mentor; 2013-2014, Mentor
FRC 766, 2015-, Mentor
Reply With Quote
  #3   Spotlight this post!  
Unread 06-09-2009, 10:42
Jared Russell's Avatar
Jared Russell Jared Russell is offline
Taking a year (mostly) off
FRC #0254 (The Cheesy Poofs), FRC #0341 (Miss Daisy)
Team Role: Engineer
 
Join Date: Nov 2002
Rookie Year: 2001
Location: San Francisco, CA
Posts: 3,078
Jared Russell has a reputation beyond reputeJared Russell has a reputation beyond reputeJared Russell has a reputation beyond reputeJared Russell has a reputation beyond reputeJared Russell has a reputation beyond reputeJared Russell has a reputation beyond reputeJared Russell has a reputation beyond reputeJared Russell has a reputation beyond reputeJared Russell has a reputation beyond reputeJared Russell has a reputation beyond reputeJared Russell has a reputation beyond repute
Re: FRC Java 2010 Documentation

Have you made sure that the appropriate parties are okay with you posting this information publicly? For example, the beta testing teams must sign an NDA indicating that we will not share certain information before FIRST okays it.

The fact that no official FRC resource (Chief Delphi is not an official source) has posted this documentation makes me a bit suspicious that posting this is their intent.

Last edited by Jared Russell : 06-09-2009 at 10:45.
Reply With Quote
  #4   Spotlight this post!  
Unread 06-09-2009, 14:30
alivemyst alivemyst is offline
Registered User
no team
 
Join Date: Sep 2009
Location: California
Posts: 10
alivemyst is a glorious beacon of lightalivemyst is a glorious beacon of lightalivemyst is a glorious beacon of lightalivemyst is a glorious beacon of lightalivemyst is a glorious beacon of lightalivemyst is a glorious beacon of light
Re: FRC Java 2010 Documentation

A good, cautious thought. That said,
Because I am not a Beta tester and have not signed any non-disclosure agreements with FRC or Sun, I am under no obligation to withhold anything I have in the way of code or documentation--further, it licensed under the GPL and therefore can be shared. I have found no other licenses in the codebase...

On another note, if anyone sees anything interesting or curious, please share, as I would be happy to look through the underlying code base to find out more
Reply With Quote
  #5   Spotlight this post!  
Unread 06-09-2009, 15:00
DonRotolo's Avatar
DonRotolo DonRotolo is offline
Back to humble
FRC #0832
Team Role: Mentor
 
Join Date: Jan 2005
Rookie Year: 2005
Location: Atlanta GA
Posts: 7,006
DonRotolo has a reputation beyond reputeDonRotolo has a reputation beyond reputeDonRotolo has a reputation beyond reputeDonRotolo has a reputation beyond reputeDonRotolo has a reputation beyond reputeDonRotolo has a reputation beyond reputeDonRotolo has a reputation beyond reputeDonRotolo has a reputation beyond reputeDonRotolo has a reputation beyond reputeDonRotolo has a reputation beyond reputeDonRotolo has a reputation beyond repute
Re: FRC Java 2010 Documentation

Quote:
Originally Posted by alivemyst View Post
Because I am not a Beta tester and have not signed any non-disclosure agreements with FRC or Sun, I am under no obligation to withhold anything I have in the way of code or documentation--further, it licensed under the GPL and therefore can be shared.
Before anyone decides to roast this contributor alive - for posting public documents ! - please look at the links provided. This is NOT a "how to" manual for programming in Java, but a reference for the flavor of Java we can expect to see in FRC. Nobody will get ANY value from this without a decent amount of effort - and FRC is an effort-driven organization.

The caveat is that it's not final. So, treat it as a useful resource to get started on understanding. Why didn't FIRST post this instead? Hello, it's not final...

Please, no ranting or raving on whether this is legal/GP/etc - this and related info is publicly available elsewhere. What we have here is a convenient link, and that's all.

Thank you for thinking before posting


.
__________________

I am N2IRZ - What's your callsign?
Reply With Quote
  #6   Spotlight this post!  
Unread 06-09-2009, 17:37
Jared Russell's Avatar
Jared Russell Jared Russell is offline
Taking a year (mostly) off
FRC #0254 (The Cheesy Poofs), FRC #0341 (Miss Daisy)
Team Role: Engineer
 
Join Date: Nov 2002
Rookie Year: 2001
Location: San Francisco, CA
Posts: 3,078
Jared Russell has a reputation beyond reputeJared Russell has a reputation beyond reputeJared Russell has a reputation beyond reputeJared Russell has a reputation beyond reputeJared Russell has a reputation beyond reputeJared Russell has a reputation beyond reputeJared Russell has a reputation beyond reputeJared Russell has a reputation beyond reputeJared Russell has a reputation beyond reputeJared Russell has a reputation beyond reputeJared Russell has a reputation beyond repute
Re: FRC Java 2010 Documentation

Quote:
Originally Posted by Don Rotolo View Post
Before anyone decides to roast this contributor alive - for posting public documents ! - please look at the links provided.
Don,

It was not my intent to "roast this contributor alive", nor do I believe that my prior post conveyed that message at all (evidently the original poster agreed, as he responded to my challenge in a professional manner).

I did look at the links before posting. Although Squawk's documentation is indeed available now, this is the first of WPIlibJ that I have seen. My comments were exclusively directed at WPIlibJ; I apologize for any confusion in this regard. Likewise, I apologize if WPIlibJ was publicly available right now and I had just missed its release.

Quote:
Originally Posted by Don Rotolo View Post
The caveat is that it's not final. So, treat it as a useful resource to get started on understanding. Why didn't FIRST post this instead? Hello, it's not final...
FIRST's NDA with beta test teams explicitly instructs us NOT to post documentation or code of development versions of the libraries, for various reasons (eg. they are moving targets, so we don't want to give out bad info). I am sure that FIRST's development partners are under a similar agreement. The utility of the information posted is irrelevant for the purposes of an NDA. I am neither agreeing with or disagreeing with this policy; I am merely stating it.

Of course, this is all moot because we now know that the OP has no NDA. He is therefore legally free to post what he did.

Quote:
Originally Posted by Don Rotolo View Post
Please, no ranting or raving on whether this is legal/GP/etc
I never said anything about this being illegal or un-GP. I merely said that I was not sure that it was FIRST's intent to post this (WPIlibJ) information at this time. Considering that FIRST and WPI have not said anything on the topic, I stand by that conviction.

Quote:
Originally Posted by Don Rotolo View Post
Thank you for thinking before posting


.
I come from a field where things like NDAs, proprietary/classified information, etc., are taken VERY seriously. I understand that posting Javadocs for a robotics competition is not even close to the same thing as leaking government secrets, but I have been conditioned to treat these sorts of things EXTREMELY cautiously. At times overly so.

I really didn't mean to de-rail this thread, I just felt obligated to make sure that the OP had fulfilled any obligations to FIRST before posting. He believes that he has, so let's move on.
Reply With Quote
  #7   Spotlight this post!  
Unread 06-09-2009, 19:51
Joe Ross's Avatar Unsung FIRST Hero
Joe Ross Joe Ross is offline
Registered User
FRC #0330 (Beachbots)
Team Role: Engineer
 
Join Date: Jun 2001
Rookie Year: 1997
Location: Los Angeles, CA
Posts: 8,572
Joe Ross has a reputation beyond reputeJoe Ross has a reputation beyond reputeJoe Ross has a reputation beyond reputeJoe Ross has a reputation beyond reputeJoe Ross has a reputation beyond reputeJoe Ross has a reputation beyond reputeJoe Ross has a reputation beyond reputeJoe Ross has a reputation beyond reputeJoe Ross has a reputation beyond reputeJoe Ross has a reputation beyond reputeJoe Ross has a reputation beyond repute
Re: FRC Java 2010 Documentation

I hope you'll consider posting this on the FIRST Forums also. While chiefdelphi is the most active FIRST forum, it serves only a tiny microcosm of the FIRST society. Since FIRST just sent out an email blast telling everyone to look at the FIRST forums for more information, presumably you'd get many more eyes there.
Reply With Quote
  #8   Spotlight this post!  
Unread 07-09-2009, 11:48
alivemyst alivemyst is offline
Registered User
no team
 
Join Date: Sep 2009
Location: California
Posts: 10
alivemyst is a glorious beacon of lightalivemyst is a glorious beacon of lightalivemyst is a glorious beacon of lightalivemyst is a glorious beacon of lightalivemyst is a glorious beacon of lightalivemyst is a glorious beacon of light
Re: FRC Java 2010 Documentation

Ok so...
Re: going to the FIRST forums... I'll see if I can post something there for other people to use--it feels like their forums are little less open than Chief Delphi and they really don't have a section for this yet, but I'll figure it out.
Oh, and FYI: None of the FRC stuff I have posted is available as yet anywhere else. Squawk VM has its own, SunSPOT focused, documentation at SPOTWorld...but WPILib has none.

Additionally, I have posted first bits of sample code found in the latest code base, which is in fact the code used at the 2009 Java Demos. It demonstrates basic robot operation as well as some interesting work with camera tracking as well as solenoids. I'll post my own analysis on it along with Templates shortly after.
Link
Note that if anyone does download this source code, it IS under a special BSD-derived License that MUST be downloaded along with it. Its one more mouse click that keeps us all legal. Thanks.

Finally,
I'm actually glad people are thinking a bit about the legal status of the stuff I'm posting--it goes to show a bit the strong character of FRC competitors. As a professional developer I myself am under NDAs for various projects, and I am familiar with these sorts of arrangements. Fortunately I think I'm in the clear here. A correction however..I state above that the code is under the GPL...While Squawk is under the GPL, WPILibJ is in fact under the BSD license, which is MORE permissive than the GPL.

Last edited by alivemyst : 07-09-2009 at 12:38.
Reply With Quote
  #9   Spotlight this post!  
Unread 07-09-2009, 13:12
DonRotolo's Avatar
DonRotolo DonRotolo is offline
Back to humble
FRC #0832
Team Role: Mentor
 
Join Date: Jan 2005
Rookie Year: 2005
Location: Atlanta GA
Posts: 7,006
DonRotolo has a reputation beyond reputeDonRotolo has a reputation beyond reputeDonRotolo has a reputation beyond reputeDonRotolo has a reputation beyond reputeDonRotolo has a reputation beyond reputeDonRotolo has a reputation beyond reputeDonRotolo has a reputation beyond reputeDonRotolo has a reputation beyond reputeDonRotolo has a reputation beyond reputeDonRotolo has a reputation beyond reputeDonRotolo has a reputation beyond repute
Re: FRC Java 2010 Documentation

Quote:
Originally Posted by Jared341 View Post
It was not my intent to "roast this contributor alive", nor do I believe that my prior post conveyed that message at all
<snip>
I never said anything about this being illegal or un-GP. I merely said that I was not sure that it was FIRST's intent to post this (WPIlibJ) information at this time. Considering that FIRST and WPI have not said anything on the topic, I stand by that conviction.
<snip>
I really didn't mean to de-rail this thread, I just felt obligated to make sure that the OP had fulfilled any obligations to FIRST before posting. He believes that he has, so let's move on.
Hi Jared,
I apologize that my post wasn't as clear as I should have made it. I was not attacking or even commenting on what you wrote (which, BTW, was spot on), instead trying in my own clumsy way to head off the perceived-as-inevitable firestorm of squawking. Thus my comments about "roast", "un-GP" and so on were not directed at you, but at the community in general.

As for the WPlibJ stuff, it only goes to show how far over my head this stuff is - only now do I see the difference between the two and find that, as stated above, that doesn't seem to be available anywhere else.
__________________

I am N2IRZ - What's your callsign?

Last edited by DonRotolo : 07-09-2009 at 13:37.
Reply With Quote
  #10   Spotlight this post!  
Unread 07-09-2009, 14:33
RyanCahoon's Avatar
RyanCahoon RyanCahoon is offline
Disassembling my prior presumptions
FRC #0766 (M-A Bears)
Team Role: Engineer
 
Join Date: Dec 2007
Rookie Year: 2007
Location: Mountain View
Posts: 689
RyanCahoon has a reputation beyond reputeRyanCahoon has a reputation beyond reputeRyanCahoon has a reputation beyond reputeRyanCahoon has a reputation beyond reputeRyanCahoon has a reputation beyond reputeRyanCahoon has a reputation beyond reputeRyanCahoon has a reputation beyond reputeRyanCahoon has a reputation beyond reputeRyanCahoon has a reputation beyond reputeRyanCahoon has a reputation beyond reputeRyanCahoon has a reputation beyond repute
Re: FRC Java 2010 Documentation

For people who are able to talk about it...

Anyone know whether there's any other API layers than the Squawk API and WPIlibJ? For example, the java.util package looks kinda sparse. Not saying teams couldn't code their own ArrayList, etc, but it's much nicer to have these features available OOTB.

--Ryan
__________________
FRC 2046, 2007-2008, Student member
FRC 1708, 2009-2012, College mentor; 2013-2014, Mentor
FRC 766, 2015-, Mentor
Reply With Quote
  #11   Spotlight this post!  
Unread 07-09-2009, 14:44
alivemyst alivemyst is offline
Registered User
no team
 
Join Date: Sep 2009
Location: California
Posts: 10
alivemyst is a glorious beacon of lightalivemyst is a glorious beacon of lightalivemyst is a glorious beacon of lightalivemyst is a glorious beacon of lightalivemyst is a glorious beacon of lightalivemyst is a glorious beacon of light
Re: FRC Java 2010 Documentation

@ryancahoon: there are no additional layers, sorry...Remember that Squawk is a J2ME VM and hence will have a slightly different library set. I've been using squawk for years and also noticed the apparent sparsity, but in fact theres not much missing...It just named differently/less redundant.
For example, for arraylist, use Vector instead. In fact on J2SE you are much better off using Vector anyway because it has synchronized methods. Now...Squawk is not exactly jdk1.5 compatible yet(ie no parameterized classes) and some of the implementations of stuff are a bit old..Vector is from 1.2 because of J2ME compliance stuff. That means you might not get some of the methods you are used to with Vector, but you'll get along fine--elementAt() instead of get(), for example.
There is a way to use 1.5 code on squawk and its not too difficult...I'll dig it up and share it as i can...
Reply With Quote
  #12   Spotlight this post!  
Unread 07-09-2009, 19:03
Thomas4019 Thomas4019 is offline
Registered User
FRC #3006
Team Role: Programmer
 
Join Date: Sep 2009
Rookie Year: 2009
Location: Salt Lake City
Posts: 7
Thomas4019 is an unknown quantity at this point
Re: FRC Java 2010 Documentation

These Javadocs make me really excited to start programming FRC in Java. What about image acquisition and processing. I noticed that in the source code you provided, classes were being used such as ColorImage that are not in the WPIlibJ Javadoc you posted.
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
FRC 2010 Registration fees reduced rsisk General Forum 23 19-08-2009 22:50
FRC kick-off 2010 season dates Andrew Schuetze General Forum 51 18-08-2009 13:33
Will we see Artificial Neural Networks in FRC in 2010? manderson5192 Java 11 22-07-2009 15:30
FRC cRio Documentation posted ebmonon36 FRC Control System 5 26-11-2008 15:43
A serious (FATAL) error in the FRC documentation (competition_mode) KenWittlief Programming 17 29-03-2004 13:47


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

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