You're a keeper.
Home
Go Back   Chief Delphi > Technical > Programming
CD-Media   CD-Spy  
portal register members calendar search Today's Posts Mark Forums Read FAQ rules

 
Reply
Thread Tools Rate Thread Display Modes
  #16   Spotlight this post!  
Unread 08-01-2017, 01:04
kylestach1678's Avatar
kylestach1678 kylestach1678 is offline
Registered User
AKA: Kyle Stachowicz
FRC #1678 (Citrus Circuits)
Team Role: Programmer
 
Join Date: Dec 2014
Rookie Year: 2015
Location: Davis, CA
Posts: 25
kylestach1678 is a splendid one to beholdkylestach1678 is a splendid one to beholdkylestach1678 is a splendid one to beholdkylestach1678 is a splendid one to beholdkylestach1678 is a splendid one to beholdkylestach1678 is a splendid one to beholdkylestach1678 is a splendid one to beholdkylestach1678 is a splendid one to behold
Re: WPILib Suite 2017

What is the difference between the 2016 C++ toolchain and the one for this year (2017)? I can't seem to find a changelog, and they're supposedly the same GCC version.
__________________

Reply With Quote
  #17   Spotlight this post!  
Unread 08-01-2017, 01:22
fsilberberg fsilberberg is offline
WPILib Developer
AKA: Fred Silberberg
FRC #0190
Team Role: Alumni
 
Join Date: Jan 2010
Rookie Year: 2010
Location: Redmond
Posts: 148
fsilberberg has a spectacular aura aboutfsilberberg has a spectacular aura aboutfsilberberg has a spectacular aura about
Re: WPILib Suite 2017

Quote:
Originally Posted by kylestach1678 View Post
What is the difference between the 2016 C++ toolchain and the one for this year (2017)? I can't seem to find a changelog, and they're supposedly the same GCC version.
The installer itself had a few bugs fixed, and it has a new sysroot to match the 2017 image. The compiler version itself is the same.
Reply With Quote
  #18   Spotlight this post!  
Unread 08-01-2017, 02:34
apache8080 apache8080 is offline
Lead Programmer, Drive Coach, Scout
AKA: Rishi Desai
FRC #5677
Team Role: Programmer
 
Join Date: Jan 2014
Rookie Year: 2013
Location: San Jose, CA
Posts: 38
apache8080 is on a distinguished road
Re: WPILib Suite 2017

Does anybody know where the API/Documentation is for the CTRE CANTalon library? It is not on the first wpilib documentation and I can't find it anywhere on the CTRE site.

My team uses Java. Last year the CANTalon library used to be built in to the WPILib but now it is part of the 3rd party libraries from CTRE. I have gotten that setup on my development machine but I can't find any documentation anywhere on classes in the library (javadoc).
__________________
Rishi Desai

Team 5677, 2016-Present
Team 3256, 2013-2016
My GitHub

Last edited by apache8080 : 08-01-2017 at 02:40.
Reply With Quote
  #19   Spotlight this post!  
Unread 08-01-2017, 03:05
19lmyers 19lmyers is online now
Student
AKA: Luke Myers
FRC #0980 (Thunderbots)
Team Role: Scout
 
Join Date: Dec 2015
Rookie Year: 2016
Location: USA
Posts: 47
19lmyers has a spectacular aura about19lmyers has a spectacular aura about
Re: WPILib Suite 2017

Quote:
Originally Posted by apache8080 View Post
Does anybody know where the API/Documentation is for the CTRE CANTalon library? It is not on the first wpilib documentation and I can't find it anywhere on the CTRE site.

My team uses Java. Last year the CANTalon library used to be built in to the WPILib but now it is part of the 3rd party libraries from CTRE. I have gotten that setup on my development machine but I can't find any documentation anywhere on classes in the library (javadoc).
http://wpilib.screenstepslive.com/s/...arty-libraries should be of use. This page should be in a sticky somewhere, it's crucial and really hard to find...
__________________
FRC Team 980 Thunderbots
Programmer
Scouting Lead
Lead developer of ThunderScout
Reply With Quote
  #20   Spotlight this post!  
Unread 08-01-2017, 12:56
demosthenes2k8's Avatar
demosthenes2k8 demosthenes2k8 is offline
Graduated but not gone
AKA: Matt Soucy
FRC #0166 (Chop Shop 166)
Team Role: Mentor
 
