Go to Post Just make a FIRST version of Quidditch. The only people who would be complaining are drivers from previous years who wanted to play it. - Koko Ed [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 Rating: Thread Rating: 2 votes, 5.00 average. Display Modes
Prev Previous Post   Next Post Next
  #1   Spotlight this post!  
Unread 23-12-2013, 11:35
dc74089's Avatar
dc74089 dc74089 is offline
Control Systems Lead
AKA: Dominic
FRC #1902 (Exploding Bacon)
Team Role: Programmer
 
Join Date: Dec 2013
Rookie Year: 2011
Location: Orlando
Posts: 25
dc74089 will become famous soon enough
Importing SDK .jar

Hi all!

In preparation for the 2014 season, I was looking to put together a Java program for the team's 2013 robot to see if a LeapMotion would be an acceptable way to control the robot on the field, although maybe for the peripheral driver, not the drive train driver, but I digress. Using netbeans, the code I've written checks out just fine, as I've added the Leap Motion SDK .jar to the project imports, but when I try to build the code, I run into an error with all Leap-related classes and methods. I poked around and easily enough found out that adding the SDK .jar to the IDE wasn't enough, so I moved it into the SunSpot lib folder. This got me passed the class undefined errors, but now it's running into some "preverification" error, which is way out of the scope of what I know.

I'm using NetBeans extending SimpleRobot

Error message is here http://pastebin.com/DrS7qCX2 , LeapTasks is a class called in the tele-op code, and LeapTasks also extends Listener, which is a class from the Leap Motion SDK that listens for new frama data. PM me if you'd like to see the full code.

Have any other teams tried to use any control devices which required SDKs in the form of .jar's, or does anyone with experience with Java know how to get past the preverification error?

Many thanks in advance!
__________________
-Dominic
Think big. Think smart. Think different.

FLL - Nerdvana (2011-12)
FTC - Nerdvana/Clockwork Mania 6379 (2012-13), Team HazMat 9277 (2014-?)
FRC - Clockwork Mania 4013 (2014), Exploding Bacon 1902 (2015-?)
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 10:59.

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