On Jan 19, 2010, at 1:15 PM, Andy Pugh wrote:

> 2010/1/19 Michael Jones <[email protected]>:
>
>> 2)  Hat  Jog Function:
>>
>> I would like to make the hat button on the controller jog the x and y
>> axis by a fixed amount (i.e. 0.01" or 0.001" or maybe whatever is
>> selected in the menu in Axis) each time it is pressed.  I may go as
>> far as using a modifier button, and the hat together to make it do  
>> the
>> same for the Z axis.... but not sure yet.
>
> Doesn't connecting the hat output pin to halui.jog.0.plus (etc) do  
> that?
>

No idea, but worth looking into.. I'm new to this HAL stuff, but It  
might be worth checking out.

> FWIW I just use analogue jogging, with the left hand index-finger
> buttons setting high speed with top, medium speed with bottom and very
> slow with both. I think it is worth having a modifier required as
> otherwise you tend to jog when picking up the controller.
>

I like the idea of using one, another or both buttons to modify jog  
speed.   Currently I have slow and medium on the left hand trigger  
buttons..  I may have to incorporate the three and protection if you  
don't press a button first.

I find myself switching the AXIS interface to jog using the arrow keys  
on the keyboard  by .001" to touch off the x, y and z position.  It  
would be nice to have a button (I was thinking the HAT on the pendant)  
that will always be set to .001" so I don't have to switch stuff back  
and forth.

> That was a relatively easy:
>
> loadrt mux4
>
> addf mux4.0 servo-thread
>
> net jog-slow input.0.btn-top2 => mux4.0.sel1
> net jog-fast input.0.btn-base => mux4.0.sel0
>
> setp mux4.0.in0 0
> setp mux4.0.in1 20
> setp mux4.0.in2 200
> setp mux4.0.in3 2000
>
> net jog-speed halui.jog-speed <= mux4.0.out
>
> -- 
> atp
>
> ------------------------------------------------------------------------------
> Throughout its 18-year history, RSA Conference consistently attracts  
> the
> world's best and brightest in the field, creating opportunities for  
> Conference
> attendees to learn about information security's most important  
> issues through
> interactions with peers, luminaries and emerging and established  
> companies.
> http://p.sf.net/sfu/rsaconf-dev2dev
> _______________________________________________
> Emc-users mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/emc-users


------------------------------------------------------------------------------
Throughout its 18-year history, RSA Conference consistently attracts the
world's best and brightest in the field, creating opportunities for Conference
attendees to learn about information security's most important issues through
interactions with peers, luminaries and emerging and established companies.
http://p.sf.net/sfu/rsaconf-dev2dev
_______________________________________________
Emc-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/emc-users

Reply via email to