|
|
|
![]() |
|
|||||||
|
||||||||
![]() |
|
|
Thread Tools | Rate Thread | Display Modes |
|
|
|
#1
|
|||
|
|||
|
Re: CTRE CANTalon library installation not working
Nevermind! The issue was resolved by installing instead to users/<USER>/wpilib/user/java/lib
We may have messed up and used the wrong installation path, but we're pretty sure CTR's tutorial for installing told us to do the wrong thing. Either way, thanks to the guys in Discord for the help. |
|
#2
|
|||
|
|||
|
Re: CTRE CANTalon library installation not working
We found that the CTRE tutorial was outdated and it was best to use the example projects on Github as models (https://github.com/CrossTheRoadElec/FRC-Examples).
Following these instructions seemed to solve our build problem: 1: Download CTRE Toolsuite (No Installer) package 4.4.1.9 (.zip) from http://www.ctr-electronics.com/hro.h...ical_resources 2: Extract the downloaded Zip file. 3: Take the Java folder and Copy and Paste the entire folder into wpilib/user/ 4: If you have any questions refer to the README in the root directory of the zipped folder. |
|
#3
|
|||
|
|||
|
Re: CTRE CANTalon library installation not working
I added the post above just in case someone in the future stumbles upon this thread and has the same issue.
|
|
#4
|
|||
|
|||
|
Re: CTRE CANTalon library installation not working
Hmm...interesting.... I seem to have the files in the correct place (checked with a teammate whose import worked without error). However, "com.ctre" cannot be resolved according to Eclipse. I wish the Talon software was still bundled with WPILIB
![]() |
|
#5
|
||||
|
||||
|
Re: CTRE CANTalon library installation not working
If it's just eclipse's internal build throwing the error - and the ANT build step is not, check your classpath/libraries in Eclipse - the CTRE .jar files may not be included.
|
|
#6
|
|||
|
|||
|
Re: CTRE CANTalon library installation not working
Has anyone found any documentation/source code for the TalonSRX's?
|
|
#7
|
|||
|
|||
|
Re: CTRE CANTalon library installation not working
Quote:
Quote:
Quote:
This might seem trivial, but have you restarted Eclipse? It puts external libraries into the path when you first open it. |
|
#8
|
|||
|
|||
|
Re: CTRE CANTalon library installation not working
Quote:
I'm guessing based on the distribution that the majority of the code is probably C++ code with a JNI wrapper, but every little bit helps. Thanks! Burt Smith FRC 571 Team Paragon |
![]() |
| Thread Tools | |
| Display Modes | Rate This Thread |
|
|