I'm using an x-box gamepad to jog three-axis and it is 100% in user space. There is zero noticeable "lag" or delay.
If there is a lag then it's a bug and not just the way it is. Even on a non-real-time system if something like a web server or a spreadsheet took 2 seconds I'd say it was broken. There is something wrong. Debugging it will require a bit of data collection. On Thu, Jul 30, 2020 at 1:51 PM Gene Heskett <[email protected]> wrote: > On Thursday 30 July 2020 16:12:09 andy pugh wrote: > > > On Thu, 30 Jul 2020 at 19:49, Thaddeus Waldner <[email protected]> > wrote: > > > I’m having an issue with jog lag when using a matrix keypad. > > > Keys are connected via a 7i73 board. I have each Jog key mapped to > > > halui.axis pins. Eg. X- is mapped to halui.axis.x.minus Is this the > > > correct way to connect jog keys? > > > > It's one way, that should work. > > > > Halui is a userspace component, so has the possibility of lagging, but > > I am concerned that this might be an issue with the matrix-kb > > component. > > > > Halscope should be able to determine if the jog pin and the jog move > > operate at the same time. If they do then that might indicate that > > there is a problem further upstream. > > > > I use a 7i73 + jogwheels and see no lag, but jogwheels are realtime > > end-to-end. > > Not sure how it would work with servo's Andy, but despite my jog dials on > the sheldon having to navigate thru the encoders to get back to motion's > jog inputs, they are as realtime as you can get when 90% of that signal > path is in a 200HZ thread, and I don't get anywhere near halui with any > of that. Its real slow. I am using it to stop and by way of halui, > unhome if a driver faults, and the halui action might be up to 2 seconds > after the machine stops before the home star dissapears. > > Just saying... > > Cheers, Gene Heskett > -- > "There are four boxes to be used in defense of liberty: > soap, ballot, jury, and ammo. Please use in that order." > -Ed Howdershelt (Author) > If we desire respect for the law, we must first make the law respectable. > - Louis D. Brandeis > Genes Web page <http://geneslinuxbox.net:6309/gene> > > > _______________________________________________ > Emc-users mailing list > [email protected] > https://lists.sourceforge.net/lists/listinfo/emc-users > -- Chris Albertson Redondo Beach, California _______________________________________________ Emc-users mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/emc-users
