View Single Post
  #8   Spotlight this post!  
Unread 13-01-2013, 20:02
Warhawks Warhawks is offline
Registered User
FRC #2554
 
Join Date: Jan 2013
Location: New Jersey
Posts: 9
Warhawks is an unknown quantity at this point
Re: Accessing camera output

Quote:
Originally Posted by Johnbot View Post
You need to install http://firstforge.wpi.edu/sf/frs/do/.../frs.installer

And then import everything under
C:\Program Files\SmartDashboard
and
C:\Program Files\SmartDashboard\extensions
and
C:\Program Files\SmartDashboard\extensions\lib
into your Java Class Library (a type of project you can start in Netbeans)
You will want to have your extension class extend WPILaptopCameraExtension.
You will also want to override the method processImage, as sretter has said.
Thank you for clearing things up, I have imported the .jar files in these folders but when I try to use the classes in these files I get compile time errors such as: "cannot find symbol symbol: class WPILaptopCameraExtension", although when editing the class the IDE (NetBeans 7.2) doesn't give these errors. I have checked "java sources classpath" multiple times but still the same.
Reply With Quote