Chief Delphi

Chief Delphi (http://www.chiefdelphi.com/forums/index.php)
-   Java (http://www.chiefdelphi.com/forums/forumdisplay.php?f=184)
-   -   Error when running Talon SRX with 2017 Control System (http://www.chiefdelphi.com/forums/showthread.php?t=153359)

robpuff 10-01-2017 01:38

Error when running Talon SRX with 2017 Control System
 
With the new changes to wpilib, the software for Talon SRX has been moved to another library. I tried updating last year's code with the 2017 control system. However, when running the updated code in gazebo simulation or with last year's robot, I get the following error:

java.lang.NoClassDefFoundError: com/ctre/CANTalon

Anybody know a fix?

Thank you,
Robbie Tacescu

euhlmann 10-01-2017 07:29

Re: Error when running Talon SRX with 2017 Control System
 
Install the CTRE libraries
http://www.ctr-electronics.com/downl...20v4.4.1.8.zip

ozrien 10-01-2017 11:50

Re: Error when running Talon SRX with 2017 Control System
 
Latest CTRE toolchain (with FRC support) is here...
http://www.ctr-electronics.com/hro.h...ical_resources

Previous post is a direct link to that specific version.

bdaroz 10-01-2017 12:01

Re: Error when running Talon SRX with 2017 Control System
 
Is there any hope of getting a TalonSRXLibJava-source.jar or some sort of integrated JavaDoc any time soon?

This packaging nightmare is bad enough (we're already had to get exceptions in our school's antivirus app to be able to unzip this), but all the in-IDE docs are gone now.

ozrien 10-01-2017 15:21

Re: Error when running Talon SRX with 2017 Control System
 
First release of API documentation here....
http://www.ctr-electronics.com/downl...umentation.zip

We'll put it into the installer moving forward.

robpuff 10-01-2017 19:53

Re: Error when running Talon SRX with 2017 Control System
 
I've installed those already, and I still have this issue.

Robbie Tacescu

bdaroz 10-01-2017 20:17

Re: Error when running Talon SRX with 2017 Control System
 
Are you building using the ANT target, or the internal build command in Eclipse?

If it's the later, make sure the .jar files in the user lib directory are included in the build path. The former should be automatic.

robpuff 10-01-2017 23:01

Re: Error when running Talon SRX with 2017 Control System
 
I've discovered the issue goes away when I make a new eclipse project. Thanks for helping out!

Robbie Tacescu


All times are GMT -5. The time now is 12:34.

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