Re: [Emc-users] Jerky jog in new 2.8 and 2.9 but not old 2.8 (onscreen buttons + mouse OK but not keyboard)

2020-07-09 Thread N
> On Thu, 9 Jul 2020 at 09:58, N  wrote:
> 
> > It's in e09ae64fb0a76355b4f559e28c91a29fb25af8ce but did not see it in old 
> > 2.8 version bef8d9d525b9d483a4cf97a1040289d1aaddc74f
> 
> That's a big gap:
> https://github.com/LinuxCNC/linuxcnc/compare/bef8d9d525b9d483a4cf97a1040289d1aaddc74f...e09ae64fb0a76355b4f559e28c91a29fb25af8ce
> over 2000 commits.
> 
> Git bisect would find the commit that introduced this in 11 steps:

Only problem is then looking closer it was also in old version but I missed it 
before. Only small spike because I happened to have lower acceleration.

Will not bother about it anymore and maybe "xset -r" is the only method to get 
rid of auto repeat.


___
Emc-users mailing list
Emc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-users


Re: [Emc-users] Jerky jog in new 2.8 and 2.9 but not old 2.8 (onscreen buttons + mouse OK but not keyboard)

2020-07-09 Thread andy pugh
On Thu, 9 Jul 2020 at 09:58, N  wrote:

> It's in e09ae64fb0a76355b4f559e28c91a29fb25af8ce but did not see it in old 
> 2.8 version bef8d9d525b9d483a4cf97a1040289d1aaddc74f

That's a big gap:
https://github.com/LinuxCNC/linuxcnc/compare/bef8d9d525b9d483a4cf97a1040289d1aaddc74f...e09ae64fb0a76355b4f559e28c91a29fb25af8ce
over 2000 commits.

Git bisect would find the commit that introduced this in 11 steps:

andypugh@rm-one:~/linuxcnc-dev$ git bisect start
andypugh@rm-one:~/linuxcnc-dev$ git bisect bad
e09ae64fb0a76355b4f559e28c91a29fb25af8ce
andypugh@rm-one:~/linuxcnc-dev$ git bisect good
bef8d9d525b9d483a4cf97a1040289d1aaddc74f
Bisecting: 2149 revisions left to test after this (roughly 11 steps)

-- 
atp
"A motorcycle is a bicycle with a pandemonium attachment and is
designed for the especial use of mechanical geniuses, daredevils and
lunatics."
— George Fitch, Atlanta Constitution Newspaper, 1912


___
Emc-users mailing list
Emc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-users


Re: [Emc-users] Jerky jog in new 2.8 and 2.9 but not old 2.8 (onscreen buttons + mouse OK but not keyboard), wrong about old version

2020-07-09 Thread N
> On Tue, 7 Jul 2020 at 22:14, N  wrote:
> 
> > I do not consider it a big problem and will probably connect other jogging 
> > method once machine is up and running but as it worked in old version it 
> > would of course be good to get it perfect again.
> 
> https://github.com/LinuxCNC/linuxcnc/commit/29f52a6e2be42f7785e965a7002eaecf33f0b7aa#diff-5368256524ea7313310fa9c396bbbcf2
> 
> Might have made a problem with a bouncy keyboard more obvious?
> 
> Try reverting to e09ae64fb0a76355b4f559e28c91a29fb25af8ce and seeing
> if the behaviour changes.
> 
> Is sounds like an easy problem to find, so a git bisect will probably
> work well (if i am allowed to mention git on the Users list)

It seems I was wrong about old version, acceleration was so slow I never heard 
it but then checking with halscope there is a small spike downwards. Maybe 
there is no method to distinguish between auto repeat and key up except using 
"xset -r" that turn off auto repeat globally?

Will probably leave this problem as is and not think about it more. For real 
machine I will probably connect something else anyway and there is the 
possibility to turn off with "xset -r" if needed


Nicklas Karlsson


___
Emc-users mailing list
Emc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-users


Re: [Emc-users] Jerky jog in new 2.8 and 2.9 but not old 2.8 (onscreen buttons + mouse OK but not keyboard)

2020-07-09 Thread N
> On Tue, 7 Jul 2020 at 22:14, N  wrote:
> 
> > I do not consider it a big problem and will probably connect other jogging 
> > method once machine is up and running but as it worked in old version it 
> > would of course be good to get it perfect again.
> 
> https://github.com/LinuxCNC/linuxcnc/commit/29f52a6e2be42f7785e965a7002eaecf33f0b7aa#diff-5368256524ea7313310fa9c396bbbcf2
> 
> Might have made a problem with a bouncy keyboard more obvious?
> 
> Try reverting to e09ae64fb0a76355b4f559e28c91a29fb25af8ce and seeing
> if the behaviour changes.