Join Date: Jan 2009
Rookie Year: 2007
Location: Merrimack, NH
Posts: 590
demosthenes2k8 is a splendid one to beholddemosthenes2k8 is a splendid one to beholddemosthenes2k8 is a splendid one to beholddemosthenes2k8 is a splendid one to beholddemosthenes2k8 is a splendid one to beholddemosthenes2k8 is a splendid one to beholddemosthenes2k8 is a splendid one to beholddemosthenes2k8 is a splendid one to behold
Send a message via AIM to demosthenes2k8 Send a message via Yahoo to demosthenes2k8
Re: WPILib Suite 2017

Quote:
Originally Posted by fsilberberg View Post
We support Maven as an alternative download method, this might be what you're looking for. See the article here: http://wpilib.screenstepslive.com/s/...ource/l/480976.
The repository that the page references doesn't seem to have any 2017 releases yet? I'm not finding any reference to "athena" like the page says, though that could be unfamiliarity with the maven structure

EDIT: Never mind, found it
__________________


GSR Dean's List Finalist 2011

Last edited by demosthenes2k8 : 08-01-2017 at 15:22.
Reply With Quote
  #21   Spotlight this post!  
Unread 08-01-2017, 13:26
apache8080 apache8080 is offline
Lead Programmer, Drive Coach, Scout
AKA: Rishi Desai
FRC #5677
Team Role: Programmer
 
Join Date: Jan 2014
Rookie Year: 2013
Location: San Jose, CA
Posts: 38
apache8080 is on a distinguished road
Re: WPILib Suite 2017

Quote:
Originally Posted by 19lmyers View Post
http://wpilib.screenstepslive.com/s/...arty-libraries should be of use. This page should be in a sticky somewhere, it's crucial and really hard to find...
I already followed those instructions and have the CTRE 3rd party libraries installed. I was just wondering where the documentation is for the library. I think the CANTalon Library is exactly the same as the wpilibj CANSpeedController. Does anybody know if this is right?
__________________
Rishi Desai

Team 5677, 2016-Present
Team 3256, 2013-2016
My GitHub
Reply With Quote
  #22   Spotlight this post!  
Unread 08-01-2017, 16:50
Crossle86's Avatar
Crossle86 Crossle86 is offline
Software Engineer
AKA: Richard Corn
FRC #4450 (Olympia Robotics Federation)
Team Role: Mentor
 
Join Date: Jan 2013
Rookie Year: 2013
Location: Olympia, WA.
Posts: 93
Crossle86 is an unknown quantity at this point
Re: WPILib Suite 2017

Quote:
Originally Posted by Jacob C. View Post
Just put the appropriate include or import statement in your code.
So where does one find out what the appropriate import statement is? I have not been able to locate any doc for the CTRE library.
Reply With Quote
  #23   Spotlight this post!  
Unread 08-01-2017, 17:12
john1945 john1945 is offline
Registered User
no team
 
Join Date: Jan 2017
Location: Syndey
Posts: 2
john1945 is an unknown quantity at this point
Re: WPILib Suite 2017

Quote:
Originally Posted by Crossle86 View Post
So where does one find out what the appropriate import statement is? I have not been able to locate any doc for the CTRE library.
Sadly, the documentation is lacking for the 2017 CTRE library.

The import statements are:

import com.ctre.CANTalon; // The main CAN talon device

import com.ctre.CANTalon.FeedbackDevice; // The modifiers for the CAN talon device
import com.ctre.CANTalon.StatusFrameRate;
import com.ctre.CANTalon.TalonControlMode;

After that use them as per last year.
For teams that did not keep last year's javadoc (or don't have a 2016 install) there isn't any source on the CTRE web site yet. I'm hoping that they will remedy this soon.
Reply With Quote
  #24   Spotlight this post!  
Unread 08-01-2017, 19:21
ozrien's Avatar
ozrien ozrien is offline
Omar Zrien
AKA: Omar
no team
Team Role: Mentor
 
Join Date: Sep 2006
Rookie Year: 2003
Location: Sterling Heights, MI
Posts: 566
ozrien has a reputation beyond reputeozrien has a reputation beyond reputeozrien has a reputation beyond reputeozrien has a reputation beyond reputeozrien has a reputation beyond reputeozrien has a reputation beyond reputeozrien has a reputation beyond reputeozrien has a reputation beyond reputeozrien has a reputation beyond reputeozrien has a reputation beyond reputeozrien has a reputation beyond repute
Re: WPILib Suite 2017

Migrating from 2016 to 2017 is explained in section 3.1.1 of the Talon SRX Software Reference Manual.
Reply With Quote
  #25   Spotlight this post!  
Unread 08-01-2017, 19:56
john1945 john1945 is offline
Registered User
no team
 
