Chief Delphi

Chief Delphi (http://www.chiefdelphi.com/forums/index.php)
-   Programming (http://www.chiefdelphi.com/forums/forumdisplay.php?f=51)
-   -   WPILib Suite 2017 (http://www.chiefdelphi.com/forums/showthread.php?t=153019)

kylestach1678 08-01-2017 01:04

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.

fsilberberg 08-01-2017 01:22

Re: WPILib Suite 2017
 
Quote:

Originally Posted by kylestach1678 (Post 1627002)
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.

apache8080 08-01-2017 02:34

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).

19lmyers 08-01-2017 03:05

Re: WPILib Suite 2017
 
Quote:

Originally Posted by apache8080 (Post 1627045)
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...

demosthenes2k8 08-01-2017 12:56

Re: WPILib Suite 2017
 
Quote:

Originally Posted by fsilberberg (Post 1626876)
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

apache8080 08-01-2017 13:26

Re: WPILib Suite 2017
 
Quote:

Originally Posted by 19lmyers (Post 1627047)
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?

Crossle86 08-01-2017 16:50

Re: WPILib Suite 2017
 
Quote:

Originally Posted by Jacob C. (Post 1626068)
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.

john1945 08-01-2017 17:12

Re: WPILib Suite 2017
 
Quote:

Originally Posted by Crossle86 (Post 1627330)
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.

ozrien 08-01-2017 19:21

Re: WPILib Suite 2017
 
Migrating from 2016 to 2017 is explained in section 3.1.1 of the Talon SRX Software Reference Manual.

john1945 08-01-2017 19:56

Re: WPILib Suite 2017
 
Quote:

Originally Posted by ozrien (Post 1627430)
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?

ozrien 08-01-2017 20:54

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.

wjd13 08-01-2017 21:24

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?

arshacker 09-01-2017 08:24

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.

ozrien 09-01-2017 09:51

Re: WPILib Suite 2017
 
Quote:

Originally Posted by arshacker (Post 1627724)
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?

snekiam 09-01-2017 10:00

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?


All times are GMT -5. The time now is 14:27.

Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2017, Jelsoft Enterprises Ltd.
Copyright © Chief Delphi