Go to Post Maybe between Art, skimoose, and some of the other intelligent folks on CD (most of us), we can force a redesign of the game.... - EricH [more]
Home
Go Back   Chief Delphi > Technical > Programming
CD-Media   CD-Spy  
portal register members calendar search Today's Posts Mark Forums Read FAQ rules

 
Closed Thread
Thread Tools Rate Thread Display Modes
  #1   Spotlight this post!  
Unread 16-01-2013, 16:17
xtantheta xtantheta is offline
Registered User
FRC #1554
 
Join Date: Jan 2013
Location: Oceanside, NY
Posts: 6
xtantheta is an unknown quantity at this point
Talons class for Java

Our main programmer is using Eclipse, and he cannot seem to find/use the talons class. I suggested that he try the netbeans ide with frc plugin, but he said that it should not matter. I see it in wpi.lib but nothing seems to work.

Does anyone else have a similar problem, or a possible solution?

Thanks.
  #2   Spotlight this post!  
Unread 16-01-2013, 16:26
Johnbot's Avatar
Johnbot Johnbot is offline
Es Brokein!
AKA: John Westhoff
FRC #4791 (Pandroids)
Team Role: Mentor
 
Join Date: Feb 2012
Rookie Year: 2010
Location: Horsham, PA
Posts: 92
Johnbot is just really niceJohnbot is just really niceJohnbot is just really niceJohnbot is just really niceJohnbot is just really nice
Re: Talons class for Java

Does he have the most up to date version of the WPI library?

Although, assuming that the Talon uses the same PWM interface as the Jaguar, you should be able to just use the Victor, Jaguar, or Speed Controller class instead of the Talon class.
EDIT: Although, the Victor/Jaguar have different bands of PWM values compared to the Talon, they are just slightly off, however.

You can always make your own Talon class, it is the same as the Victor or Jaguar class, except the talon constructor has this line:
setBounds(211, 133, 129, 125, 49);
replacing the similar line in the Victor and Jaguar classes. The source for the classes should be under C:\Users\YOURUSERNAME\sunspotfrcsdk\lib\wpilibj.sr c.zip
__________________

2011-2014 - FRC 2607 - Student
2012-2012 - FLL 2249 - Coach
2015- ???? - FRC 4791 - Mentor

Last edited by Johnbot : 16-01-2013 at 16:34.
  #3   Spotlight this post!  
Unread 16-01-2013, 16:29
xtantheta xtantheta is offline
Registered User
FRC #1554
 
Join Date: Jan 2013
Location: Oceanside, NY
Posts: 6
xtantheta is an unknown quantity at this point
Re: Talons class for Java

It's all good and solved. Turns out that it did not exist for eclipse so he just used the jar file for this year's netbeans library and just imported it.
Closed Thread


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 02:25.

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