|
|
|
![]() |
|
|||||||
|
||||||||
![]() |
|
|
Thread Tools |
Rating:
|
Display Modes |
|
|
|
#1
|
||||||
|
||||||
|
Re: Importing SDK .jar
Quote:
Quote:
Quote:
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. |
|
#2
|
||||
|
||||
|
Re: Importing SDK .jar
Apologies for clarity, I'd be using my hands to control the robot at the driver station. And the SDK does a lot of processing, it can give me hand locations, vectors that show where fingers are pointed, characteristics of how the palm is curved, all functionalities that I really dont want to give up. Or maybe I'm misunderstanding your reply, I'd consider myself moderately versed in FRC java, but not much past that. :0)
|
|
#3
|
||||
|
||||
|
Re: Importing SDK .jar
Quick fix, not sure if it'll work when I have a robot to deploy to, but I changed the failonerror in the preverify.xml referenced by the build xml from true to false. This fixes the problem, the code builds okay, but I'm not exactly sure what I turned off, despite searching the documentation for Ant. Does this throw up any red flags for anyone, I'd hate to brick our cRIO...
Code:
<exec executable="@{preverify.executable}" failonerror="true">
|
|
#4
|
|||
|
|||
|
Re: Importing SDK .jar
You're just telling it not to stop when it hits an error
The error will still exist and the code likely not work. |
|
#5
|
||||
|
||||
|
Re: Importing SDK .jar
Oh...
From what I've seen on preverification, it looks to me like I need to preverify the SDK .jar? I'm poking around with that now.Last edited by dc74089 : 23-12-2013 at 14:34. Reason: The other half of the post |
|
#6
|
|||
|
|||
|
Re: Importing SDK .jar
It's unclear what you are trying to accomplish by loading the library into the cRIO code. The device will be connected to the computer and the code will be on the cRIO so how will the two communicate?
It sounds like you want to create a Java dashboard or other program to run on the DS and pass messages over something like UDP or Network Tables to the cRIO to use as control signals. |
![]() |
| Thread Tools | |
| Display Modes | Rate This Thread |
|
|