Go to Post Give a group of engineers the choice of three options, and they'll pick choice number seven. - Taylor [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 12-01-2011, 19:45
Pmaxm00 Pmaxm00 is offline
Lead Programmer
FRC #2974 (Team WALT)
Team Role: Programmer
 
Join Date: Jan 2011
Rookie Year: 2010
Location: Marietta, GA
Posts: 17
Pmaxm00 has a spectacular aura aboutPmaxm00 has a spectacular aura about
Lightbulb 2011 WPILIBJ Java Documentation

I got bored today so I tried finding Java Documentation for this years code packages, and I couldn't find anything... SOOOOOOOO I ended up generating it on my own and uploading for public use. Check it out at http://javadoc.waltonrobotics.org/.
__________________

Impossibility? I accept your challenge.
Reply With Quote
  #2   Spotlight this post!  
Unread 12-01-2011, 20:04
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: 2011 WPILIBJ Java Documentation

Gracias por la esa. Anyways what is the difference from last year's? Is the back end more efficient than last year's was or is it just to be compatible with the Classmates?
__________________
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
  #3   Spotlight this post!  
Unread 12-01-2011, 20:30
Pmaxm00 Pmaxm00 is offline
Lead Programmer
FRC #2974 (Team WALT)
Team Role: Programmer
 
Join Date: Jan 2011
Rookie Year: 2010
Location: Marietta, GA
Posts: 17
Pmaxm00 has a spectacular aura aboutPmaxm00 has a spectacular aura about
Re: 2011 WPILIBJ Java Documentation

So far I have not found a difference in the code. Tomorrow I will probably check out to see what the differences are.
__________________

Impossibility? I accept your challenge.
Reply With Quote
  #4   Spotlight this post!  
Unread 12-01-2011, 20:55
Alexander Meyer Alexander Meyer is offline
Registered User
FRC #2358 (Bearbotics)
Team Role: Mentor
 
Join Date: Jan 2010
Rookie Year: 2010
Location: Lake Zurich, Illinois
Posts: 36
Alexander Meyer is on a distinguished road
Re: 2011 WPILIBJ Java Documentation

The Javadocs are located in the sunspotfrcsdk folder, which on Windows is in C:\Documents and Settings\{user}, and on Linux is in the home folder.
Reply With Quote
  #5   Spotlight this post!  
Unread 13-01-2011, 01:08
Patrick Chiang Patrick Chiang is offline
Programming
FRC #3070 (Team Pronto)
Team Role: Mentor
 
Join Date: Feb 2009
Rookie Year: 2009
Location: Seattle
Posts: 162
Patrick Chiang is a name known to allPatrick Chiang is a name known to allPatrick Chiang is a name known to allPatrick Chiang is a name known to allPatrick Chiang is a name known to allPatrick Chiang is a name known to all
Re: 2011 WPILIBJ Java Documentation

They changed it in so many subtle ways this year. 10 minutes into the coding, I realized that they removed the "sensitivity" parameter of the RobotDrive class. I read and re-read the manual but didn't find anything. Also, there's a new class called the SmartDashboard class (in changelog), but I couldn't find the documentation for it. Confused me until I noticed that the javadocs said "2010" on it.
Reply With Quote
  #6   Spotlight this post!  
Unread 13-01-2011, 01:28
Patrick Chiang Patrick Chiang is offline
Programming
FRC #3070 (Team Pronto)
Team Role: Mentor
 
Join Date: Feb 2009
Rookie Year: 2009
Location: Seattle
Posts: 162
Patrick Chiang is a name known to allPatrick Chiang is a name known to allPatrick Chiang is a name known to allPatrick Chiang is a name known to allPatrick Chiang is a name known to allPatrick Chiang is a name known to all
Re: 2011 WPILIBJ Java Documentation

By the way, your web version does not contain all the documents.

I uploaded a more complete version onto Google projects.

http://frc-2011-javadocs.googlecode.com/files/doc.zip
Reply With Quote
  #7   Spotlight this post!  
Unread 14-01-2011, 13:32
Pmaxm00 Pmaxm00 is offline
Lead Programmer
FRC #2974 (Team WALT)
Team Role: Programmer
 
Join Date: Jan 2011
Rookie Year: 2010
Location: Marietta, GA
Posts: 17
Pmaxm00 has a spectacular aura aboutPmaxm00 has a spectacular aura about
Re: 2011 WPILIBJ Java Documentation

Thanks Patrick, I uploaded that to fix the faults I had.
__________________

Impossibility? I accept your challenge.
Reply With Quote
  #8   Spotlight this post!  
Unread 15-01-2011, 03:01
Patrick Chiang Patrick Chiang is offline
Programming
FRC #3070 (Team Pronto)
Team Role: Mentor
 