It's in e09ae64fb0a76355b4f559e28c91a29fb25af8ce but did not see it in old 2.8 
version bef8d9d525b9d483a4cf97a1040289d1aaddc74f


___
Emc-users mailing list
Emc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-users


Re: [Emc-users] Jerky jog in new 2.8 and 2.9 but not old 2.8 (onscreen buttons + mouse OK but not keyboard), also in sim

2020-07-08 Thread N
Using halscope I could see it is also in sim, change in speed is less but guess 
this is because of maximum acceleration allowed.

> On Tue, 7 Jul 2020 at 22:14, N  wrote:
> 
> > I do not consider it a big problem and will probably connect other jogging 
> > method once machine is up and running but as it worked in old version it 
> > would of course be good to get it perfect again.
> 
> https://github.com/LinuxCNC/linuxcnc/commit/29f52a6e2be42f7785e965a7002eaecf33f0b7aa#diff-5368256524ea7313310fa9c396bbbcf2
> 
> Might have made a problem with a bouncy keyboard more obvious?
> 
> Try reverting to e09ae64fb0a76355b4f559e28c91a29fb25af8ce and seeing
> if the behaviour changes.
> 
> Is sounds like an easy problem to find, so a git bisect will probably
> work well (if i am allowed to mention git on the Users list)
> 
> -- 
> atp
> "A motorcycle is a bicycle with a pandemonium attachment and is
> designed for the especial use of mechanical geniuses, daredevils and
> lunatics."
> — George Fitch, Atlanta Constitution Newspaper, 1912
> 
> 
> ___
> Emc-users mailing list
> Emc-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/emc-users


___
Emc-users mailing list
Emc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-users


Re: [Emc-users] Jerky jog in new 2.8 and 2.9 but not old 2.8 (onscreen buttons + mouse OK but not keyboard)

2020-07-08 Thread N
> On Tue, 7 Jul 2020 at 22:14, N  wrote:
> 
> > I do not consider it a big problem and will probably connect other jogging 
> > method once machine is up and running but as it worked in old version it 
> > would of course be good to get it perfect again.

> https://github.com/LinuxCNC/linuxcnc/commit/29f52a6e2be42f7785e965a7002eaecf33f0b7aa#diff-5368256524ea7313310fa9c396bbbcf2

No, removed the three lines added in the url above but no difference.

> Might have made a problem with a bouncy keyboard more obvious?
> 
> Try reverting to e09ae64fb0a76355b4f559e28c91a29fb25af8ce and seeing
> if the behaviour changes.

A little bit harder to try with e09ae64fb0a76355b4f559e28c91a29fb25af8ce but 
maybe tommorow, need som sleep now.

Know problem is newest 2.8 but not in some older before changing from axis to 
joints.

> Is sounds like an easy problem to find, so a git bisect will probably
> work well (if i am allowed to mention git on the Users list)

Not sure if marking with bisect will help very much, if searching interval 
halving may be a good algorithm.


___
Emc-users mailing list
Emc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-users


Re: [Emc-users] Jerky jog in new 2.8 and 2.9 but not old 2.8 (onscreen buttons + mouse OK but not keyboard)

2020-07-08 Thread Gene Heskett
On Tuesday 07 July 2020 19:45:42 Gene Heskett wrote:

> On Tuesday 07 July 2020 19:23:28 Phill Carter wrote:
> > This post on the forum seemed to solve a similar issue.
> >
> >  >xc nc-2-9-jogging-velocity-fluctuations?start=10#165711>
>
> That also makes perfect sense.  The stutter then is a false key-up
> before the next keydown. Somebody writing kbd software thought he was
> doing it right by making sure they stayed balanced. A pile of
> key-downs in the buffer would be guarded against just just because it
> seemed like the right thing to do.
>
I finally heard my rpi4 do that. I didn't hear it at the former top 
speeds I could get with the analog motor supplies, but in fitting the 
much smaller motor to the Z, I was forced to switch both supplies out 
for 48 volt 7.5 amp switchers because the analog supplies were more z 
volts than I needed, and the x supply took up any room for the much 
longer switchers. Both supplies turned down as low as the would go, 
about 42.5 volts. I had x limited to 30 ipm as it stalled if asked for 
faster, but on the switching supply its still running well at 48 ipm and 
about double the accels. I had the old z limited to about 57ipm else the 
huge motor stalled, but with the new motor and driver, its now moving at 
75 ipm.  Stuff laying on the bed so I had about 8" of play room, and I 
hear it sneeze once in about 3 runs over that 8", either direction.

