View Single Post
  #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