Join Date: Feb 2009
Rookie Year: 2009
Location: Seattle
Posts: 162
Patrick Chiang is a name known to allPatrick Chiang is a name known to allPatrick Chiang is a name known to allPatrick Chiang is a name known to allPatrick Chiang is a name known to allPatrick Chiang is a name known to all
Re: 2011 WPILIBJ Java Documentation

Quote:
Originally Posted by Pmaxm00 View Post
Thanks Patrick, I uploaded that to fix the faults I had.
No problem. We're still missing parts of it, like the squawk device libraries. I figured out how to generate javadocs for external library last night but now I can't remember.

EDIT: Nevermind, I found the javadocs already generated inside the Squawk SDK. How did I miss that?!
Anyway, here's the new link: http://frc-2011-javadocs.googlecode....avadoc2011.zip

Last edited by Patrick Chiang : 15-01-2011 at 03:22.
Reply With Quote
  #9   Spotlight this post!  
Unread 16-01-2011, 18:50
Ryan O's Avatar
Ryan O Ryan O is offline
FRC Eclipse Plug-in Developer
no team (FRC Eclipse)
Team Role: Programmer
 
Join Date: Jan 2006
Rookie Year: 2005
Location: Plaistow
Posts: 111
Ryan O is an unknown quantity at this point
Send a message via AIM to Ryan O
Re: 2011 WPILIBJ Java Documentation

Also, javadocs not being accessible is the type of thing we'd love to see entered into the WPILib Tracker for consideration as a shortcoming to fix - the javadocs are linked into the FRC Eclipse Plug-in Help Contents (though this thread has made me double check what is linked and realize that they are slightly behind update wise, which will be fixed in the next stable release)

Anything else along these lines which you think needs fixing, feel free to put on the Tracker at http://firstforge.wpi.edu/sf/tracker...wpilib/tracker
__________________
CRUD Name: Windows
Rookie Year: 2005
Alumni to Team: 350
Reply With Quote
  #10   Spotlight this post!  
Unread 17-01-2011, 22:41
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: 2011 WPILIBJ Java Documentation

Quote:
Originally Posted by Pmaxm00 View Post
So far I have not found a difference in the code. Tomorrow I will probably check out to see what the differences are.
I'd done a diff of a backup of the pre-update code with the new code. I no longer have the diff or the original code, but here is a summary of what I found.

A lot of subtle stuff. A few protocols were changed in ways I don't fully understand. A few places it was adjusted how data was represented (signedness, making sure only so many bits made it onto the network. A lot of stuff was rearranged to make the whole thing more OO; everything's better about extending/implementing the right stuff. There are more built-in drive modes. CANJaguar is now in the library, instead of a separate set of files. These are quite a bit different from the old CANJaguar files, internally; they seem to work about the same, though they have more methods.
Reply With Quote
  #11   Spotlight this post!  
Unread 19-01-2011, 00:22
Pmaxm00 Pmaxm00 is offline
Lead Programmer
FRC #2974 (Team WALT)
Team Role: Programmer
 
Join Date: Jan 2011
Rookie Year: 2010
Location: Marietta, GA
Posts: 17
Pmaxm00 has a spectacular aura aboutPmaxm00 has a spectacular aura about
Re: 2011 WPILIBJ Java Documentation

Quote:
Originally Posted by Patrick Chiang View Post
Okay, I am currently re-uploading it. How exactly do you generate api/javadoc for all of it? I found a way, but apparently it didn't get everything.
__________________

Impossibility? I accept your challenge.
Reply With Quote
  #12   Spotlight this post!  
Unread 19-01-2011, 01:46
Patrick Chiang Patrick Chiang is offline
Programming
FRC #3070 (Team Pronto)
Team Role: Mentor
 
Join Date: Feb 2009
Rookie Year: 2009
Location: Seattle
Posts: 162
Patrick Chiang is a name known to allPatrick Chiang is a name known to allPatrick Chiang is a name known to allPatrick Chiang is a name known to allPatrick Chiang is a name known to allPatrick Chiang is a name known to all
Re: 2011 WPILIBJ Java Documentation

Quote:
Originally Posted by Pmaxm00 View Post
Okay, I am currently re-uploading it. How exactly do you generate api/javadoc for all of it? I found a way, but apparently it didn't get everything.
Heh. There's no need to upload it any more. I figured out later that it's already generated on your computer. Find the Doc folder in your sunspotsdk folder and it should already be there.
Reply With Quote
  #13   Spotlight this post!  
Unread 19-01-2011, 18:39
Pmaxm00 Pmaxm00 is offline
Lead Programmer
FRC #2974 (Team WALT)
Team Role: Programmer
 
Join Date: Jan 2011
Rookie Year: 2010
Location: Marietta, GA
Posts: 17
Pmaxm00 has a spectacular aura aboutPmaxm00 has a spectacular aura about
Re: 2011 WPILIBJ Java Documentation

Ohhhhhh Okay. Eh, I'll still keep it uploaded and up to date just for the heck of it.
__________________

Impossibility? I accept your challenge.
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


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

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