sani.broy...@free.fr wrote:

>Hi all.
>
>Beeing fully conscious of my ignorance of internals of EMC2, I'm now seeking a 
>mercyfull hand :-)
>
>Please forgive also my awfull english, I do my best :-) 
>  
>
Pas de probleme.

>I tried several hours to use tutorials showing the use a Joypad to jog an XYZ 
>machine.
>
>The joypad I bought ressembles a lot the one pictured on wiki, and is 
>prefectely detected as the SAITEK is.
>
>It's USB name is "Jess Technologies" but this issue put aside, they were 
>eventually both casted in the same injection press...
>
>There is 3 examples in the wiki doc, but none is satisfaying:
>
>- One use deprecated "hal_joystick" driver, and causes errors in hal file 
>loading, i.e without working or crashing EMC with a nice tombstone 5 seconds 
>after launch;
>  
>
Don't use this one :)

>- One is so complicated that it perfectly fits... it's writer's needs, but 
>also 
>produces errors during loading, leading to nothing;
>  
>
If this uses the hal_input driver, you could try commenting out almost 
everything (put a # at the start of each line you want to make into a 
comment) and then load it.  When doing testing like this, you should run 
from a command line and try each step of the way using halcmd.  This can 
easily be done by running "halrun -I" to load the realtime system and 
give you a halcmd prompt.  You can also specify a hal file to run before 
you get a prompt, which would allow you to make some threads or load 
some drivers (like hal_input), etc.

>- One uses a custom made driver for non-linerarity purpose. 
>And also doesn't work.
>  
>
You could try commenting out the part that uses the custom component.

>Am I the only one who tries to connect a /dev/input/js0 device to EMC2 to move 
>manually the axis without mouse-clicking ?
>  
>
You may be the only one using js0 these days :)  The hal_input driver 
uses input devices, and you can specify them by name.  If you have only 
one of those joypads, you can specify it as "Jess".  See the hal_input 
manpage for the exact syntax.

>With HAL meter inside axis, I don't even see the pins that are eventually  
>presented by "hal_input" or "hal_joystick" when shown by halrun. Of course my 
>".ini" file seems coherent, and references my "joypad.hal" file.
>  
>
If you are loading the input driver, and EMC2 starts up without an 
error, then you should have some pins.  You need to make sure to select 
the "pins" tab in the halmeter selection dialog.

>I guess that there is a ten-line halfile to use a joypad to jog a XYZ machine 
>within axis, which will connect the output pins of the joypad to the input 
>pins of jogging subroutine, but I wonder which :-)
>  
>
Probably not.  Depending on the type of controller and the way you want 
to use it, you will probably have to use halui to do the jogging.

>Is there someone around there using a REALLY simple (simplistic I would say) 
>XYZ jogging with axis and a joypad perfectly tested by all available probes ?
>  
>
It's unlikely that there will be a simple example that does exactly what 
you want with the exact hardware you have.  Feel free to post yours on 
the wiki once you get it working :)

>I use the 6.x UBUNTU BDI CD, on Athlon X64 and fairly new ASUS MoBo.
>  
>
Please be careful with wording.  There is no Ubuntu-based BDI disc.  All 
The Ubuntu discs are liveCDs, but they're not called BDI.

>The 8.x UBUNTU doesn't even load axis, crashing immediately, so 6.x release is 
>the good and only choice :-)
>  
>
That is strange.  Did you try other user interfaces, like TkEMC?  It's 
possible that you had an OpenGL problem, which would only show up in 
AXIS since that's the only UI that has the 3D preview.

- Steve


------------------------------------------------------------------------------
_______________________________________________
Emc-users mailing list
Emc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-users

Reply via email to