Question about error trying to use procontroll and joystick
in
Integration and Hardware
•
2 years ago
Folks,
Brand new here, hoping to use Processing / Arduino intereactions to run robots.
Just installed Processing and the procontroll library. Trying to run a sketch from "Arduino Robotics" by Warren that should allow me to take joystick data and send it to Arduino. Running Win 7 64 bit and right off the bat got an error about wrong RXTX 2.1-7. Searched forum found solution that's gone Now I get this....
Stable Library
=========================================
Native lib Version = RXTX-2.1-7
Java lib Version = RXTX-2.1-7
Exception in thread "Animation Thread" java.lang.ArrayIndexOutOfBoundsException: 0
at Alternate_Control_working.setup(Alternate_Control_working.java:52)
at processing.core.PApplet.handleDraw(Unknown Source)
at processing.core.PApplet.run(Unknown Source)
at java.lang.Thread.run(Thread.java:662)
Is this related...new... obvious. I can send the part of the code that generates the error and more about my system.
Doc
Brand new here, hoping to use Processing / Arduino intereactions to run robots.
Just installed Processing and the procontroll library. Trying to run a sketch from "Arduino Robotics" by Warren that should allow me to take joystick data and send it to Arduino. Running Win 7 64 bit and right off the bat got an error about wrong RXTX 2.1-7. Searched forum found solution that's gone Now I get this....
Stable Library
=========================================
Native lib Version = RXTX-2.1-7
Java lib Version = RXTX-2.1-7
Exception in thread "Animation Thread" java.lang.ArrayIndexOutOfBoundsException: 0
at Alternate_Control_working.setup(Alternate_Control_working.java:52)
at processing.core.PApplet.handleDraw(Unknown Source)
at processing.core.PApplet.run(Unknown Source)
at java.lang.Thread.run(Thread.java:662)
Is this related...new... obvious. I can send the part of the code that generates the error and more about my system.
Doc
1