So I've finally observed the glitch.  But I've no clue how fast I can 
tickle this new drive, so its still doing the DM860 pulse timings which 
are a bit glacial. A full microsecond for leading and trailing hold time 
on a direction change, and 4500 ns for step strobing.  Wired active low 
of course.

If anyone has a better src for those pulse timings, which are not in the 
2 page driver pdf for this 3 phase driver, I'm all ears.  Its an 
LCDA357H, and it comes no closer than 200khz for max steps. I've driven 
it faster than that with a function generator.

> But it still boils down to flaky hdwe. And its surprising to me that
> he found a way to control it on an individual key basis.  A play by
> play of how to do it would have been nice though.

Thanks all,

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 


___
Emc-users mailing list
Emc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-users


Re: [Emc-users] Jerky jog in new 2.8 and 2.9 but not old 2.8 (onscreen buttons + mouse OK but not keyboard)

2020-07-08 Thread N
"xset -r" and jogging is smooth. Auto repeat must be the problem, false key up.

Andy pugh suggested reverting to e09ae64fb0a76355b4f559e28c91a29fb25af8ce and 
this 
https://github.com/LinuxCNC/linuxcnc/commit/29f52a6e2be42f7785e965a7002eaecf33f0b7aa#diff-5368256524ea7313310fa9c396bbbcf2
 but need some more time for this, maybe tonight.


> This post on the forum seemed to solve a similar issue.
> 
> 
> 
> > On 8 Jul 2020, at 8:21 am, Gene Heskett  wrote:
> > 
> > On Tuesday 07 July 2020 17:25:21 andy pugh wrote:
> > 
> >> On Tue, 7 Jul 2020 at 22:14, N  wrote:
> >>> I do not consider it a big problem and will probably connect other
> >>> jogging method once machine is up and running but as it worked in
> >>> old version it would of course be good to get it perfect again.
> >> 
> >> https://github.com/LinuxCNC/linuxcnc/commit/29f52a6e2be42f7785e965a700
> >> 2eaecf33f0b7aa#diff-5368256524ea7313310fa9c396bbbcf2
> >> 
> >> Might have made a problem with a bouncy keyboard more obvious?
> >> 
> >> Try reverting to e09ae64fb0a76355b4f559e28c91a29fb25af8ce and seeing
> >> if the behaviour changes.
> >> 
> >> Is sounds like an easy problem to find, so a git bisect will probably
> >> work well (if i am allowed to mention git on the Users list)
> > 
> > I'm moderately convinced the OP has flaky hdwe. I have only observed this 
> > back when I was driving the sheldon with a pi3, and blamed the 
> > occasional stutter on a traffic jam in the internal usb-2 hub since all 
> > of that on the pi3 goes thru one internal hub.  Running the exact same 
> > kernel on a pi4, I have not observed a stutter, ever.  On the pi3 it was 
> > keyboard arrow keys only, mdi moves, or running program code, zero 
> > stutters as that spi path doesn't go thru the usb.  With the pi4, and 
> > its usb-3, its gone.
> > 
> > I've not noted it on either of the D-525-MW mobo's, nor on an elderly 
> > Dell that runs the GO704, but I believe all 3 of those have more than 
> > one internal usb-2 hub.
> > 
> > A good look at dmesg after a reboot would allow the number of hubs to be 
> > discovered, and might be educational. I use (mostly logitek) wireless 
> > keyboards and mice on everything.  And I'm surprised I don't have 
> > problems with the Dell, as my portable house phones will not work 
> > understandably within 10 feet of that Dell, its one old noisy piece of 
> > junk, but it runs the mill just fine.
> > 
> > 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  > >
> > 
> > 
> > ___
> > Emc-users mailing list
> > Emc-users@lists.sourceforge.net 
> > https://lists.sourceforge.net/lists/listinfo/emc-users 
> > 
> 
> ___
> Emc-users mailing list
> Emc-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/emc-users


___
Emc-users mailing list
Emc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-users


Re: [Emc-users] Jerky jog in new 2.8 and 2.9 but not old 2.8 (onscreen buttons + mouse OK but not keyboard)

2020-07-07 Thread Gene Heskett
On Tuesday 07 July 2020 19:23:28 Phill Carter wrote:

> This post on the forum seemed to solve a similar issue.
>
> nc-2-9-jogging-velocity-fluctuations?start=10#165711>
>
That also makes perfect sense.  The stutter then is a false key-up before 
the next keydown. Somebody writing kbd software thought he was doing it 
right by making sure they stayed balanced. A pile of key-downs in the 
buffer would be guarded against just just because it seemed like the 
right thing to do.

