Go to Post If you want to use the don't ask, don't tell logic about asking then you know it is wrong. - Steve W [more]
Home
Go Back   Chief Delphi > Technical > Programming
CD-Media   CD-Spy  
portal register members calendar search Today's Posts Mark Forums Read FAQ rules

 
Closed Thread
Thread Tools Rate Thread Display Modes
  #1   Spotlight this post!  
Unread 21-01-2011, 21:26
MattCarey3625's Avatar
MattCarey3625 MattCarey3625 is offline
#3625 Programming and Wiring Head
FRC #3625 (Some Assembly Required)
Team Role: Programmer
 
Join Date: Jan 2011
Rookie Year: 2011
Location: Virginia Beach, VA
Posts: 23
MattCarey3625 is an unknown quantity at this point
WPILib Source Code

Hello, I am a jack of all trades with programming but for some reason or another I cannot wrap my head around LabVIEW. Could someone tell me how to read the WPILib or where I can see it online? I do not know an of the classes that are to be used. Any help is appreciated, thank you.
__________________
matt@hp-mini-110$> sudo make robot
sudo pass for matt:
unable to make robot
  #2   Spotlight this post!  
Unread 21-01-2011, 22:28
DtD's Avatar
DtD DtD is offline
I hope the watchdog starves!
AKA: Pathogen David
FRC #2410 (The Metal Mustangs (Merged from 2334, Hazmat Robotics))
Team Role: Programmer
 
Join Date: Jan 2008
Rookie Year: 2008
Location: Kansas
Posts: 86
DtD will become famous soon enoughDtD will become famous soon enough
Re: WPILib Source Code

The version of WPILib that ships with the latest Windriver update is located in the C:/Windriver/WPILib_Sourcecode/ or something like that (I don't have my VM up right now.) The documentation is in the source in the standard doxygen format. The one I generated can be found at http://www.pathogenstudios.com/WPILib/ (It is missing the call graphs and such, but it should be ok. I'm probably gonna update it with graphs tonight.)

You probably want to start with one of the examples included with Windriver. SimpleRobot is OK, but IterativeRobot is much friendlier when working with sensors.

EDIT: Also, I can't blame you for having issues understanding LabView if you are used to text-based programming.

Also, you should post in one of the subforums next time. WPILib is in C++ AND Java. I am reffering to the C++ version so if you're using Java, that documentation might not be right.

EDIT: EDIT: I decided I should finnally get around to updating the documentation with graphs. I'm also gonna get rid of the stupid html directory so the URL will just be http://www.pathogenstudios.com/WPILib/ now.

EDIT: EDIT: EDIT: Finished uploading. So there are graphs now and it is the new doxygen style. The only issue is the graphs are huge thanks to some of the internal FPGA classes.

EDIT: EDIT: EDIT: EDIT: I tried adding the FPGA stuff to the EXCLUDE_SYMBOLS, but it is still in the graphs and not in the documenation. Anyone know how to remove them from the graphs?

Last edited by DtD : 22-01-2011 at 00:03.
  #3   Spotlight this post!  
Unread 22-01-2011, 00:27
Alan Anderson's Avatar
Alan Anderson Alan Anderson is offline
Software Architect
FRC #0045 (TechnoKats)
Team Role: Mentor
 
Join Date: Feb 2004
Rookie Year: 2004
Location: Kokomo, Indiana
Posts: 9,113
Alan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond repute
Re: WPILib Source Code

Quote:
Originally Posted by MattCarey3625 View Post
I cannot wrap my head around LabVIEW.
Try the tutorials provided on the http://www.frcmastery.com/ web site. It sometimes takes a little bit of "unlearning" before the dataflow programming concept can sink in. Give yourself some time to let things settle down in your head before you decide you're unable to grasp it.
  #4   Spotlight this post!  
Unread 23-01-2011, 02:49
Robototes2412's Avatar
Robototes2412 Robototes2412 is offline
1 * 4 != 14
FRC #2412 (Robototes)
Team Role: Programmer
 
Join Date: Jan 2010
Rookie Year: 2007
Location: Bellevue
Posts: 312
Robototes2412 is on a distinguished road
Re: WPILib Source Code

or just use c++/java/python
  #5   Spotlight this post!  
Unread 23-01-2011, 08:11
MagiChau's Avatar
MagiChau MagiChau is offline
Registered User
AKA: Michael Chau
FRC #0085 (B.O.B. (Built on Brains))
Team Role: Alumni
 
Join Date: Jan 2010
Rookie Year: 2010
Location: Zeeland, Michigan
Posts: 875
MagiChau is just really niceMagiChau is just really niceMagiChau is just really niceMagiChau is just really nice
Re: WPILib Source Code

When you download the WPIlib you get documentation with it.
For java:
It is usually located at
C:\Users\<name>\sunspotfrcsdk\doc\javadoc\overview-summary.html

The source code is

C:\Users\<name>\sunspotfrcsdk\lib\WPILibJ\src\edu\ wpi\first\wpilibj

Last edited by MagiChau : 23-01-2011 at 08:16.
Closed Thread


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 23:35.

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