Go to Post I'm intrigued by the possibility of Mayan stadium sports, minus the whole sacrificing part. - AlecMataloni [more]
Home
Go Back   Chief Delphi > Technical > Programming > Java
CD-Media   CD-Spy  
portal register members calendar search Today's Posts Mark Forums Read FAQ rules

 
Reply
Thread Tools Rate Thread Display Modes
  #1   Spotlight this post!  
Unread 10-01-2017, 01:38
robpuff robpuff is offline
Registered User
FRC #2761
 
Join Date: Jan 2015
Location: California
Posts: 3
robpuff is an unknown quantity at this point
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
Reply With Quote
  #2   Spotlight this post!  
Unread 10-01-2017, 07:29
euhlmann's Avatar
euhlmann euhlmann is offline
CTO, Programmer
AKA: Erik Uhlmann
FRC #2877 (LigerBots)
Team Role: Leadership
 
Join Date: Dec 2015
Rookie Year: 2015
Location: United States
Posts: 377
euhlmann has much to be proud ofeuhlmann has much to be proud ofeuhlmann has much to be proud ofeuhlmann has much to be proud ofeuhlmann has much to be proud ofeuhlmann has much to be proud ofeuhlmann has much to be proud ofeuhlmann has much to be proud of
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
__________________
Creator of SmartDashboard.js, an extensible nodejs/webkit replacement for SmartDashboard


https://ligerbots.org
Reply With Quote
  #3   Spotlight this post!  
Unread 10-01-2017, 11:50
ozrien's Avatar
ozrien ozrien is online now
Omar Zrien
AKA: Omar
no team
Team Role: Mentor
 
Join Date: Sep 2006
Rookie Year: 2003
Location: Sterling Heights, MI
Posts: 537
ozrien has a reputation beyond reputeozrien has a reputation beyond reputeozrien has a reputation beyond reputeozrien has a reputation beyond reputeozrien has a reputation beyond reputeozrien has a reputation beyond reputeozrien has a reputation beyond reputeozrien has a reputation beyond reputeozrien has a reputation beyond reputeozrien has a reputation beyond reputeozrien has a reputation beyond repute
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.
Reply With Quote
  #4   Spotlight this post!  
Unread 10-01-2017, 12:01
bdaroz's Avatar
bdaroz bdaroz is offline
Programming Mentor
AKA: Brian Rozmierski
FRC #5881 (TVHS Dragons)
Team Role: Mentor
 
Join Date: Jan 2016
Rookie Year: 2016
Location: Albany, NY
Posts: 408
bdaroz has much to be proud ofbdaroz has much to be proud ofbdaroz has much to be proud ofbdaroz has much to be proud ofbdaroz has much to be proud ofbdaroz has much to be proud ofbdaroz has much to be proud ofbdaroz has much to be proud ofbdaroz has much to be proud of
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.
Reply With Quote
  #5   Spotlight this post!  
Unread 10-01-2017, 15:21
ozrien's Avatar
ozrien ozrien is online now
Omar Zrien
AKA: Omar
no team
Team Role: Mentor
 
Join Date: Sep 2006
Rookie Year: 2003
Location: Sterling Heights, MI
Posts: 537
ozrien has a reputation beyond reputeozrien has a reputation beyond reputeozrien has a reputation beyond reputeozrien has a reputation beyond reputeozrien has a reputation beyond reputeozrien has a reputation beyond reputeozrien has a reputation beyond reputeozrien has a reputation beyond reputeozrien has a reputation beyond reputeozrien has a reputation beyond reputeozrien has a reputation beyond repute
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.
Reply With Quote
  #6   Spotlight this post!  
Unread 10-01-2017, 19:53
robpuff robpuff is offline
Registered User
FRC #2761
 
Join Date: Jan 2015
Location: California
Posts: 3
robpuff is an unknown quantity at this point
Re: Error when running Talon SRX with 2017 Control System

I've installed those already, and I still have this issue.

Robbie Tacescu
Reply With Quote
  #7   Spotlight this post!  
Unread 10-01-2017, 20:17
bdaroz's Avatar
bdaroz bdaroz is offline
Programming Mentor
AKA: Brian Rozmierski
FRC #5881 (TVHS Dragons)
Team Role: Mentor
 
Join Date: Jan 2016
Rookie Year: 2016
Location: Albany, NY
Posts: 408
bdaroz has much to be proud ofbdaroz has much to be proud ofbdaroz has much to be proud ofbdaroz has much to be proud ofbdaroz has much to be proud ofbdaroz has much to be proud ofbdaroz has much to be proud ofbdaroz has much to be proud ofbdaroz has much to be proud of
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.
Reply With Quote
  #8   Spotlight this post!  
Unread 10-01-2017, 23:01
robpuff robpuff is offline
Registered User
FRC #2761
 
Join Date: Jan 2015
Location: California
Posts: 3
robpuff is an unknown quantity at this point
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
Reply With Quote
Reply


Thread Tools
Display Modes Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump


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

The Chief Delphi Forums are sponsored by Innovation First International, Inc.


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