But it still boils down to flaky hdwe. And its surprising to me that he 
found a way to control it on an individual key basis.  A play by play of 
how to do it would have been nice though.

> > On 8 Jul 2020, at 8:21 am, Gene Heskett 
> > wrote:
> >
> > On Tuesday 07 July 2020 17:25:21 andy pugh wrote:
> >> On Tue, 7 Jul 2020 at 22:14, N  wrote:
> >>> I do not consider it a big problem and will probably connect other
> >>> jogging method once machine is up and running but as it worked in
> >>> old version it would of course be good to get it perfect again.
> >>
> >> https://github.com/LinuxCNC/linuxcnc/commit/29f52a6e2be42f7785e965a
> >>700 2eaecf33f0b7aa#diff-5368256524ea7313310fa9c396bbbcf2
> >>
> >> Might have made a problem with a bouncy keyboard more obvious?
> >>
> >> Try reverting to e09ae64fb0a76355b4f559e28c91a29fb25af8ce and
> >> seeing if the behaviour changes.
> >>
> >> Is sounds like an easy problem to find, so a git bisect will
> >> probably work well (if i am allowed to mention git on the Users
> >> list)
> >
> > I'm moderately convinced the OP has flaky hdwe. I have only observed
> > this back when I was driving the sheldon with a pi3, and blamed the
> > occasional stutter on a traffic jam in the internal usb-2 hub since
> > all of that on the pi3 goes thru one internal hub.  Running the
> > exact same kernel on a pi4, I have not observed a stutter, ever.  On
> > the pi3 it was keyboard arrow keys only, mdi moves, or running
> > program code, zero stutters as that spi path doesn't go thru the
> > usb.  With the pi4, and its usb-3, its gone.
> >
> > I've not noted it on either of the D-525-MW mobo's, nor on an
> > elderly Dell that runs the GO704, but I believe all 3 of those have
> > more than one internal usb-2 hub.
> >
> > A good look at dmesg after a reboot would allow the number of hubs
> > to be discovered, and might be educational. I use (mostly logitek)
> > wireless keyboards and mice on everything.  And I'm surprised I
> > don't have problems with the Dell, as my portable house phones will
> > not work understandably within 10 feet of that Dell, its one old
> > noisy piece of junk, but it runs the mill just fine.
> >
> > 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  > >
> >
> >
> > ___
> > Emc-users mailing list
> > Emc-users@lists.sourceforge.net
> > 
> > https://lists.sourceforge.net/lists/listinfo/emc-users
> > 
>
> ___
> Emc-users mailing list
> Emc-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/emc-users


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 


___
Emc-users mailing list
Emc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-users


Re: [Emc-users] Jerky jog in new 2.8 and 2.9 but not old 2.8 (onscreen buttons + mouse OK but not keyboard)

2020-07-07 Thread Phill Carter
This post on the forum seemed to solve a similar issue.



> On 8 Jul 2020, at 8:21 am, Gene Heskett  wrote:
> 
> On Tuesday 07 July 2020 17:25:21 andy pugh wrote:
> 
>> On Tue, 7 Jul 2020 at 22:14, N  wrote:
>>> I do not consider it a big problem and will probably connect other
>>> jogging method once machine is up and running but as it worked in
>>> old version it would of course be good to get it perfect again.
>> 
>> https://github.com/LinuxCNC/linuxcnc/commit/29f52a6e2be42f7785e965a700
>> 2eaecf33f0b7aa#diff-5368256524ea7313310fa9c396bbbcf2
>> 
>> Might have made a problem with a bouncy keyboard more obvious?
>> 
>> Try reverting to e09ae64fb0a76355b4f559e28c91a29fb25af8ce and seeing
>> if the behaviour changes.
>> 
>> Is sounds like an easy problem to find, so a git bisect will probably
>> work well (if i am allowed to mention git on the Users list)
> 
> I'm moderately convinced the OP has flaky hdwe. I have only observed this 
> back when I was driving the sheldon with a pi3, and blamed the 
> occasional stutter on a traffic jam in the internal usb-2 hub since all 
> of that on the pi3 goes thru one internal hub.  Running the exact same 
> kernel on a pi4, I have not observed a stutter, ever.  On the pi3 it was 
> keyboard arrow keys only, mdi moves, or running program code, zero 
> stutters as that spi path doesn't go thru the usb.  With the pi4, and 
> its usb-3, its gone.
> 
> I've not noted it on either of the D-525-MW mobo's, nor on an elderly 
> Dell that runs the GO704, but I believe all 3 of those have more than 
> one internal usb-2 hub.
> 
> A good look at dmesg after a reboot would allow the number of hubs to be 
> discovered, and might be educational. I use (mostly logitek) wireless 
> keyboards and mice on everything.  And I'm surprised I don't have 
> problems with the Dell, as my portable house phones will not work 
> understandably within 10 feet of that Dell, its one old noisy piece of 
> junk, but it runs the mill just fine.
> 
> 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  >
> 
> 
> ___
> Emc-users mailing list
> Emc-users@lists.sourceforge.net 
> https://lists.sourceforge.net/lists/listinfo/emc-users 
> 

