Go to Post My driving skills are only slightly better than my dancing skills... - RoboMom [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

 
 
 
Thread Tools Rate Thread Display Modes
Prev Previous Post   Next Post Next
  #1   Spotlight this post!  
Unread 22-09-2016, 09:59
PM_ME_UR_ROBOT PM_ME_UR_ROBOT is offline
Registered User
FRC #4206
 
Join Date: Sep 2016
Location: Texas
Posts: 7
PM_ME_UR_ROBOT is an unknown quantity at this point
Missing CANTalon class

Obligatory "I'm not very experienced with Java nor programming robots in FRC," so feel free to be as critical as you want, everything is a learning process after all.

We've recently decided to use CAN on our robot to connect our Talon SRX controllers, only problem is that the original code we had done used the Talon class to initialize the speed controllers to build our RobotDrive. No big deal though, we just have to change Talon to CANTalon and remove the port numbers from the constructor since CAN doesn't use PWM and -- oh dear why is there so much red on my screen now?

So the errors came from our program not having CANTalon imported into it, but when I try to import it using the following path, it says it does not exist:

import edu.wpi.first.wpilibj.CANTalon;

We're really not sure how to resolve this issue, all our other classes have imported just fine, but this one just doesn't seem to exist. There isn't much documentation saying I'd have to install some other plugins or update to a certain version for it to be available, so what am I doing wrong?

Thanks in advance to anyone reading.

tl;dr
edu.wpi.first.wpilibj.CANTalon isn't being imported because it's missing, how can I make that not happen?
Reply With Quote
 


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 10:47.

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