|
|
|
![]() |
|
|||||||
|
||||||||
![]() |
| Thread Tools | Rate Thread | Display Modes |
|
#1
|
|||
|
|||
|
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 ![]() |
|
#2
|
||||
|
||||
|
Re: FRC Java 2010 Documentation
Thanks!
|
|
#3
|
|||||
|
|||||
|
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 : 09-06-2009 at 10:45 AM. |
|
#4
|
|||
|
|||
|
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 ![]() |
|
#5
|
|||||
|
|||||
|
Re: FRC Java 2010 Documentation
Quote:
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 . |
|
#6
|
|||||
|
|||||
|
Re: FRC Java 2010 Documentation
Quote:
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:
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. 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. 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. |
|
#7
|
||||||
|
||||||
|
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.
|
|
#8
|
|||
|
|||
|
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 : 09-07-2009 at 12:38 PM. |
|
#9
|
|||||
|
|||||
|
Re: FRC Java 2010 Documentation
Quote:
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. Last edited by DonRotolo : 09-07-2009 at 01:37 PM. |
|
#10
|
||||
|
||||
|
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 |
|
#11
|
|||
|
|||
|
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... |
|
#12
|
|||
|
|||
|
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.
|
![]() |
| Thread Tools | |
| Display Modes | Rate This Thread |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| FRC 2010 Registration fees reduced | rsisk | General Forum | 23 | 08-19-2009 10:50 PM |
| FRC kick-off 2010 season dates | Andrew Schuetze | General Forum | 51 | 08-18-2009 01:33 PM |
| Will we see Artificial Neural Networks in FRC in 2010? | manderson5192 | Java | 11 | 07-22-2009 03:30 PM |
| FRC cRio Documentation posted | ebmonon36 | FRC Control System | 5 | 11-26-2008 03:43 PM |
| A serious (FATAL) error in the FRC documentation (competition_mode) | KenWittlief | Programming | 17 | 03-29-2004 01:47 PM |