Go to Post Mark McLeod, one of the resident experts on compiler weirdness - Kevin Watson [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 14-01-2017, 20:54
wjd13 wjd13 is offline
Registered User
FRC #4905 (Andromeda One)
Team Role: Programmer
 
Join Date: Mar 2015
Rookie Year: 2015
Location: Ayer, MA
Posts: 55
wjd13 is an unknown quantity at this point
Re: CTRE CANTalon library installation not working

Has anyone found any documentation/source code for the TalonSRX's?
Reply With Quote
  #2   Spotlight this post!  
Unread 14-01-2017, 21:58
Jacob C. Jacob C. is offline
Engineer at CTR Electronics
FRC #4130 (The Blue Devils)
Team Role: Mentor
 
Join Date: Nov 2009
Rookie Year: 2009
Location: Richmond, MI
Posts: 21
Jacob C. is a glorious beacon of lightJacob C. is a glorious beacon of lightJacob C. is a glorious beacon of lightJacob C. is a glorious beacon of lightJacob C. is a glorious beacon of light
Re: CTRE CANTalon library installation not working

Quote:
Originally Posted by wjd13 View Post
Has anyone found any documentation/source code for the TalonSRX's?
How to use the Talon SRX API is outlined in the Software Reference Manual. The API docs for the entire CTRLib (javadocs and doxygen for C++) are included in the latest install and can also be found on our website for Java and C++.


Quote:
Originally Posted by ashrutsood View Post
We found that the CTRE tutorial was outdated *snip*
Quote:
Originally Posted by PM_ME_UR_ROBOT View Post
*snip* but we're pretty sure CTR's tutorial for installing told us to do the wrong thing. *snip*
Can I ask what "tutorial" you guys were using? For the non-installer zip, we consider the README it contains to be the official instructions, and it says:

Quote:
Take the folder for your desired language (java or cpp) and place it into the wpilib user folder.
It then proceeds to give an example of the Linux path and more detailed information about the files contained. Is there another set of instructions you were following? I just want to make sure we don't have conflicting instructions somewhere.


Quote:
Originally Posted by addis687 View Post
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
This might seem trivial, but have you restarted Eclipse? It puts external libraries into the path when you first open it.
__________________
FiM Volunteer
Since 2015: Controls Mentor for FRC 4130, The Blue Devils (Richmond, MI)
2009-2014: FRC Team 1718, The Fighting Pi

Full Disclosure: I am an Engineer for CTR Electronics
Reply With Quote
  #3   Spotlight this post!  
Unread 22-01-2017, 15:49
gbonehead gbonehead is offline
Registered User
FRC #0571
 
Join Date: Jan 2012
Location: Windsor, CT
Posts: 2
gbonehead is an unknown quantity at this point
Re: CTRE CANTalon library installation not working

Quote:
Originally Posted by Jacob C. View Post
How to use the Talon SRX API is outlined in the Software Reference Manual. The API docs for the entire CTRLib (javadocs and doxygen for C++) are included in the latest install and can also be found on our website for Java and C++.
Any chance the Java code is available somewhere? We've been trying to reverse engineer how the code actually works based on the examples, but code is even better than reverse engineering :)

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
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:33.

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