Does anyone have a good example of a HAL file for a joypad that I can
build on.
Here's what I want to do with a basic Logitech usb gamepad..
Use the left stick to control x axis, the right stick to control the y
axis, and the Hat to control the z axis. (I want one stick, one
axis, 'cause
On Thu, Apr 16, 2009 at 12:34:03PM -0700, Kirk Wallace wrote:
Hopefully the wood guru's here will chime in.
You've covered almost everything, Kirk. It's a few years now since I did much
routing [1], in kiln dried Australian hardwoods and a little in waxy tropical
hardwoods. I'd only emphasise
On 17 Apr 2009 at 1:06, Michael Jones wrote:
Does anyone have a good example of a HAL file for a joypad that I
can
build on.
This should get you going.
http://wiki.linuxcnc.org/cgi-bin/emcinfo.pl?Simple_Remote_Pendant
John
On 16 Apr 2009 at 19:19, alan battersby wrote:
Hello everyone,
I hope someone on this forum can offer some advice. I asked this
question on CNCZone Gcode programming but have not yet had a
reply.
Perhaps I didnt word it clearly enough so can anyone on this forum
help?
As Steve pointed
flash would not be a good idea as its closed source and in my
experience somewhat buggy
Dave Caroline
--
Stay on top of everything new and different, both inside and
around Java (TM) technology - register by April 22,
On 17 Apr 2009 at 12:13, John Pfleger wrote:
I have several python scripts to generate G-Code that I use
frequently.
It would be nice if we could have a widget that would do the
equivalent of opening a script.
The easiest would be similar to the button except instead of
connecting to a
It there a simple example or other documentation on developing user
interfaces for EMC2? I am assuming that whatever I do will need to talk
to EMC through emcsh or emcsvr. A list of available commands for either
or both would be helpful.
I have been thinking of doing screens in Flash or perhaps
There's essentially no documentation of the user interface APIs besides
the source code.
If you want to develop an interface in C++, have a look at shcom.hh and
a user of the shcom code such as emcrsh.cc.
If you want to develop an interface in Python, have a look at 'pydoc
emc', which is
Dave,
Your point is well taken, however I do use the MachMotion screen set
with Mach3 in my shop currently. It works quite well with a touch
screen. I have started using touch screens in my very small shop (10 x
12 building) since I have very limited space for keyboards and mice.
I am
Adding touchscreen I could be interested in as the cnc currently has a
touchscreen which I dont have a driver for yet
Dave Caroline
--
Stay on top of everything new and different, both inside and
around Java (TM)
John,
FYI, I have done a couple of proof of principle touch screen layouts, but
that is as far as I got with them. In particular I was looking at using a
Lilliput 7 touch screen display (16x9 format), which is a bit different
from say a 17+ 4x3 format display typical of large CNC machines. In my
Kirk Wallace wrote:
Whatever it is, it looks like I have it too. I ran the long version four
times with #4=0.050 without any problems. Then before shutting down for
the night, I ran one part at #4=0.08. At the start of the thread the
Z would aggressively move then almost come to a stop in
On Thu, 16 Apr 2009 22:40:07 -0700, you wrote:
which sets up for 20 TPI. I ran it like that first, then changed the
value to .08333 to get 12 TPI.
Just a thought - try changing that 0.08333 to 0.084 and see if it still
misbehaves.
Steve Blackmore
--
Hi,
is it possible to invert the DIR signal of the stepgen output of the
Mesa 5i20 board?
On my old (parport) config I had the DIR signal inverted so I was
looking for a similar option on the hostmot configuration.
Otherwise I'd have to open the controller-box to change one of the
phases of
Rob Jansen wrote:
is it possible to invert the DIR signal of the stepgen output of the
Mesa 5i20 board?
On my old (parport) config I had the DIR signal inverted so I was
looking for a similar option on the hostmot configuration.
Yes this is easily doable.
When you start emc2 and it loads
Rob Jansen wrote:
Hi,
is it possible to invert the DIR signal of the stepgen output of the
Mesa 5i20 board?
On my old (parport) config I had the DIR signal inverted so I was
looking for a similar option on the hostmot configuration.
One way to do that would be to change the sign of the
On Fri, 2009-04-17 at 01:06 -0700, Michael Jones wrote:
... snip
I've used the first script in the knowledgebase as a initial attempt,
but am having a slight problem. When I let go of the stick on the pad
the axis keeps going.. UHOH! ;-)
I've looked at the other scripts in the
On Fri, 2009-04-17 at 10:48 -0700, Kirk Wallace wrote:
On Fri, 2009-04-17 at 01:06 -0700, Michael Jones wrote:
... snip
I've used the first script in the knowledgebase as a initial attempt,
but am having a slight problem. When I let go of the stick on the pad
the axis keeps going..
When I use this setup, I get a response to the command:
loadusr -W hal_input -KRAL name
I've replaced the name with everything I can think of.. including
various permutations of quotes and the like and get this every
time.Somehow the hal stuff isn't recognizing the name of the device
On Fri, 2009-04-17 at 01:06 -0700, Michael Jones wrote:
... snip
I've used the first script in the knowledgebase as a initial attempt,
but am having a slight problem. When I let go of the stick on the pad
the axis keeps going.. UHOH! ;-)
I've looked at the other scripts in the
Kirk,
That looks promising.. I'll try inserting that into the Hal.
Thanks,
- Michael
On Apr 17, 2009, at 11:13 AM, Kirk Wallace wrote:
On Fri, 2009-04-17 at 10:48 -0700, Kirk Wallace wrote:
On Fri, 2009-04-17 at 01:06 -0700, Michael Jones wrote:
... snip
I've used the first script in the
When I use:
http://wiki.linuxcnc.org/cgi-bin/emcinfo.pl?HereIsHowToCheck
I get the (-value...0...value) sequence when I move the sticks.
On Apr 17, 2009, at 11:17 AM, Alex Joni wrote:
On Fri, 2009-04-17 at 01:06 -0700, Michael Jones wrote:
... snip
I've used the first script in the
Kirk,
Hey! That worked perfectly! Thanks!
I inserted:
setp axis.0.jog-vel-mode TRUE
setp axis.1.jog-vel-mode TRUE
setp axis.2.jog-vel-mode TRUE
into the hal file right after the:
setp axis.0.jog-enable TRUE
setp axis.1.jog-enable TRUE
setp axis.2.jog-enable TRUE
commands and now when I let
On Fri, 2009-04-17 at 21:17 +0300, Alex Joni wrote:
... snip
What you are reffering to is valid for MPGs, not for joysticks.
(there counts are remembered, and if you stop spinning, the machine might
still move to get to the count you intended).
For joysticks you need to see what each axis
Oops, that makes more sense. So it's more like an ADC interface. I guess
I need to actually install one sometime.
Well, there are 2 ways of interfacing the joystick.
The older one, (which I don't think is that good) is taking the output
from the joystick, using a stepgen to generate
When I:
cat /proc/bus/input/devices
it returns:
I: Bus=0003 Vendor=046d Product=c216 Version=0110
N: Name=Logitech Logitech Dual Action
P: Phys=usb-:02:00.0-1/input0
S: Sysfs=/devices/pci:00/:00:11.0/:02:00.0/
usb1/1-1/1-1:1.0/input/input5
U: Uniq=
H: Handlers=event4 js0
B:
Alex Joni wrote:
Oops, that makes more sense. So it's more like an ADC interface. I guess
I need to actually install one sometime.
Well, there are 2 ways of interfacing the joystick.
Well, there are 3 ways... :) Third is with X driver and remapping events
into AXIS.
Probably
loadusr -W hal_input -KRAL Action
would work also.
Any text fragment from the selected properties seems to work.
-Original Message-
From: Michael Jones [mailto:ma...@michaelandholly.com]
Sent: den 17 april 2009 21:27
To: Enhanced Machine Controller (EMC)
Subject: Re:
On Apr 17, 2009, at 1:11 PM, Lars Andersson wrote:
Probably
loadusr -W hal_input -KRAL Action
this doesn't seem to work no matter what text fragment I use..
Loading by the /dev/input/js0 seems to work though..
would work also.
Any text fragment from the selected properties seems to
I have been using EMC for about 5 years and just upgraded to EMC2, using AXIS
as the display program. I love AXIS, except for one thing: After putting a msg,
command in the part program, and issuing an M0 command right after, I have to
click on two separate things to restart the part program.
Michael Jones wrote:
On Apr 17, 2009, at 1:11 PM, Lars Andersson wrote:
Probably
loadusr -W hal_input -KRAL Action
this doesn't seem to work no matter what text fragment I use..
Loading by the /dev/input/js0 seems to work though..
One thing I noticed in your
In the upcoming emc 2.3 we've improved this. The message that is now a
pop-up will instead show in the corner of the axis window, and you can
hit S or click the pause/resume icon immediately. To dismiss the
individual messages, you can click the X, or hit ctrl-space to dismiss
them all.
With
On Fri, 2009-04-17 at 16:26 -0500, Jeff Epler wrote:
In the upcoming emc 2.3 we've improved this. The message that is now a
pop-up will instead show in the corner of the axis window, and you can
hit S or click the pause/resume icon immediately. To dismiss the
individual messages, you can
Hardware
buttons for other features are a good thing too.
In this case having a button for resume would be easy to do.
(link it to halui.program-resume ..)
Regards,
Alex
--
Stay on top of everything new and
On Sat, 2004-04-17 at 06:25 -0600, John Thornton wrote:
On 17 Apr 2009 at 1:06, Michael Jones wrote:
Does anyone have a good example of a HAL file for a joypad that I
can
build on.
This should get you going.
http://wiki.linuxcnc.org/cgi-bin/emcinfo.pl?Simple_Remote_Pendant
Thanks Jeff, I went looking for pydoc.emc and could not find it on my
emc2=2.3.0 installation. Where does one find this typically? I did a
find on the entire machine and did not come up with it
-
John Guenther
'Ye Olde Pen Maker'
Sterling, Virginia
On Fri, 2009-04-17 at 08:25 -0500, Jeff
Prior to Doug offering to donate to EMC's development, I have made the same
offer. Kirk correctly comments that this was not received enthusiastically.
Why not? (Gentle Why not?) Cars are manufactured for commercial sale and
the number of car hobbyists and tinkerers is huge! What is missing
Dear sir:
There is an error when I build emc2 realtime, please tell me how to install
kernel headers package.
libinch...@libincheng-desktop:~/emc2-trunk/src$ ./configure
--enable-run-in-place
checking installation prefix... /usr/local
checking for RT dir... Using
On Fri, 2009-04-17 at 11:38 -0500, Jon Elson wrote:
Kirk Wallace wrote:
Whatever it is, it looks like I have it too. I ran the long version four
times with #4=0.050 without any problems. Then before shutting down for
the night, I ran one part at #4=0.08. At the start of the thread the
On Fri, Apr 17, 2009 at 07:50:46PM -0400, John Guenther wrote:
Thanks Jeff, I went looking for pydoc.emc and could not find it on my
emc2=2.3.0 installation. Where does one find this typically? I did a
find on the entire machine and did not come up with it
pydoc emc is a command to type in
On Sat, Apr 18, 2009 at 09:29:47AM +0800, ygdan1001 wrote:
Dear sir:
There is an error when I build emc2 realtime, please tell me how to install
kernel headers package.
2.1. Preparing Ubuntu to compile emc2
[...]
2.1.2. On Ubuntu with EMC2 package already installed
Use
why could you 'not go commercial'?
On Fri, Apr 17, 2009 at 7:26 PM, Jim Fleig - CNC Services
j...@cncservices.ws wrote:
Prior to Doug offering to donate to EMC's development, I have made the same
offer. Kirk correctly comments that this was not received enthusiastically.
Why not? (Gentle Why
Whenever I position my z axis where I want my G54 zero point the
relative position reads -.0695 instead of zero?
I can't find this setting anywhere in the system.. or at least
anywhere I have thought to look..
Where can I set my z zero point to 0.00
Thanks,
- Michael
43 matches
Mail list logo