|
|
|
![]() |
|
|||||||
|
||||||||
![]() |
| Thread Tools |
Rating:
|
Display Modes |
|
#76
|
|||
|
|||
|
Re: ANNOUNCING: navX MXP Robotics Navigation Sensor
The navXMXPUI 64 bit windows version is known working, tested on Windows 7 64-bit. Please post details on the error message you are seeing. Note that Java is required to be installed, too.
|
|
#77
|
||||
|
||||
|
Re: ANNOUNCING: navX MXP Robotics Navigation Sensor
I'm using 64-bit Windows 8.1 (that might be the issue?)
Here is the command prompt window text Code:
Catched FileNotFoundException: C:\Users\Joe\Desktop\navx-utilities\navXMXPUI\app
lication.windows64\lib\gluegen-rt-natives-windows-i586.jar (The system cannot fi
nd the file specified), while addNativeJarLibsImpl(classFromJavaJar class com.jo
gamp.common.os.Platform, classJarURI jar:file:/C:/Users/Joe/Desktop/navx-utiliti
es/navXMXPUI/application.windows64/lib/gluegen-rt.jar!/com/jogamp/common/os/Plat
form.class, nativeJarBaseName gluegen-rt-natives-windows-i586.jar): [ file:/C:/U
sers/Joe/Desktop/navx-utilities/navXMXPUI/application.windows64/lib/gluegen-rt.j
ar -> file:/C:/Users/Joe/Desktop/navx-utilities/navXMXPUI/application.windows64/
lib/ ] + gluegen-rt-natives-windows-i586.jar -> slim: jar:file:/C:/Users/Joe/Des
ktop/navx-utilities/navXMXPUI/application.windows64/lib/gluegen-rt-natives-windo
ws-i586.jar!/
Exception in thread "Animation Thread" java.lang.UnsatisfiedLinkError: Can't loa
d library: C:\Users\Joe\Desktop\navx-utilities\navXMXPUI\application.windows64\g
luegen-rt.dll
at java.lang.ClassLoader.loadLibrary(Unknown Source)
at java.lang.Runtime.load0(Unknown Source)
at java.lang.System.load(Unknown Source)
at com.jogamp.common.jvm.JNILibLoaderBase.loadLibraryInternal(JNILibLoad
erBase.java:551)
at com.jogamp.common.jvm.JNILibLoaderBase.access$000(JNILibLoaderBase.ja
va:64)
at com.jogamp.common.jvm.JNILibLoaderBase$DefaultAction.loadLibrary(JNIL
ibLoaderBase.java:96)
at com.jogamp.common.jvm.JNILibLoaderBase.loadLibrary(JNILibLoaderBase.j
ava:414)
at com.jogamp.common.os.DynamicLibraryBundle$GlueJNILibLoader.loadLibrar
y(DynamicLibraryBundle.java:388)
at com.jogamp.common.os.Platform$1.run(Platform.java:203)
at java.security.AccessController.doPrivileged(Native Method)
at com.jogamp.common.os.Platform.<clinit>(Platform.java:173)
at javax.media.opengl.GLProfile.<clinit>(GLProfile.java:82)
at processing.opengl.PJOGL.initSurface(PJOGL.java:238)
at processing.opengl.PGraphicsOpenGL.initPrimary(PGraphicsOpenGL.java:59
88)
at processing.opengl.PGraphicsOpenGL.requestDraw(PGraphicsOpenGL.java:16
00)
at processing.core.PApplet.run(PApplet.java:2177)
at java.lang.Thread.run(Unknown Source)
Thanks! |
|
#78
|
|||
|
|||
|
Quote:
Also, you might try installing the processing IDE, using the instructions at the bottom of this page: https://code.google.com/p/navx-mxp/wiki/navXMXPUI |
|
#79
|
||||
|
||||
|
Re: ANNOUNCING: navX MXP Robotics Navigation Sensor
Quote:
I have the Processing IDE installed (v2.2.1) When I try to run the navXMXPUI.pde, it says: Code:
No library found for com.kauailabs.navx_mxp No library found for com.kauailabs.navx_mxp Libraries must be installed in a folder named 'libraries' inside the 'sketchbook' folder. |
|
#80
|
|||
|
|||
|
Re: ANNOUNCING: navX MXP Robotics Navigation Sensor
Quote:
You'll need processing IDE v 2.1. Also the sketch folder in the processing IDE needs to be set to point to the directory that has the navXMXPUI.pde file in it. |
|
#81
|
||||
|
||||
|
Re: ANNOUNCING: navX MXP Robotics Navigation Sensor
Quote:
* You might also get the symptoms you've described if there is some binding or other non-uniform drag in your drivetrain. |
|
#82
|
||||
|
||||
|
Re: ANNOUNCING: navX MXP Robotics Navigation Sensor
Rolling back to Java 7 worked! Thanks!
|
|
#83
|
||||
|
||||
|
Re: ANNOUNCING: navX MXP Robotics Navigation Sensor
Quote:
|
|
#84
|
|||
|
|||
|
Re: ANNOUNCING: navX MXP Robotics Navigation Sensor
Great to hear, congratulations.
Did a little research on the error message re: the missing file; it looks like the previous Java system thought it was 32 bits, so perhaps previously the 32-bit version of Java 8 was installed. We will do some testing with Java 8 and the navXMXPUI to try to get this sorted out. |
|
#85
|
||||
|
||||
|
Re: ANNOUNCING: navX MXP Robotics Navigation Sensor
Quote:
Thanks again for the help. The NavX is VERY responsive at 60Hz! It's awesome! |
|
#86
|
|||||
|
|||||
|
Re: ANNOUNCING: navX MXP Robotics Navigation Sensor
Quote:
It sounds to me like you need to set the P constant lower yet. Remember that it's using the error in robot heading and turning that into a motor command. Motor values are between -1 and 1, and you probably want it to go to less than ten percent power when you're within several degrees of the target. I'd try a Kp of 0.01 to start with and go from there. |
|
#87
|
||||
|
||||
|
Re: ANNOUNCING: navX MXP Robotics Navigation Sensor
Scott,
I too am having difficulty running the UI. If I execute navXMXPUI.bat (edited as specified to point to COM4, which is where the ST VCP is connected), I get an error "Could not find or load main class NAVXMXPUI". I am able to run navXConfig (setup.exe) with no issues which leads me to believe both the PC and navX hardware are configured properly. I'm using Win 7 (64 bit), and have Java 1.7 runtime enabled under User settings (1.8 is also installed, but I have disabled it). I've also installed Processing 2.2.1 (BTW, 2.1 is not listed as a downloadable release) and have merged the UI "processing" directory to the [user]\Documents\Processing location. I can open the Sketch successfully however when I attempt to compile it I get the same library errors as a previous poster reported (no library found for com.kauailabs etc.). When I "Show Sketch Folder", the navXMXPUI folder (and its subfolders) is displayed as one would expect. Where have I gone wrong? I suspect it's something in my Java configuration. Last edited by ayeckley : 01-21-2015 at 08:33 PM. Reason: Update: discovered that the library needs to go under [user]/Documents/Processing, not just [user]/Processing |
|
#88
|
|||
|
|||
|
Re: ANNOUNCING: navX MXP Robotics Navigation Sensor
Quote:
The pre-built binary in the navxmxpui\application.windows64 directory should work on 64-bit windows if java 1.7 is installed, it's built with processing IDE 2.1. Looks like the link to the 2.1 IDE has been removed. ![]() |
|
#89
|
|||
|
|||
|
Re: ANNOUNCING: navX MXP Robotics Navigation Sensor
Quote:
|
|
#90
|
||||
|
||||
|
Re: ANNOUNCING: navX MXP Robotics Navigation Sensor
Update: I've removed everything related to the UI source code (including Processing 2) and am focusing on trying to get the precompiled version to work.
I did discover that my rollback to JRE1.7 was not completely successful despite what the Configure JAVA tool was telling me. By doing the on-line JAVA verification I discovered that 1.7 was being blocked as a security threat. I was able to authorize it, and am now getting quite different (still unsuccessful) results: Catched FileNotFoundException: C:\Users\ayeckley\Downloads\navx-utilities\navXMXPUI\application.windows64\lib\glue gen-rt-natives-windows-i586.jar (The system cannot find the file specified)<snip> In the .zip I just downloaded there was a "gluegen-rt-natives-windows-amd64.jar" but not a "gluegen-rt-natives-windows-i586.jar". Is this the smoking gun? I've verified that I'm running Win 7 64 bit, on an Intel processor (not an AMD). |
![]() |
| Thread Tools | |
| Display Modes | Rate This Thread |
|
|