Hi Jon,
> If you just want diameter readout, what would happen if you changed the > INPUT_SCALE to be half the value? > BTDT. The problem, as you mentioned, is that arcs come out elliptical. > First part doesn't sound too hard, but I haven't heard of anyone using > the joystick inputs like that with EMC. > Heh, I'm good at breaking new ground :-) I was the very first to do the same thing with Mach. I was also the first to implement MPGs in Mach, long before Art wrote the parallel port MPG support. This page <http://wiki.linuxcnc.org/cgi-bin/emcinfo.pl?Using_A_Joypad_To_Move_Your_CNC_Machine> talks about using a joypad to emulate encoders. Presumably the emulated encoders could also be used to control FRO. Another possibility may be hal_joystick <http://linuxcnc.org/docs/html/man/man1/hal_joystick.1.html>. I have to admit I am still a little vague on how everything ties together at the moment. It will take me a little time to get my head around HAL configuration. > The way the analog joystick works on most PCs requires timing loops, > which is sort of messy on a real time system. > I should have been a bit clearer. I meant a USB joystick so all the messy timing is done on the joystick controller (yes, many still use an R-C timer instead of a proper ADC). > No. Using them together sounds a bit tricky. The X axis is a > continuum, and you want to have the sign flip over when you switch to a > different tool. I suppose there probably is a way to do this, though. > It would require something between EMC and the servo axis to flip the > direction. HAL could cetainly do that, but getting it to move smoothly > when you change the sign and offset would take some care. Also, making > sure everything was in a safe position when you switch over would need > to be addressed. > Unfortunately this has to be done at interpreter level because you have to flip the X in work coordinates rather than machine coordinates. Like radius/diameter it is purely a tweak to the numbers the user sees rather than any changes to the internal motion. Lathes are rather strange beasts... Les ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ _______________________________________________ Emc-users mailing list Emc-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/emc-users