Quote:
Originally Posted by dc74089
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
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
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.