Join Date: Jan 2017
Location: Syndey
Posts: 2
john1945 is an unknown quantity at this point
Re: WPILib Suite 2017

Quote:
Originally Posted by ozrien View Post
Migrating from 2016 to 2017 is explained in section 3.1.1 of the Talon SRX Software Reference Manual.
Hi Ozrien,
is it possible to get a javadoc to go with the new library, or is the SRM the only reference available?
Reply With Quote
  #26   Spotlight this post!  
Unread 08-01-2017, 20:54
ozrien's Avatar
ozrien ozrien is offline
Omar Zrien
AKA: Omar
no team
Team Role: Mentor
 
Join Date: Sep 2006
Rookie Year: 2003
Location: Sterling Heights, MI
Posts: 566
ozrien has a reputation beyond reputeozrien has a reputation beyond reputeozrien has a reputation beyond reputeozrien has a reputation beyond reputeozrien has a reputation beyond reputeozrien has a reputation beyond reputeozrien has a reputation beyond reputeozrien has a reputation beyond reputeozrien has a reputation beyond reputeozrien has a reputation beyond reputeozrien has a reputation beyond repute
Re: WPILib Suite 2017

We'll put up a javadoc soon, stay tuned. But in the mean time, I would take a look at the ref manual and our github examples.
Reply With Quote
  #27   Spotlight this post!  
Unread 08-01-2017, 21:24
wjd13 wjd13 is offline
Registered User
FRC #4905 (Andromeda One)
Team Role: Programmer
 
Join Date: Mar 2015
Rookie Year: 2015
Location: Ayer, MA
Posts: 55
wjd13 is an unknown quantity at this point
Re: WPILib Suite 2017

Sorry I'm late to the party all. Are we saying that there is no javadoc up yet for the CANTalon library?
Reply With Quote
  #28   Spotlight this post!  
Unread 09-01-2017, 08:24
arshacker arshacker is offline
Registered User
#0545
 
Join Date: Jan 2003
Location: long island, ny
Posts: 8
arshacker has a little shameless behaviour in the past
Re: WPILib Suite 2017

Has anyone actually written a sample program in either CPP or JAVA using the CTRE 2017 download for CANTALON (as opposed to TALON)?

In particular., declaring a m_cantalon object, instantiating the m_cantalon object, and creating both an open-loop and and a closed-loop mode for the m_cantalon object. For me TALON works(no closed-loop obviously), but CANTALON doesn't.

Both CPP and JAVA replies to this post will be appreciated.
Reply With Quote
  #29   Spotlight this post!  
Unread 09-01-2017, 09:51
ozrien's Avatar
ozrien ozrien is offline
Omar Zrien
AKA: Omar
no team
Team Role: Mentor
 
Join Date: Sep 2006
Rookie Year: 2003
Location: Sterling Heights, MI
Posts: 566
ozrien has a reputation beyond reputeozrien has a reputation beyond reputeozrien has a reputation beyond reputeozrien has a reputation beyond reputeozrien has a reputation beyond reputeozrien has a reputation beyond reputeozrien has a reputation beyond reputeozrien has a reputation beyond reputeozrien has a reputation beyond reputeozrien has a reputation beyond reputeozrien has a reputation beyond repute
Re: WPILib Suite 2017

Quote:
Originally Posted by arshacker View Post
Has anyone actually written a sample program in either CPP or JAVA using the CTRE 2017 download for CANTALON (as opposed to TALON)?

In particular., declaring a m_cantalon object, instantiating the m_cantalon object, and creating both an open-loop and and a closed-loop mode for the m_cantalon object. For me TALON works(no closed-loop obviously), but CANTALON doesn't.

Both CPP and JAVA replies to this post will be appreciated.

Of course that was done, by us and by beta teams. And for the most part all you need to do is add an import/include for pre2016 cpp/java projects to work. Is there a specific problem you are seeing? Did you follow the steps in section 3.1.1 of the Talon srx software reference manual?
Reply With Quote
  #30   Spotlight this post!  
Unread 09-01-2017, 10:00
snekiam snekiam is offline
Registered User
FRC #3322 (Eagle Imperium)
Team Role: Programmer
 
Join Date: Dec 2015
Rookie Year: 2010
Location: SE Michigan
Posts: 98
snekiam has a spectacular aura aboutsnekiam has a spectacular aura aboutsnekiam has a spectacular aura about
Re: WPILib Suite 2017

I'm probably confused by the maven repo structure, but I don't see anything from 2017 under http://first.wpi.edu/FRC/roborio/maven/release/. Am I looking in the wrong spot?
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 15:32.

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