View Single Post
  #2   Spotlight this post!  
Unread 22-01-2012, 17:39
Sunstroke Sunstroke is offline
Programmer
AKA: Joe Grinstead
FRC #3504 (Girls of Steel)
Team Role: Mentor
 
Join Date: Apr 2009
Rookie Year: 2009
Location: New England
Posts: 49
Sunstroke is an unknown quantity at this point
Re: Custom Jar files not showing in SmartDashboard

Quote:
Originally Posted by xmendude217 View Post
Im trying to use the WPILib Cookbook's example for getting vision tracking done the SmartDashboard, yet whenever I build the jar and place it in the SmartDashboard's extension folder, I can't see it in the SmartDashboard's "Add" submenu. Here's the code for the jar :


Code:
public class VisionSystem extends WPICameraExtension {
    @Override
    public WPIImage processImage(WPIColorImage rawImage) {
        return rawImage.getBlueChannel();
         }
}
There are two potential ways this is happening. First, make sure that you restart the SmartDashboard after you drag something into the extensions folder. Second, make sure you start the SmartDashboard program by double-clicking the jar that is in the SmartDashboard program file folder.

I hope that that helps.
Reply With Quote