Go to Post Well, I know that I could crash the robot into a large object with even greater precision... but if you mean what could the kids do with it... yeah, they'd probably accomplish something creative and useful! - dtengineering [more]
Home
Go Back   Chief Delphi > Technical > Programming > NI LabVIEW
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 13-12-2013, 05:30
GuyM142's Avatar
GuyM142 GuyM142 is offline
Registered User
AKA: Guy
FRC #3339 (BumbleBee)
Team Role: Mentor
 
Join Date: Jul 2013
Rookie Year: 2012
Location: Israel
Posts: 157
GuyM142 is just really niceGuyM142 is just really niceGuyM142 is just really niceGuyM142 is just really niceGuyM142 is just really nice
WPI Robotics library updates

I want to write some code in LV 2012 for FRC 2013 that will work for the coming season.
Does the update that will come in January updates the library automaticly?
I mean, Does code that was written before the update will be updated to the new version without rewriting it? (bug fixes etc.)
Reply With Quote
  #2   Spotlight this post!  
Unread 13-12-2013, 06:51
Greg McKaskle Greg McKaskle is offline
Registered User
FRC #2468 (Team NI & Appreciate)
 
Join Date: Apr 2008
Rookie Year: 2008
Location: Austin, TX
Posts: 4,751
Greg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond repute
Re: WPI Robotics library updates

Yes, provided you are using the library and not modifying the library.

The functions that open, update, and close a servo, for example, are not a part of your project. They belong to the WPILib library and your code references them. They are listed in your project under dependencies.

When the new version is installed, a newer version of that library is installed in the new version of the tool. The older version will still be located in the older location.

When your code is loaded in the newer version of the tool, it will load the newer dependency library.

Greg McKaskle
Reply With Quote
  #3   Spotlight this post!  
Unread 13-12-2013, 11:05
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,563
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: WPI Robotics library updates

Quote:
Originally Posted by GuyM142 View Post
I want to write some code in LV 2012 for FRC 2013 that will work for the coming season.
Make sure that your re-use of code is legal per R16 (or the equivilant in next years rules).
Reply With Quote
  #4   Spotlight this post!  
Unread 13-12-2013, 11:45
GuyM142's Avatar
GuyM142 GuyM142 is offline
Registered User
AKA: Guy
FRC #3339 (BumbleBee)
Team Role: Mentor
 
Join Date: Jul 2013
Rookie Year: 2012
Location: Israel
Posts: 157
GuyM142 is just really niceGuyM142 is just really niceGuyM142 is just really niceGuyM142 is just really niceGuyM142 is just really nice
Re: WPI Robotics library updates

Quote:
Originally Posted by Joe Ross View Post
Make sure that your re-use of code is legal per R16 (or the equivilant in next years rules).
I didn't know that, Thank you

Quote:
Originally Posted by Greg McKaskle View Post
Yes, provided you are using the library and not modifying the library.

The functions that open, update, and close a servo, for example, are not a part of your project. They belong to the WPILib library and your code references them. They are listed in your project under dependencies.

When the new version is installed, a newer version of that library is installed in the new version of the tool. The older version will still be located in the older location.

When your code is loaded in the newer version of the tool, it will load the newer dependency library.

Greg McKaskle
Got it! Thank you.
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 09:47.

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