___
Emc-users mailing list
Emc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-users


Re: [Emc-users] Jerky jog in new 2.8 and 2.9 but not old 2.8 (onscreen buttons + mouse OK but not keyboard)

2020-07-07 Thread Gene Heskett
On Tuesday 07 July 2020 17:25:21 andy pugh wrote:

> On Tue, 7 Jul 2020 at 22:14, N  wrote:
> > I do not consider it a big problem and will probably connect other
> > jogging method once machine is up and running but as it worked in
> > old version it would of course be good to get it perfect again.
>
> https://github.com/LinuxCNC/linuxcnc/commit/29f52a6e2be42f7785e965a700
>2eaecf33f0b7aa#diff-5368256524ea7313310fa9c396bbbcf2
>
> Might have made a problem with a bouncy keyboard more obvious?
>
> Try reverting to e09ae64fb0a76355b4f559e28c91a29fb25af8ce and seeing
> if the behaviour changes.
>
> Is sounds like an easy problem to find, so a git bisect will probably
> work well (if i am allowed to mention git on the Users list)

I'm moderately convinced the OP has flaky hdwe. I have only observed this 
back when I was driving the sheldon with a pi3, and blamed the 
occasional stutter on a traffic jam in the internal usb-2 hub since all 
of that on the pi3 goes thru one internal hub.  Running the exact same 
kernel on a pi4, I have not observed a stutter, ever.  On the pi3 it was 
keyboard arrow keys only, mdi moves, or running program code, zero 
stutters as that spi path doesn't go thru the usb.  With the pi4, and 
its usb-3, its gone.

I've not noted it on either of the D-525-MW mobo's, nor on an elderly 
Dell that runs the GO704, but I believe all 3 of those have more than 
one internal usb-2 hub.

A good look at dmesg after a reboot would allow the number of hubs to be 
discovered, and might be educational. I use (mostly logitek) wireless 
keyboards and mice on everything.  And I'm surprised I don't have 
problems with the Dell, as my portable house phones will not work 
understandably within 10 feet of that Dell, its one old noisy piece of 
junk, but it runs the mill just fine.

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 


___
Emc-users mailing list
Emc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-users


Re: [Emc-users] Jerky jog in new 2.8 and 2.9 but not old 2.8 (onscreen buttons + mouse OK but not keyboard)

2020-07-07 Thread andy pugh
On Tue, 7 Jul 2020 at 22:14, N  wrote:

> I do not consider it a big problem and will probably connect other jogging 
> method once machine is up and running but as it worked in old version it 
> would of course be good to get it perfect again.

https://github.com/LinuxCNC/linuxcnc/commit/29f52a6e2be42f7785e965a7002eaecf33f0b7aa#diff-5368256524ea7313310fa9c396bbbcf2

Might have made a problem with a bouncy keyboard more obvious?

Try reverting to e09ae64fb0a76355b4f559e28c91a29fb25af8ce and seeing
if the behaviour changes.

Is sounds like an easy problem to find, so a git bisect will probably
work well (if i am allowed to mention git on the Users list)

-- 
atp
"A motorcycle is a bicycle with a pandemonium attachment and is
designed for the especial use of mechanical geniuses, daredevils and
lunatics."
— George Fitch, Atlanta Constitution Newspaper, 1912


___
Emc-users mailing list
Emc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-users


Re: [Emc-users] Jerky jog in new 2.8 and 2.9 but not old 2.8 (onscreen buttons + mouse OK but not keyboard)

2020-07-07 Thread N
> On 07/06/2020 07:05 PM, Leonardo Marsaglia wrote:
> > One thing I find my wireless keyboard does sometimes is that a key can get
> > "sticky wirelessly". Mostly when I'm typing I sometimes get a ""
> > until It suddenly stops. I'm mostly using the keyboard for signing in and
> > modify the tool table etc, but since I'm using axis I sometimes think it
> > would be a good idea to deactivate the keyboard from axis to avoid
> > uncontrolled motion.
> >
> >
> PC keyboards have key-up and key-down messages.  if a key-up 
> message is lost by the wireless link, that will do what you 
> have seen.  in a high-electrical-noise environment like a 
> CNC machine, wireless keyboards and mice could be a problem.

