jlp
Thursday, January 13, 2011 2:27 PM
You should try to run jrStepGUI from a terminal. You'll be able to see
the exceptions eventually thrown.
If RXTX is missing you'll get a java.lang.UnsatisfiedLinkError.
mrkiss
Thursday, January 13, 2011 12:11 PM
It is still 'waiting for rStep' with my arduino328 clone board with
rStep code
Is there any checking method whether my mac RXTX installation fits
whit rStep or not?
jlp
Thursday, January 13, 2011 10:24 AM
I have commited a new jrStepGUI version (r82). A compiled version is
David Chan
Sunday, January 23, 2011 3:06 PM
How do you run this on Mac OSX 10.6.6?
I get this when running in terminal mode. I copied the two files from
Arduino to the Java extensions directory. I chmod the files to include
execute.
MyMAC:GUI arduino$ ./jrStepGUI_110113.jar
-bash: ./jrStepGUI_110113.jar: cannot execute binary file
MyMac:GUI arduino$
When I run it from the Finder, GUI came up and everything is grayed
out. The status message shows "waiting for rstep".
My Arduino application works and the terminal shows "start". I am
using a Arduino Pro board with Atmega328.
Please advise,
David
jlp
Saturday, January 15, 2011 7:49 AM
I'm sorry but the update I wrote wasn't commited the other day. My
Eclipse was configured to get the source anonymously.
Now it's fixed.
jlp
Thursday, January 13, 2011 10:24 AM
I have commited a new jrStepGUI version (r82). A compiled version is
public Application() { rStep = new RStep(); // connect a PrintStream to monitor rStep I/Os rStep.setSerialMonitor(new PrintStream(getSerialJPanelOutputStream(), true)); rStep.setTimestamping(true); // listen to some rStep outputs EventBus.subscribe("RStep START", this); EventBus.subscribe(Pattern.compile("RStep Reply:.*"), this); EventBus.subscribe(Pattern.compile("RStep Debug:.*"), this); EventBus.subscribe(Pattern.compile("RStep Syntax error:.*"), this); EventBus.subscribe(Pattern.compile("RStep Sen[dt]"), this); EventBus.subscribe(Pattern.compile("RStep CommunicationException"), this); rStepPlayer = new RStepPlayer(); // listen to all RStepPlayer outputs EventBus.subscribe(Pattern.compile("PlayThread.*"), this); mainJPanel = new MainJPanel(this); this.getContentPane().add(mainJPanel); this.addWindowListener(new ApplicationWindowEventHandler()); this.setDefaultCloseOperation(JFrame.DO_NOTHING_ON_CLOSE); this.setTitle("jrStepGUI"); this.setSize(700, 525); MySwingUtilities.displayCentered(this); setUIState(UIStates.STARTUP); this.setVisible(true); // open a SerialJDialog that allows to choose and open // the serial port on which rStep communicates SerialJDialog serialJDialog = new SerialJDialog(this); serialJDialog.setVisible(true); }
David
Sunday, January 23, 2011 3:18 PM
Reaz,
I downloaded the jrStepGUI from the google group. I copied the RXTX
drivers to the "Java extensions" directory. I ran the GUI with
everything grayed out. There is no way to select the comm port. I
tried to run with terminal and I get cannot run message.
Arduino version 0022 works on ATmega328 board. I uploaded your version
of rStep firmware and I can invoke the terminal to communicate with
the board.
I just cannot get the GUI to work.
David
Reza Naima
Sunday, January 23, 2011 3:09 PM
I've not played with the latest version of jrStepGUI but did you select the correct serial port and have the proper RXTX drivers installed? That seems to be a problem for multiple people. Has it been included in te jrStepGui distribution?
Reza
Sunday, January 23, 2011 3:06 PM
How do you run this on Mac OSX 10.6.6?
I get this when running in terminal mode. I copied the two files from
Arduino to the Java extensions directory. I chmod the files to include
execute.
MyMAC:GUI arduino$ ./jrStepGUI_110113.jar
-bash: ./jrStepGUI_110113.jar: cannot execute binary file
MyMac:GUI arduino$
When I run it from the Finder, GUI came up and everything is grayed
out. The status message shows "waiting for rstep".
My Arduino application works and the terminal shows "start". I am
using a Arduino Pro board with Atmega328.
Please advise,
David
Saturday, January 15, 2011 7:49 AM
I'm sorry but the update I wrote wasn't commited the other day. My
Eclipse was configured to get the source anonymously.
Now it's fixed.
Thursday, January 13, 2011 10:24 AM
I have commited a new jrStepGUI version (r82). A compiled version is
coffee4us
Monday, January 24, 2011 10:31 PM
Still no popup!
David
iklln6
Monday, January 24, 2011 9:39 PM
Go to /System/Library/Java/Extensions -- delete (or place in a /
disable/ folder) RXTXcomm.jar and librxtxSeria.jnilib, if they exist
Go to /Library/Java/Extensions -- do the same as above
Check ~/Library in case there is a Java folder in there (if there is,
repeat the above)
place jrStepGUI in a folder with RXTXcomm.jar and librxtxSerial.jnilib
and double click jrStepGUI.jar to run
David
Monday, January 24, 2011 8:31 PM
The web install failed with a popup message stating "Unable to launch
the application".
When I manually install and fix the permission, same problem with no
popup. Just waiting for rstep.
Anybody else get in to work on Max OSX 10.6.6? What is the correct
install steps?
By the way, the date on the two files are much older and different
size than the ones in the Arduino package.
David
jlp
Monday, January 24, 2011 11:06 AM
If the serial port selection dialog doesn't appear, it means that the
RXTX library isn't properly installed (I have reproduced the "bug" on
my Linux box to be sure).
The RXTX library relies on a Java library file and one (or two) native
library file which depends on the OS you use. I use to link the Java
part in jrStepGUI but I can't do the same for the native part as it
varies.
I'll try to add a popup to notify the problem to the user but I can't
fix it, as the way to do that depends on the OS.
It seems the better way to install RXTX is the web install:
But a manual install may be necessary if the web install doesn't work:
http://rxtx.qbang.org/pub/rxtx/rxtx-2.1-7-bins-r2.zip
Reza Naima
Sunday, January 23, 2011 7:16 PM
Yup, your right - there must be a bug with the latest version. Before I used to be able to configure the serial port and the current version doesn't give me that option anymore. I know I've gotten it to work before, but I downloaded the older version and had the same problem. According to the source, it should pop up a dialog right away to prompt for the serial port. I don't have time this week to do anything so hopefully someone else can debug it. I still havn't been able to get the 64bit version of eclipse to run on this new computer to start playing around with the code.
public Application() {
rStep = new RStep();
// connect a PrintStream to monitor rStep I/Os
rStep.setSerialMonitor(new PrintStream(getSerialJPanelOutputStream(), true));
rStep.setTimestamping(true);
// listen to some rStep outputs
EventBus.subscribe("RStep START", this);
EventBus.subscribe(Pattern.compile("RStep Reply:.*"), this);
EventBus.subscribe(Pattern.compile("RStep Debug:.*"), this);
EventBus.subscribe(Pattern.compile("RStep Syntax error:.*"), this);
EventBus.subscribe(Pattern.compile("RStep Sen[dt]"), this);
EventBus.subscribe(Pattern.compile("RStep CommunicationException"), this);
rStepPlayer = new RStepPlayer();
// listen to all RStepPlayer outputs
EventBus.subscribe(Pattern.compile("PlayThread.*"), this);
mainJPanel = new MainJPanel(this);
this.getContentPane().add(mainJPanel);
this.addWindowListener(new ApplicationWindowEventHandler());
this.setDefaultCloseOperation(JFrame.DO_NOTHING_ON_CLOSE);
this.setTitle("jrStepGUI");
this.setSize(700, 525);
MySwingUtilities.displayCentered(this);
setUIState(UIStates.STARTUP);
this.setVisible(true);
// open a SerialJDialog that allows to choose and open
iklln6
Thursday, January 27, 2011 8:04 AM
install xcode
coffee4us
Wednesday, January 26, 2011 7:37 PM
jrstepgui is in the same directory as RXTXcomm.jar and
librxtxSerial.jnilib.
iklln6
Wednesday, January 26, 2011 3:33 PM
where is jrstepgui?
coffee4us
Wednesday, January 26, 2011 1:20 PM
If the serial port selection dialog doesn't appear, it means that the RXTX library isn't properly installed (I have reproduced the "bug" on my Linux box to be sure). The RXTX library relies on a Java library file and one (or two) native library file which depends on the OS you use. I use to link the Java part in jrStepGUI but I can't do the same for the native part as it varies.
I'll try to add a popup to notify the problem to the user but I can't fix it, as the way to do that depends on the OS.It seems the better...read more »
jlp
Wednesday, January 26, 2011 5:30 AM
If the serial port selection dialog doesn't appear, it means that the RXTX library isn't properly installed (I have reproduced the "bug" on my Linux box to be sure). The RXTX library relies on a Java library file and one (or two) native library file which depends on the OS you use. I use to link the Java part in jrStepGUI but I can't do the same for the native part as it varies.
I'll try to add a popup to notify the problem to the user but I can't fix it, as the way to do that depends on the OS.
It seems the better way to install RXTX is the web install:
http://show.docjava.com:8086/book/cgij/code/jnlp/gnu.io.SafeCommDrive... But a manual install may be necessary if the web install doesn't work: http://rxtx.qbang.org/pub/rxtx/rxtx-2.1-7-bins-r2.zip
Garrett Mace
Monday, January 31, 2011 11:53 AM
Reza Naima
Thursday, January 27, 2011 1:13 PM
cool toy; what did you pay for it? with the code, it's super easy to add additional axis. you just need to make a couple arrays go from 3 to 5 and configure the pins/ports to use the extra header.
-r
Garrett Mace
Monday, January 31, 2011 11:53 AM
So I found a new/old Sony CAST-PRO miniature cartesian industrial robot on eBay. Originally used for general purpose automation tasks; PCB testing, glue dispensing, screw installation, etc. Would normally come with a teaching pendant to program in a point sequence, I don't have the pendant of course (or would want it). It's made from a lot of extruded and billet aluminum, weighs about 100 pounds. The linear rails are nice THK guides with recirculating ball bearing blocks. The Z axis only has about 100mm travel but is also an R axis; there are two stepper-driven leadscrew nuts and they rotate both for R and lock one for Z (there's an electric brake).
Anyway, below you can see photos of the machine after I stripped it down enough to pull out the electronics. Basically it looks like everything in the left half of the photo is usable, and everything in the right half is not, except for the power supplies and some switches etc. The second photo is a two-axis stepper driver board made by Sony. Leave it to Sony to design something totally cryptic, full of dozens of 74 series logic, and requiring a 100-pin connector that plugs into a backplane with another driver board and a processor board. Those two big heatsinks are actually STK672-050 stepper drivers, that already include current control, a step sequencer, and configurable microstepping...what's all the rest for?
Well, in any case it looks like the best option is to strip out everything I don't understand and put in my own drivers. Definitely considering rstep...though I need at least 4 axis control and probably will need a fifth later. Right now the code seems locked into 3-axis control, I may try to work on that but not sure if the Arduino hardware is adequate for more than 3-axis control.
Garrett Mace
Wednesday, February 02, 2011 11:11 AM
It was $375 cash; I bought it from a guy living on top of a mountain near Santa Cruz with a giant shed + four cargo containers full of old computers, and his own airstrip. I said "Nice...." a lot.
Since Monday I was able to trace out the connections needed on the original driver boards. Actually there were two unused sets of pads with step/dir/enable/GND on them...nothing like that for the limit switch and relay controls, but those were pretty easy to track down. Got a motor spinning just fine using an external pulse source, so it looks like the rest of the electronics won't interfere. The motherboard ended up having a 486 DX2-66 running pSOS+ and an Altera FPGA. So really all I need is a gcode interpreter and step generator...going to try the rstep firmware in the next day or two.
Glad to hear it's not too bad to add more axes. I haven't looked at the interpolation code, it's a general solution for N axis motion?
Reza Naima
Wednesday, February 02, 2011 10:54 AM