Hi all;
After reading some of the messages on this list, I went out and
purchased a wired joypad; it is giving me the following messages when
I run:
halcmd
loadusr hal_input -KRAL GASIA
Unexpected event EV_ABS ABS_48
Unexpected event EV_ABS ABS_49
Unexpected event EV_ABS ABS_50
Unexpected
On Oct 5, 2011, at 16:18 , John A. Stewart wrote:
Hi all;
After reading some of the messages on this list, I went out and
purchased a wired joypad; it is giving me the following messages when
I run:
halcmd
loadusr hal_input -KRAL GASIA
Unexpected event EV_ABS ABS_48
Unexpected
Hi Sebastian;
Thanks for the reply, and the ideas. I'm new to EMC, so there is a lot
to figure out still.
What device is this, exactly?
lsinput:
/dev/input/event3
bustype : BUS_USB
vendor : 0x54c
product : 0x268
version : 273
name: GASIA CORP. PLAYSTATION(R)3 Cont
On Wed, Oct 5, 2011 at 6:45 PM, Sebastian Kuzminsky s...@highlab.com wrote:
Unexpected event EV_ABS ABS_48
Unexpected event EV_ABS ABS_49
That's because the EMC HID driver hal_input doesn't handle all data
from your USB device.
The regular kernel HID driver defines the EV_ABS events with
On 10/05/2011 10:39 PM, Przemek Klosowski wrote:
On Wed, Oct 5, 2011 at 6:45 PM, Sebastian Kuzminskys...@highlab.com wrote:
Unexpected event EV_ABS ABS_48
Unexpected event EV_ABS ABS_49
That's because the EMC HID driver hal_input doesn't handle all data
from your USB device.
The regular
I have a Saitek P880 joypad. It works REALLY great to do the following:
1) Control X, Y and Z with joyhandles (little levers sticking out of the
joypad)
2) Make some buttons like input.0.btn-pinkie to control HAL pins to give HAL
pause and resume commands.
The nice thing is that depending on how
On 17 February 2011 21:39, Igor Chudov ichu...@gmail.com wrote:
In other words: when I press a certain button, I want a given axis to start
moving in a given direction at a predetermined speed. When I release that
button, I want movement to stop.
How can I set that up.
Look at the mux4
On Thu, 2011-02-17 at 13:39 -0600, Igor Chudov wrote:
I would like to use regular joypad buttons
I did that with my Logitech gamepad: the joysticks do gradual motion and
the buttons do on-off motion.
This should get you started:
Message -
From: Spiderdab77...@tiscali.it
To:Emc-users@lists.sourceforge.net
Sent: Thursday, December 16, 2010 1:23 AM
Subject: [Emc-users] Joypad question.
Hallo list.
Is there a way to jog the axis in joint mode only with keyboard, while
jog in world mode with the joystick?
i'm using
On 16 December 2010 11:42, Spiderdab 77...@tiscali.it wrote:
something like a logical expression which read if the state of world
mode is false or true? is there a pin for that?
http://www.linuxcnc.org/docs/2.4/html/man/man1/halui.1.html
(Look at the halui.mode pins)
what do you mean about :
Il 16/12/2010 13:07, andy pugh ha scritto:
On 16 December 2010 11:42, Spiderdab77...@tiscali.it wrote:
something like a logical expression which read if the state of world
mode is false or true? is there a pin for that?
http://www.linuxcnc.org/docs/2.4/html/man/man1/halui.1.html
(Look at
On 16 December 2010 13:00, Spiderdab 77...@tiscali.it wrote:
the on e wich should interest me is _teleop? right?
than i'm not sure if the joint mode is _joint or _manual. what's the
difference?
It might be easiest to watch them in Show HAL Config and see what they do.
--
atp
Torque wrenches
Il 16/12/2010 14:35, andy pugh ha scritto:
On 16 December 2010 13:00, Spiderdab77...@tiscali.it wrote:
the on e wich should interest me is _teleop? right?
than i'm not sure if the joint mode is _joint or _manual. what's the
difference?
It might be easiest to watch them in Show HAL Config
Alex, i've a question for you, since, if i'm not wrong, you wrote down
the tripodkins.c .
have you ever tried to jog into world mode the tripod with a joystick?
did it work?
i'm asking about this thing everywhere, but nobody can tell me if it
work or not with a non-trivial kinematics.
thanks
is still in
development/testing phase, so use with caution.
Regards,
Alex
- Original Message -
From: Spiderdab 77...@tiscali.it
To: Enhanced Machine Controller (EMC) emc-users@lists.sourceforge.net
Sent: Thursday, December 16, 2010 5:04 PM
Subject: Re: [Emc-users] Joypad question
Il 16/12/2010 16:21, Alex Joni ha scritto:
Hi Davide,
that's a question that's a bit hard to answer.
I remember doing it, but that was around emc2 - 2.1 or even older.
In the current versions (due to some bugfixes), I think this is prevented.
Can't remember the reason though.
I know it
Hallo list.
Is there a way to jog the axis in joint mode only with keyboard, while
jog in world mode with the joystick?
--
Lotusphere 2011
Register now for Lotusphere 2011 and learn how
to connect the dots, take your
To: Emc-users@lists.sourceforge.net
Sent: Thursday, December 16, 2010 1:23 AM
Subject: [Emc-users] Joypad question.
Hallo list.
Is there a way to jog the axis in joint mode only with keyboard, while
jog in world mode with the joystick
Looks like this is your problem:
Debug file information:
Can not find -sec EMC -var NML_FILE -num 1
Unrecognized line skipped: POC FMS LEN DIAMCOMMENT
standard_pinout.hal:22: Warning: linkpp command is deprecated, use 'net'
HAL: ERROR: pin_new called after hal_ready
The hal_joystick component was deprecated in emc 2.2[1] and was intended
to be removed in emc 2.4. Instead, use hal_input[2], which will require
additional modifications to joypad.hal due to different pin names.
hal_input, which has existed since emc2.2, supports more devices than
hal_joystick,
On 05/19/2010 10:15 AM, Jeff Epler wrote:
The hal_joystick component was deprecated in emc 2.2[1] and was intended
to be removed in emc 2.4. Instead, use hal_input[2], which will require
additional modifications to joypad.hal due to different pin names.
hal_input, which has existed since
On 05/19/2010 03:52 AM, Mark Wendt wrote:
Looks like this is your problem:
Debug file information:
Can not find -sec EMC -var NML_FILE -num 1
Unrecognized line skipped: POC FMS LEN DIAMCOMMENT
standard_pinout.hal:22: Warning: linkpp command is deprecated, use 'net'
HAL:
Chris,
I followed the wiki at
http://wiki.linuxcnc.org/cgi-bin/emcinfo.pl?A_New_Approach_For_Using_Joypads_With_EMC2
and I couldn't get the joystick to be found by any name I tried. Then I
found that HALUI = halui must be before the HALFILE directive in the ini
file and everything worked
Hi all.
Anybody using a USB joypad that works ?
Regards.
--
___
Emc-users mailing list
Emc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-users
I use the one from the picture on the wiki... I followed the
installation procedure and it worked of the bat. I got mine from ebay
for $7...
I edited the wrong hal file and it got overridden again with a
reconfig lol I was to lazy to set it up again...
As I recall it was not a big deal to get
It doesn't work at all, despite I followed the procedure line by line.
Pins are not named the same, hal_joystick or hal input doesn't work despite
this joypad is the same as pictured and is perfectely used by all probe progs
using /dev/input/js0.
I can't believe you when you say It worked out
sani.broy...@free.fr wrote:
It doesn't work at all, despite I followed the procedure line by line.
What does not work?
You need to tell us step by step what you are doing, what you expect to
see, and what you actually see.
Pins are not named the same,
Then change the names of the pins on
Sani,
I used the instructions below to get both a Logitech and Sony gamepad to
work. The only real trick as far as I remember was making sure to use a
recognizable portion of the name (i.e. replacing SAITEK from the
instructions).
Then I am a happy liar who jogs his machine with his JoyPad
When I get to the shop later I'll post my hal file edits and the
message from Linux when it finds my pad.
I might shoot a quick movie how it jogs so you have to stop calling me
a liar and I can start calling you dumbass!
Why should I
I wasn't saying that, sorry Rainer.
I copied/pasted the file, got a ton of errors :-)
So the example given in the wiki was not, for sure, usable as is :-)
Dumbass is not in my translator. Could you explain ? ;-)
Regards, Chris.
Le lundi 6 juillet 2009 19:19:51, Rainer Schmidt a écrit :
Then
No, cut and paste does not work
But following the steps works. I did not attempt cut and paste.
Dumbass: Si je suis un menteur, alors vous êtes un con haha 8)
I'll send the files later Have to deal with many 'Con' today on
the phone
On Mon, Jul 6, 2009 at 3:06 PM,
Mine works flawlessly...
John
On 6 Jul 2009 at 18:34, sani.broy...@free.fr wrote:
Hi all.
Anybody using a USB joypad that works ?
Regards.
--
___
Emc-users
Lucky you :-)
Regards, Chris.
Le mardi 7 juillet 2009 00:17:16, John Thornton a écrit :
Mine works flawlessly...
John
On 6 Jul 2009 at 18:34, sani.broy...@free.fr wrote:
Hi all.
Anybody using a USB joypad that works ?
Regards.
Everything was neat and clear until I tried the proposed .hal
file to integrate the Joypad in axis. Nothing appends, or
tombstone sometimes.
I found that out the hard way too. It only takes a small change in your
.ini file or .hal file and you can no longer use shared hal files. It's an
I'm trying hard :-)
Thanks for your advices.
Too late (1.28 AM) to go on tonight, I'll experience debug modes tomorrow.
Regards, Chris
Le mardi 7 juillet 2009 01:12:00, Frank Tkalcevic a écrit :
Everything was neat and clear until I tried the proposed .hal
file to integrate the Joypad in
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
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 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 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
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
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.
: [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
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
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
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
On Sun, Mar 02, 2008 at 10:34:28PM -0500, Stephen Wille Padnos wrote:
The reason is that there's no way to get a complete list of all joystick
devices (axes and buttons) before you get the first event. If you try
to enumerate all the axes first, and the joystick gets moved while
you're doing
On Fri, 22 Feb 2008, Kirk Wallace wrote:
Another bit I don't understand:
/* STEP 3: allocate shared memory for joystick data */
js_data = (hal_js_t *) hal_malloc(sizeof(hal_js_t));
if (js_data == 0) {
printf( ERROR: hal_malloc() failed\n);
hal_exit(comp_id);
On Sat, 2008-02-23 at 07:52 +, ben lipkowitz wrote:
On Fri, 22 Feb 2008, Kirk Wallace wrote:
Another bit I don't understand:
/* STEP 3: allocate shared memory for joystick data */
js_data = (hal_js_t *) hal_malloc(sizeof(hal_js_t));
if (js_data == 0) {
printf( ERROR:
I think hal_joystick.c:
http://cvs.linuxcnc.org/cgi-bin/cvsweb.cgi/emc2/src/hal/user_comps/devices/hal_joystick.c?rev=1.2;content-type=text%2Fplain
might be a good model to follow for making my modbus user-land
component. My guess would be that one would setup HAL and the the HAL
pins and then
On Fri, 2008-02-22 at 17:51 -0800, Kirk Wallace wrote:
I think hal_joystick.c:
http://cvs.linuxcnc.org/cgi-bin/cvsweb.cgi/emc2/src/hal/user_comps/devices/hal_joystick.c?rev=1.2;content-type=text%2Fplain
might be a good model to follow for making my modbus user-land
component. My guess
That was the example that I was looking at. So will the HALUI be out
when 2.2 is released?
Thanks
John
On 22 Oct 2007 at 14:38, [EMAIL PROTECTED] wrote:
Hello,
here is a slightly out of date example:
http://wiki.linuxcnc.org/cgi-bin/emcinfo.pl?Using_A_Joypad_To_Move_You
r_CNC_Machine
easy way.
Regards,
Manfredi
My websites: www.m24-pro.com
www.emc2cnc.altervista.org From:
[EMAIL PROTECTED] To: emc-users@lists.sourceforge.net Date: Sun, 21 Oct 2007
14:08:16 -0500 Subject: [Emc-users] Joypad Can you take a joypad apart and
put
Can you take a joypad apart and put into a more solid container and use
industrial
buttons so you can label the functions for input into EMC. The USB input for a
remote would be just too easy...
Thanks
John
-
This SF.net
kirk wrote:
John,
Thanks for all the help. The scaling factors did the trick. On the
previous version of EMC 2.1.3 I had to increase the counts per second
just to get the thing to move.
This new version works considerably better. There is much better
control over the velocity.
Good
Kirk wrote:
I am using the joypad.hal file located on the wiki. I have of course
modified it for my machine. I am loading halui and using it to control
various functions via buttons on the joypad. The previous version of
EMC was 2.1.3 which I obtained via Ubuntu Synaptic Package Manager. I
I attached the hal file on the last message. I am also attaching it
again here. The link to the file on the wiki is
http://wiki.linuxcnc.org/uploads/joypad.hal
Kirk
On Tue, 2007-03-27 at 19:57 -0400, John Kasunich wrote:
Kirk wrote:
I am using the joypad.hal file located on the wiki. I
John Kasunich wrote:
I should proofread before I hit send, not after:
If countX looks OK, then its time to look at the motion controller.
show pin axis.0.jog will show you the jogging related pins.
jog-counts should have the same value as countX. jog-enable should
be TRUE. jog-vel-mode
I just updated my system with the latest EMC 2.1.4. Prior to that I had
installed a USB joystick controller and it worked fine. After the
upgrade, the analog axes joysticks no longer work properly. If I jog an
axis it continues in the same direction as started and does not stop
when the control
66 matches
Mail list logo