View Single Post
  #1   Spotlight this post!  
Unread 23-12-2013, 12:53
Joe Ross's Avatar Unsung FIRST Hero
Joe Ross Joe Ross is offline
Registered User
FRC #0330 (Beachbots)
Team Role: Engineer
 
Join Date: Jun 2001
Rookie Year: 1997
Location: Los Angeles, CA
Posts: 8,572
Joe Ross has a reputation beyond reputeJoe Ross has a reputation beyond reputeJoe Ross has a reputation beyond reputeJoe Ross has a reputation beyond reputeJoe Ross has a reputation beyond reputeJoe Ross has a reputation beyond reputeJoe Ross has a reputation beyond reputeJoe Ross has a reputation beyond reputeJoe Ross has a reputation beyond reputeJoe Ross has a reputation beyond reputeJoe Ross has a reputation beyond repute
Re: Importing SDK .jar

Quote:
Originally Posted by dc74089 View Post
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.
Where would the LeapMotion Controller be located? On the robot or at the driver station?

Quote:
Originally Posted by BigJ View Post
However (and I have no real idea of how to do this), if you could somehow get your driver station computer to turn the leap motion inputs into a form that the computer recognizes as a joystick device, you could potentially use it that way
It doesn't even need to make it look like a joystick. It just needs to send the data over the network using either Network Tables or one of the approved ports (TCP, since the squawk JVM doesn't support UDP).

Quote:
Originally Posted by BigJ View Post
Until next year, we are still running on a version of Java ME (which I believe is similar to Java 1.4). Unfortunately many modern libraries will not be supported by our VM.
It's worse then that, it's somewhere between 1.2 and 1.3.

Another option (if you really need it on the robot) would be to compile the C++ SDK for the cRIO and then call that using JNA.
Reply With Quote