Chief Delphi

Chief Delphi (http://www.chiefdelphi.com/forums/index.php)
-   Java (http://www.chiefdelphi.com/forums/forumdisplay.php?f=184)
-   -   Custom Jar files not showing in SmartDashboard (http://www.chiefdelphi.com/forums/showthread.php?t=100890)

xmendude217 22-01-2012 14:36

Custom Jar files not showing in SmartDashboard
 
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();
        }
}


Sunstroke 22-01-2012 17:39

Re: Custom Jar files not showing in SmartDashboard
 
Quote:

Originally Posted by xmendude217 (Post 1111232)
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.


All times are GMT -5. The time now is 22:22.

Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2017, Jelsoft Enterprises Ltd.
Copyright © Chief Delphi