A lost key up event would certainly be a problem.

Problem could be seen in halscope even if motor is powered so no extra 
electrical noise, turned up error to avoid following error. Tried a wired 
keyboard and still the same problem. Then using on real machine it however 
seemed to move rather smoothly, this might be because dynamic response is 
slower.

Tried and did not spot the problem in older version with either of the 
keyboards but found it with both keyboards in newer version. Mouse is OK so I 
suspect auto repeat.


I do not consider it a big problem and will probably connect other jogging 
method once machine is up and running but as it worked in old version it would 
of course be good to get it perfect again.


Nicklas Karlsson


___
Emc-users mailing list
Emc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-users


Re: [Emc-users] Jerky jog in new 2.8 and 2.9 but not old 2.8 (onscreen buttons + mouse OK but not keyboard)

2020-07-07 Thread Jon Elson

On 07/06/2020 07:05 PM, Leonardo Marsaglia wrote:

One thing I find my wireless keyboard does sometimes is that a key can get
"sticky wirelessly". Mostly when I'm typing I sometimes get a ""
until It suddenly stops. I'm mostly using the keyboard for signing in and
modify the tool table etc, but since I'm using axis I sometimes think it
would be a good idea to deactivate the keyboard from axis to avoid
uncontrolled motion.


PC keyboards have key-up and key-down messages.  if a key-up 
message is lost by the wireless link, that will do what you 
have seen.  in a high-electrical-noise environment like a 
CNC machine, wireless keyboards and mice could be a problem.


Jon


___
Emc-users mailing list
Emc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-users


Re: [Emc-users] Jerky jog in new 2.8 and 2.9 but not old 2.8 (onscreen buttons + mouse OK but not keyboard)

2020-07-07 Thread N
> One thing I find my wireless keyboard does sometimes is that a key can get
> "sticky wirelessly". Mostly when I'm typing I sometimes get a ""
> until It suddenly stops. I'm mostly using the keyboard for signing in and
> modify the tool table etc, but since I'm using axis I sometimes think it
> would be a good idea to deactivate the keyboard from axis to avoid
> uncontrolled motion.

Ordinary keyboard with cable is the same, older version jogged smoothly and 
mouse still do so I suspect auto repeat.

> I don't know if this is an easy task or if it requires recompiling or
> something.

Compiling is rather simple if/then problem have been found. Will try spot the 
problem using a diff on code.


___
Emc-users mailing list
Emc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-users


Re: [Emc-users] Jerky jog in new 2.8 and 2.9 but not old 2.8 (onscreen buttons + mouse OK but not keyboard)

2020-07-06 Thread Leonardo Marsaglia
One thing I find my wireless keyboard does sometimes is that a key can get
"sticky wirelessly". Mostly when I'm typing I sometimes get a ""
until It suddenly stops. I'm mostly using the keyboard for signing in and
modify the tool table etc, but since I'm using axis I sometimes think it
would be a good idea to deactivate the keyboard from axis to avoid
uncontrolled motion.

I don't know if this is an easy task or if it requires recompiling or
something.

Thanks you.

Leonardo Marsaglia

El lun., 6 jul. 2020 11:31, N  escribió:

> > On 7/6/20 8:21 AM, N wrote:
> > > On Mon, 6 Jul 2020 08:08:44 -0500
> > > Ed  wrote:
> > >
> > >
> > > Nailed it. Jogged for a minute or so without a sign of problem using
> the mouse and onscreen buttons withot a sign of problem.
> > >
> > > First thing I think about is auto repeat.
> > >
> > That is what I found with the cheap keyboards.
>
> But it does not seem to be in older version and sim. Also found something
> about it inf gmocappy.py and therefore expect some similar difference
> somewhere else, searched a little bit but did not find yet, should try a
> diff between versions.
>
>
> ___
> Emc-users mailing list
> Emc-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/emc-users
>

___
Emc-users mailing list
Emc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-users


Re: [Emc-users] Jerky jog in new 2.8 and 2.9 but not old 2.8 (onscreen buttons + mouse OK but not keyboard)

