Go to Post How about instead of using the flag we just all wrap out robots in color saran wrap. there! problem sovled! - John Gutmann [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
  #5   Spotlight this post!  
Unread 30-01-2012, 22:21
ksanger's Avatar
ksanger ksanger is offline
Registered User
FRC #0211 (MaK)
 
Join Date: Mar 2010
Rookie Year: 2010
Location: Rochester NY
Posts: 62
ksanger is on a distinguished road
Re: Standalone Java Image Application

I've downloaded the SmartDashboard installer with OpenCV, then tried the example code based on:
http://www.wbrobotics.com/attachment...ibCookbook.pdf
page 74.

First I added the jar file to the libraries which are installed at C:\Program Files\SmartDashboard\extensions\WPICameraExtension .jar

I assume that's the library needed?

My program looks like:


import edu.wpi.first.smartdashboard.camera.WPICameraExten sion;

public class BasicCameraExtension extends WPICameraExtension {
@Override
public WPIImage processImage(WPIColorImage rawImage) {
return super.processImage(rawImage);
}
}

There are errors
On the @Override statement I get "method does not override or implement a method from a supertype".

On WPIImage I get cannot find symbol.

On WPIColorImage I also get cannot find symbol.

It looks to me like I'm not pointing to the correct libraries again.
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 09:15.

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