|
|
|
![]() |
|
|||||||
|
||||||||
![]() |
| Thread Tools | Rate Thread | Display Modes |
|
#1
|
|||
|
|||
|
CAN Talon SRX Programming
Hello, programming in Java and my entire team is unable to find any way to code these talons. ScreenStepsLive said that we could use external jars, from http://www.ctr-electronics.com/hro.h...ical_resources
We got the external jar, imported the CTRLib.jar into eclipse. Image. Error on the bottom. CrossTheRoad Library on the left. http://i.imgur.com/jlLfXQe.png Github: https://github.com/CentrevilleRobotics/Steamworks Error: java.lang.UnsatisfiedLinkError: no CTRLibDriver in java.library.path at java.lang.ClassLoader.loadLibrary(ClassLoader.java :1857) at java.lang.Runtime.loadLibrary0(Runtime.java:870) at java.lang.System.loadLibrary(System.java:1119) at com.ctre.CTREJNIWrapper.<clinit>(CTREJNIWrapper.ja va:12) at com.ctre.CANTalon.<init>(CANTalon.java:366) at org.usfirst.frc.team5243.robot.subsystems.DriveSub system.<init>(DriveSubsystem.java:29) at org.usfirst.frc.team5243.robot.Robot.robotInit(Rob ot.java:36) at edu.wpi.first.wpilibj.IterativeRobot.startCompetit ion(IterativeRobot.java:64) at edu.wpi.first.wpilibj.RobotBase.main(RobotBase.jav a:247) Any help would be greatly appreciated. This error is tearing the team apart, literally. |
|
#2
|
||||||
|
||||||
|
Re: CAN Talon SRX Programming
What version of the FRC eclipse plugins are you using?
|
|
#3
|
|||
|
|||
|
Re: CAN Talon SRX Programming
We had updated to the most recent plugins, where we could no longer use the CAN Talon that existed in older versions of wpilib.
|
|
#4
|
|||
|
|||
|
Re: CAN Talon SRX Programming
We have managed to get it working.
We used Filezilla to transfer the .so files(downloaded from http://www.ctr-electronics.com/hro.h...ical_resources) directly onto the roborio (usr/local/FRC/lib) |
|
#5
|
||||
|
||||
|
Re: CAN Talon SRX Programming
Quote:
OR followed the instructions in section 4.3 in the CTRE Toolsuite Installation Guide. OR looked up the error in section 3.3 in the CTRE Toolsuite Installation Guide. http://www.ctr-electronics.com/hro.h...ical_resources |
![]() |
| Thread Tools | |
| Display Modes | Rate This Thread |
|
|