2020-07-06 Thread N
> On 7/6/20 8:21 AM, N wrote:
> > On Mon, 6 Jul 2020 08:08:44 -0500
> > Ed  wrote:
> >
> >
> > Nailed it. Jogged for a minute or so without a sign of problem using the 
> > mouse and onscreen buttons withot a sign of problem.
> >
> > First thing I think about is auto repeat.
> >
> That is what I found with the cheap keyboards.

But it does not seem to be in older version and sim. Also found something about 
it inf gmocappy.py and therefore expect some similar difference somewhere else, 
searched a little bit but did not find yet, should try a diff between versions.


___
Emc-users mailing list
Emc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-users


Re: [Emc-users] Jerky jog in new 2.8 and 2.9 but not old 2.8 (onscreen buttons + mouse OK but not keyboard)

2020-07-06 Thread Ed

On 7/6/20 8:21 AM, N wrote:

On Mon, 6 Jul 2020 08:08:44 -0500
Ed  wrote:


Nailed it. Jogged for a minute or so without a sign of problem using the mouse 
and onscreen buttons withot a sign of problem.

First thing I think about is auto repeat.


That is what I found with the cheap keyboards.


Ed.




___
Emc-users mailing list
Emc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-users


Re: [Emc-users] Jerky jog in new 2.8 and 2.9 but not old 2.8 (onscreen buttons + mouse OK but not keyboard)

2020-07-06 Thread N
On Mon, 6 Jul 2020 08:08:44 -0500
Ed  wrote:

> On 7/6/20 7:48 AM, N wrote:
> >> On Mon, 6 Jul 2020 at 11:26, N  wrote:
> >>
> >>
> > First try rejected because of size but cropped this one. Attached is 
> > pictures of joint.0.vel-cmd which is the first signal I am looking at, not 
> > sure what to look at more right now.
> >
> > It is a wireless keyboard but see no problem in older version or sim or g0 
> > move.
> 
> Have you tried jogging using the mouse and the onscreen buttons?

Nailed it. Jogged for a minute or so without a sign of problem using the mouse 
and onscreen buttons withot a sign of problem.

First thing I think about is auto repeat.


___
Emc-users mailing list
Emc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-users


Re: [Emc-users] Jerky jog in new 2.8 and 2.9 but not old 2.8

2020-07-06 Thread Ed

On 7/6/20 7:48 AM, N wrote:

On Mon, 6 Jul 2020 at 11:26, N  wrote:



First try rejected because of size but cropped this one. Attached is pictures 
of joint.0.vel-cmd which is the first signal I am looking at, not sure what to 
look at more right now.

It is a wireless keyboard but see no problem in older version or sim or g0 move.


Have you tried jogging using the mouse and the onscreen buttons?


Ed.




___
Emc-users mailing list
Emc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-users


Re: [Emc-users] Jerky jog in new 2.8 and 2.9 but not old 2.8

2020-07-06 Thread N
> On Mon, 6 Jul 2020 at 11:26, N  wrote:
> 
> > > Exactly which HAL pins are you looking at.
> >
> > I am looking at the "vel" field on the axis display
> 
> Ah, right. I think that is commanded. So then the question is whether
> the keyboard is sending key-up events.
> 
> I repeat that a Halscope plot of the relevant HAL pins would be useful.

First try rejected because of size but cropped this one. Attached is pictures 
of joint.0.vel-cmd which is the first signal I am looking at, not sure what to 
look at more right now.

It is a wireless keyboard but see no problem in older version or sim or g0 move.
___
Emc-users mailing list
Emc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-users


Re: [Emc-users] Jerky jog in new 2.8 and 2.9 but not old 2.8

2020-07-06 Thread Leonardo Marsaglia
Now that I read this, I feel the need to tell that I experienced this
behaviour from time to time in 2.8 but with the manual jog lever (wich is
connected thru a 7i73) not the keyboard. It felt mostly like a switch not
making good contact but I'll check this with halscope later when I'm at the
shop. I didn't give it too much importance because jogging with the
keyboard seems to work perfectly.



Leonardo Marsaglia

El lun., 6 jul. 2020 07:47, andy pugh  escribió:

> On Mon, 6 Jul 2020 at 11:26, N  wrote:
>
> > > Exactly which HAL pins are you looking at.
> >
> > I am looking at the "vel" field on the axis display
>
> Ah, right. I think that is commanded. So then the question is whether
> the keyboard is sending key-up events.
>
> I repeat that a Halscope plot of the relevant HAL pins would be useful.
>
> Does it stutter if you do long incremental jogs?
>
> Is it a wired or wireless keyboard?
>
> --
> atp
> "A motorcycle is a bicycle with a pandemonium attachment and is
> designed for the especial use of mechanical geniuses, daredevils and
> lunatics."
> — George Fitch, Atlanta Constitution Newspaper, 1912
>
>
> ___
> Emc-users mailing list
> Emc-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/emc-users
>

