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 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 knowledgebase and noticed a >>> setting called a "deadzone". Would this solve my problem? >>> >>> Any useful tips? >>> >>> Thanks >>> >>> - Micahel >> >> I seem to recall that there was either a loadrt parameter or >> component >> parameter that let you set the jog mode to either follow the >> commanded >> position or follow the input activity. In other words, when the >> joystick >> is held the position commands build up, when you release the >> joystick, >> EMC2 continues to try to move to the commanded position causing a >> run-on. In the other mode, when you release the joystick, the motion >> stops at the release and cancels the position command. > > 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 outputs. > There are joysticks which output (-value .. 0 .. value), and others > that go > (0 .. value). > The first kind you can easily connecto to halui jogging with speed > presetting. (then based on how far you move the stick, halui will > command > the speed of the jog move). > Deadband is used so the axis doesn't slowly creep away if your > joystick > doesn't output quite 0 when in the neutral position. > > Before you start hooking the joystick up to halui for jogging, I > would first > load the joystick component (just like in the HAL file), then use a > halmeter > and look for the values it outputs for +max, neutral and -max. Also > see how > linear the values are. > Based on these numbers, we'll try to suggest you the best way to > hook it up. > > Regards, > Alex > > > ------------------------------------------------------------------------------ > Stay on top of everything new and different, both inside and > around Java (TM) technology - register by April 22, and save > $200 on the JavaOne (SM) conference, June 2-5, 2009, San Francisco. > 300 plus technical and hands-on sessions. Register today. > Use priority code J9JMT32. http://p.sf.net/sfu/p > _______________________________________________ > Emc-users mailing list > Emc-users@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/emc-users ------------------------------------------------------------------------------ Stay on top of everything new and different, both inside and around Java (TM) technology - register by April 22, and save $200 on the JavaOne (SM) conference, June 2-5, 2009, San Francisco. 300 plus technical and hands-on sessions. Register today. Use priority code J9JMT32. http://p.sf.net/sfu/p _______________________________________________ Emc-users mailing list Emc-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/emc-users