Go to Post If your logo is your team number in a font 4" tall in 1/2" stroke, colored/outlined in white, then yes. Otherwise, no. - cadandcookies [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 22-01-2012, 14:36
xmendude217 xmendude217 is offline
Registered User
FRC #3851
 
Join Date: Jan 2011
Location: Canoga Park, California 91303
Posts: 7
xmendude217 is an unknown quantity at this point
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();
         }
}

Last edited by xmendude217 : 22-01-2012 at 14:59.
Reply With Quote
  #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
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 09: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