___
Emc-users mailing list
Emc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-users


Re: [Emc-users] Jerky jog in new 2.8 and 2.9 but not old 2.8

2020-07-06 Thread andy pugh
On Mon, 6 Jul 2020 at 11:26, N  wrote:

> > Exactly which HAL pins are you looking at.
>
> I am looking at the "vel" field on the axis display

Ah, right. I think that is commanded. So then the question is whether
the keyboard is sending key-up events.

I repeat that a Halscope plot of the relevant HAL pins would be useful.

Does it stutter if you do long incremental jogs?

Is it a wired or wireless keyboard?

-- 
atp
"A motorcycle is a bicycle with a pandemonium attachment and is
designed for the especial use of mechanical geniuses, daredevils and
lunatics."
— George Fitch, Atlanta Constitution Newspaper, 1912


___
Emc-users mailing list
Emc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-users


Re: [Emc-users] Jerky jog in new 2.8 and 2.9 but not old 2.8

2020-07-06 Thread N
> On Mon, 6 Jul 2020 at 10:43, N  wrote:
> >
> > > On Mon, 6 Jul 2020 at 09:14, N  wrote:
> > > >
> > > > sometimes but not always visible in "vel" field
> > >
> > > _which_ "vel" ?
> >
> > Both low and high velocity but on low velocity jerk is much smaller.
> 
> (Losing patience)
> 
> Exactly which HAL pins are you looking at.

I am looking at the "vel" field on the axis display, maybe 10-20 seconds in 
between more often on motor speed. Could also hear and see it on motor speed, 
g0 and g1 movement are smooth.

As number are even without noise I expect "vel" field is not from feedback. 
Have no idea if there is any feedback for jog into jog except ordinary control 
loop.


___
Emc-users mailing list
Emc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-users


Re: [Emc-users] Jerky jog in new 2.8 and 2.9 but not old 2.8

2020-07-06 Thread andy pugh
On Mon, 6 Jul 2020 at 10:43, N  wrote:
>
> > On Mon, 6 Jul 2020 at 09:14, N  wrote:
> > >
> > > sometimes but not always visible in "vel" field
> >
> > _which_ "vel" ?
>
> Both low and high velocity but on low velocity jerk is much smaller.

(Losing patience)

Exactly which HAL pins are you looking at.


-- 
atp
"A motorcycle is a bicycle with a pandemonium attachment and is
designed for the especial use of mechanical geniuses, daredevils and
lunatics."
— George Fitch, Atlanta Constitution Newspaper, 1912


___
Emc-users mailing list
Emc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-users


Re: [Emc-users] Jerky jog in new 2.8 and 2.9 but not old 2.8

2020-07-06 Thread N
> On Mon, 6 Jul 2020 at 09:14, N  wrote:
> >
> > sometimes but not always visible in "vel" field
> 
> _which_ "vel" ?

Both low and high velocity but on low velocity jerk is much smaller.

It is only then running against hardware and have not seen it in sim. Old 
version of 2.8 is OK but not latest or 2.9


___
Emc-users mailing list
Emc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-users


Re: [Emc-users] Jerky jog in new 2.8 and 2.9 but not old 2.8

2020-07-06 Thread andy pugh
On Mon, 6 Jul 2020 at 09:14, N  wrote:
>
> sometimes but not always visible in "vel" field

_which_ "vel" ?


-- 
atp
"A motorcycle is a bicycle with a pandemonium attachment and is
designed for the especial use of mechanical geniuses, daredevils and
lunatics."
— George Fitch, Atlanta Constitution Newspaper, 1912


___
Emc-users mailing list
Emc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-users


Re: [Emc-users] Jerky jog in new 2.8 and 2.9 but not old 2.8

2020-07-06 Thread N
> > Keyboard. sim seems OK. Running against hardware and it sometimes show up 
> > in the "vel" field
> 
> Which particular pin?
> 
> it is probably worth running a Halscope on the position / vel commands.
> 
> Try unplugging the mouse.

Old version 2.8.0~pre1 is OK but do not know exact version since head have been 
detached. Newest version of 2.8 and 2.9 have jerky jog, or maybe more exact 
sometimes a small spike in movement sometimes but not always visible in "vel" 
field but expect this is because of update rate.

Hardware and drive is the same.

As somebody mentioned something about a change to incremental jog if I 
remember, happen to know which file? Or files?


Regards Nicklas Karlsson


___
Emc-users mailing list
Emc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-users