Go to Post You cannot change people, you can only change yourself. - KenWittlief [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 28-01-2011, 08:17
dbeckwith's Avatar
dbeckwith dbeckwith is offline
Lead Programmer
AKA: Daniel Beckwith
FRC #3205 (The Patriots)
Team Role: Programmer
 
Join Date: Jan 2010
Rookie Year: 2009
Location: USA
Posts: 84
dbeckwith is an unknown quantity at this point
CANJaguar.java won't compile

I downloaded the CANJaguar example that included the source code from First Forge (rev. 50, created on 02/18/2010 4:46 AM), but when I tried to run it CANJaguar.java gave me this error:
Quote:
edu.wpi.first.addons.CANJaguar is not abstract and does not override abstract method disable() in edu.wpi.first.wpilibj.SpeedController
public class CANJaguar implements JaguarCANProtocol, SpeedController {
It turns out CANJaguar doesn't implement disable() or set(double speed, byte syncGroup) from SpeedController, but it does have get() and set(double speed). Does anyone else have this problem? I figured I could just add those in as empty methods to get it to compile but I didn't know if there was a bigger problem. If it's as simple as adding in those methods, could someone just share the with me so I can paste them in?
__________________
q = (2*b) | ~(2*b);

if (life.getLemons() != null) this.lemonade = new Drink(life.getLemons());
else throw new NoLemonsException("What now?");


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 12:16.

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