Go to Post Welcome to adulthood. Remember, patience is your friend. Denial is your shield. Bitter disinterest your salve. Your endless hours of crushing workload will be your strength. Good luck, soldier. - Koko Ed [more]
Home
Go Back   Chief Delphi > Technical > Programming > C/C++
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-2009, 23:52
Kingofl337's Avatar
Kingofl337 Kingofl337 is offline
You didn't see anything....
AKA: Adam
FRC #0501 (Power Knights)
Team Role: Mentor
 
Join Date: Feb 2005
Rookie Year: 1998
Location: Manchester, NH
Posts: 861
Kingofl337 has a reputation beyond reputeKingofl337 has a reputation beyond reputeKingofl337 has a reputation beyond reputeKingofl337 has a reputation beyond reputeKingofl337 has a reputation beyond reputeKingofl337 has a reputation beyond reputeKingofl337 has a reputation beyond reputeKingofl337 has a reputation beyond reputeKingofl337 has a reputation beyond reputeKingofl337 has a reputation beyond reputeKingofl337 has a reputation beyond repute
Send a message via Yahoo to Kingofl337
Re: WindRiver WPILib problems

Dr.Nick,

All you have to do copy the drive function out of WPILib into a new cpp file and rename to something else, then call it in your program. Otherwise you need to download the source, compile it and then change the build properties for you project to point to your own WPILib.a instead of the pre-compiled one.
__________________
FIRST Team 501 PowerKnights - Mentor
FIRST Team 40 Checkmate - Mentor Alum
FIRST Team 146 Blue Lightning - Alumni
Reply With Quote
  #2   Spotlight this post!  
Unread 13-01-2009, 07:35
Bongle's Avatar
Bongle Bongle is offline
Registered User
FRC #2702 (REBotics)
Team Role: Mentor
 
Join Date: Feb 2004
Rookie Year: 2002
Location: Waterloo
Posts: 1,069
Bongle has a reputation beyond reputeBongle has a reputation beyond reputeBongle has a reputation beyond reputeBongle has a reputation beyond reputeBongle has a reputation beyond reputeBongle has a reputation beyond reputeBongle has a reputation beyond reputeBongle has a reputation beyond reputeBongle has a reputation beyond reputeBongle has a reputation beyond reputeBongle has a reputation beyond repute
Send a message via MSN to Bongle
Re: WindRiver WPILib problems

You can use WPILib pre-compiled?

We've been compiling it every time: given the bugs we've found in the WPI code (InArea, FindColor, and GetLargestParticle so far), it is very useful to be able to modify it. What we did was go into windows explorer, and drag-drop every single CPP and H into our project. This ends up moving them all to your project's directory, and then you can freely modify them while still having a backup in c:\windriver\wpilib

Just posted a thread detailing the bugs we found, in case anyone is interested.

Last edited by Bongle : 13-01-2009 at 08:25.
Reply With Quote
  #3   Spotlight this post!  
Unread 13-01-2009, 16:17
Dr Nick Dr Nick is offline
Registered User
FRC #0501 (The Powerknights!)
Team Role: Programmer
 
Join Date: Jan 2007
Rookie Year: 2006
Location: Manchvegas NH!
Posts: 24
Dr Nick has a spectacular aura aboutDr Nick has a spectacular aura about
Send a message via AIM to Dr Nick
Re: WindRiver WPILib problems

Ok, at this point with the drive stuff I guess I'll just do my own functions like you said Kingofl.
Anybody know a relative time frame for the next update to the WPILib? I don't want to go in and start fixing that code if an update is coming this week or something but I also don't want that to stop us from working on it.
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
Windriver LAC McGurky C/C++ 12 25-02-2009 18:38
compiling in windriver koreabell Programming 4 05-01-2009 15:32
windriver projects nickmagus Programming 4 01-12-2008 23:29
WPILib problems under linux tmbg37 Programming 2 23-01-2007 23:53


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

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