Re: [Emc-users] Joypad as a pendant - help?

2009-04-18 Thread Peter blodow
Hello John, please look at the time setting of your PC. I received this mail with sending date 17.04.2004! Peter Blodow At 14:25 17.04.2004, you 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

Re: [Emc-users] Joypad as a pendant - help?

2009-04-17 Thread John Thornton
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

Re: [Emc-users] Joypad as a pendant - help?

2009-04-17 Thread Kirk Wallace
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

Re: [Emc-users] Joypad as a pendant - help?

2009-04-17 Thread Kirk Wallace
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..

Re: [Emc-users] Joypad as a pendant - help?

2009-04-17 Thread Michael Jones
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

Re: [Emc-users] Joypad as a pendant - help?

2009-04-17 Thread Alex Joni
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

Re: [Emc-users] Joypad as a pendant - help?

2009-04-17 Thread Michael Jones
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

Re: [Emc-users] Joypad as a pendant - help?

2009-04-17 Thread Michael Jones
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

Re: [Emc-users] Joypad as a pendant - help?

2009-04-17 Thread Michael Jones
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

Re: [Emc-users] Joypad as a pendant - help?

2009-04-17 Thread Kirk Wallace
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

Re: [Emc-users] Joypad as a pendant - help?

2009-04-17 Thread Alex Joni
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

Re: [Emc-users] Joypad as a pendant - help?

2009-04-17 Thread Michael Jones
Uniq= cannot be used // Lars -Original Message- From: Michael Jones [mailto:ma...@michaelandholly.com] Sent: den 17 april 2009 20:17 To: Enhanced Machine Controller (EMC) Subject: Re: [Emc-users] Joypad as a pendant - help? When I use this setup, I get a response to the command

Re: [Emc-users] Joypad as a pendant - help?

2009-04-17 Thread Alexey Starikovskiy
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.

Re: [Emc-users] Joypad as a pendant - help?

2009-04-17 Thread Lars Andersson
: [Emc-users] Joypad as a pendant - help? 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

Re: [Emc-users] Joypad as a pendant - help?

2009-04-17 Thread Michael Jones
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

Re: [Emc-users] Joypad as a pendant - help?

2009-04-17 Thread Stephen Wille Padnos
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

Re: [Emc-users] Joypad as a pendant - help?

2009-04-17 Thread Kirk Wallace
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