Go to Post Without fail, judges always come by when the spokespeople are in the bathroom, so others should be able to cover until they're back. - Jacob Bendicksen [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 25-01-2016, 02:00
PneumaticFlea PneumaticFlea is offline
Electroneer, Programmer, Webmaster
AKA: Lucas LeVieux
FRC #4014 (Top Hat Technicians)
Team Role: Programmer
 
Join Date: Jan 2015
Rookie Year: 2014
Location: California
Posts: 9
PneumaticFlea is an unknown quantity at this point
Where is the CANTalon class?

It's basically my first time programming an FRC robot, and it's our team's first time using the CAN bus in conjunction with the Talon SRX motor controllers. To be brief, where can I find the CANTalon class? I've found it referred to in many different places online, but it doesn't appear to be in the edu.wpi.first.wpilibj package. Even the JavaDoc doesn't have any entry between CANJaguar and Compressor.

I've uninstalled and reinstalled the 2016 version of everything multiple times. There must be something really simple that I'm overlooking. Thanks in advance for your help!

(if it helps, I'm using the command-based model with the Netbeans IDE on Windows 10.)
Reply With Quote
  #2   Spotlight this post!  
Unread 25-01-2016, 08:52
fovea1959's Avatar
fovea1959 fovea1959 is offline
Herder of programmers
AKA: Doug Wegscheid
FRC #3620 (The Average Joes)
Team Role: Mentor
 
Join Date: Jan 2011
Rookie Year: 2011
Location: St Joseph
Posts: 332
fovea1959 will become famous soon enough
Re: Where is the CANTalon class?

https://wpilib.screenstepslive.com/s...-documentation has the pointer to the javadocs.

javadocs are at http://first.wpi.edu/FRC/roborio/release/docs/java/.

Those show CANTalon in edu.wpi.first.wpilibj.

Are you sure Netbeans is pointing to the 2016 version of wpilibj?
Reply With Quote
  #3   Spotlight this post!  
Unread 25-01-2016, 08:55
RufflesRidge RufflesRidge is offline
Registered User
no team
 
Join Date: Jan 2012
Location: USA
Posts: 989
RufflesRidge has a brilliant futureRufflesRidge has a brilliant futureRufflesRidge has a brilliant futureRufflesRidge has a brilliant futureRufflesRidge has a brilliant futureRufflesRidge has a brilliant futureRufflesRidge has a brilliant futureRufflesRidge has a brilliant futureRufflesRidge has a brilliant futureRufflesRidge has a brilliant futureRufflesRidge has a brilliant future
Re: Where is the CANTalon class?

Quote:
Originally Posted by PneumaticFlea View Post
(if it helps, I'm using the command-based model with the Netbeans IDE on Windows 10.)
Just to ask the stupid question, how did you go about installing an Eclipse plugin in Netbeans?
Reply With Quote
  #4   Spotlight this post!  
Unread 25-01-2016, 11:52
PneumaticFlea PneumaticFlea is offline
Electroneer, Programmer, Webmaster
AKA: Lucas LeVieux
FRC #4014 (Top Hat Technicians)
Team Role: Programmer
 
Join Date: Jan 2015
Rookie Year: 2014
Location: California
Posts: 9
PneumaticFlea is an unknown quantity at this point
Re: Where is the CANTalon class?

Quote:
Originally Posted by RufflesRidge View Post
Just to ask the stupid question, how did you go about installing an Eclipse plugin in Netbeans?
Thank goodness for your stupid questions! I used the instructions here to add the custom plugins. Turns out they haven't been updated since 2013! Doug, your intuition was exactly correct. I think that's probably the issue here.

Is there anyway I can update WPIlib and still use NetBeans? I'm particularly fond of/familiar with it.
Reply With Quote
  #5   Spotlight this post!  
Unread 25-01-2016, 12:59
fovea1959's Avatar
fovea1959 fovea1959 is offline
Herder of programmers
AKA: Doug Wegscheid
FRC #3620 (The Average Joes)
Team Role: Mentor
 
Join Date: Jan 2011
Rookie Year: 2011
Location: St Joseph
Posts: 332
fovea1959 will become famous soon enough
Re: Where is the CANTalon class?

whoof.... there probably *is* a way, but I don't recall seeing one published.

problem one: getting the correct jars on your netbeans classpath; probably not a big deal.

problem two: deploying. have to figure out all the moving parts that Ant uses when doing a deploy under Eclipse. need to find the jar file)(s) that have the ant tasks in it that get used for doing a deploy, and the build.xml file(s), and any supporting files that get used during the build.

don't know if it's an hour's work or a week's....
Reply With Quote
  #6   Spotlight this post!  
Unread 25-01-2016, 14:51
PneumaticFlea PneumaticFlea is offline
Electroneer, Programmer, Webmaster
AKA: Lucas LeVieux
FRC #4014 (Top Hat Technicians)
Team Role: Programmer
 
Join Date: Jan 2015
Rookie Year: 2014
Location: California
Posts: 9
PneumaticFlea is an unknown quantity at this point
Re: Where is the CANTalon class?

Quote:
Originally Posted by fovea1959 View Post
problem one: getting the correct jars on your netbeans classpath.
Where are the files? Is the source published somewhere?

Quote:
Originally Posted by fovea1959 View Post
problem two: deploying.
Has the deploy software really changed that much? Could I potentially just use the old deploy stuff?
Reply With Quote
  #7   Spotlight this post!  
Unread 25-01-2016, 16:15
fovea1959's Avatar
fovea1959 fovea1959 is offline
Herder of programmers
AKA: Doug Wegscheid
FRC #3620 (The Average Joes)
Team Role: Mentor
 
Join Date: Jan 2011
Rookie Year: 2011
Location: St Joseph
Posts: 332
fovea1959 will become famous soon enough
Re: Where is the CANTalon class?

the 2016 libraries would be in a wpilib folder off your user directory if you had Eclipse and it's plugins installed and working.

doubt you can use the deploy stuff; that's the majority of what changed with the new control system. You would need to really understand how it works in Eclipse and replicate that in Netbeans (or find someone that had already done it).
Reply With Quote
  #8   Spotlight this post!  
Unread 25-01-2016, 18:13
PneumaticFlea PneumaticFlea is offline
Electroneer, Programmer, Webmaster
AKA: Lucas LeVieux
FRC #4014 (Top Hat Technicians)
Team Role: Programmer
 
Join Date: Jan 2015
Rookie Year: 2014
Location: California
Posts: 9
PneumaticFlea is an unknown quantity at this point
Re: Where is the CANTalon class?

alright; that's too bad. it's probably not that big of a deal to switch to eclipse, though. (or perhaps, develop in netbeans and deploy in eclipse)

thanks a lot for your help! I really appreciate it.
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 11:53.

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