How can I call do_homing_sequence() with emcmotStatus->homingSequenceState = HOME_SEQUENCE_START from halui? I want to put a home all button on my gamepad.
>Len -----Original Message----- From: John Thornton [mailto:bjt...@gmail.com] Sent: Tuesday, May 19, 2009 7:34 AM To: Enhanced Machine Controller EEMC" Subject: Re: [Emc-users] deboucing inputs Just in case you missed this in the manual. http://www.linuxcnc.org/docview/html//hal_basic_hal.html John On 18 May 2009 at 22:08, Len Shelton wrote: > Thanks, Jeff. It was 'addf', or my lack of it. I should have known I > needed > to, but the docs wasn't really clear about it. > > Debounce solved my issue, and I am really close to putting together > a video > of my tandem axis setup on this machine. I got all of the remaining > home and > limit switches installed and configured this evening. > > Thanks, > > >Len > > > > -----Original Message----- > From: Jeff Epler [mailto:jep...@unpythonic.net] > Sent: Monday, May 18, 2009 8:38 PM > To: Enhanced Machine Controller (EMC) > Subject: Re: [Emc-users] deboucing inputs > > most likely cause: failure to 'addf' the function exported by > debounce. > > here's a standalone hal file that demonstrates debounce (run it > with > 'halcmd -I debouncedemo.hal' and use halscope to view the signals) > > http://emergent.unpy.net/index.cgi-files/sandbox/debouncedemo.hal > and a screenshot of halscope: > http://emergent.unpy.net/index.cgi-files/sandbox/debounced.png > > In this demo, the input is a half sine wave, and debounce triggers > shortly after the waveform goes over 50% duty cycle (because the > counter > now counts up more often than down) and goes off again shortly aver > the > input waveform goes back below 50% duty cycle (because the counter > now > counts down more often than up). This is very unlike the > situation > encountered with a noisy switch, but is the best I could come up > with on > short notice. > > Jeff > > -------------------------------------------------------------------- > -------- > -- > Crystal Reports - New Free Runtime and 30 Day Trial > Check out the new simplified licensing option that enables > unlimited royalty-free distribution of the report engine > for externally facing server and web deployment. > http://p.sf.net/sfu/businessobjects > _______________________________________________ > Emc-users mailing list > Emc-users@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/emc-users > > > -------------------------------------------------------------------- > ---------- > Crystal Reports - New Free Runtime and 30 Day Trial > Check out the new simplified licensing option that enables > unlimited royalty-free distribution of the report engine > for externally facing server and web deployment. > http://p.sf.net/sfu/businessobjects > _______________________________________________ > Emc-users mailing list > Emc-users@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/emc-users ---------------------------------------------------------------------------- -- Crystal Reports - New Free Runtime and 30 Day Trial Check out the new simplified licensing option that enables unlimited royalty-free distribution of the report engine for externally facing server and web deployment. http://p.sf.net/sfu/businessobjects _______________________________________________ Emc-users mailing list Emc-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/emc-users ------------------------------------------------------------------------------ Crystal Reports - New Free Runtime and 30 Day Trial Check out the new simplified licensing option that enables unlimited royalty-free distribution of the report engine for externally facing server and web deployment. http://p.sf.net/sfu/businessobjects _______________________________________________ Emc-users mailing list Emc-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/emc-users