[LinuxCNC/linuxcnc Issue#378] limit3 constraint violation

未分类 bolang 5个月前 (10-15) 20次浏览

Issue #378 | 状态: 已关闭 | 作者: SebKuzminsky | 创建时间: 2017-12-11

标签: bug affects 2.7


We’ve discovered two glitches in @zultron’s new limit3 component. A new test added in 3eb0a7a1b247aa34bb80549c7b045b56ba1007c6 reproduces both.

The first glitch is when limit3’s input abruptly begins to track its output. This bug was fixed in a0fb2781268ac1c5eec049bf7ea6b4fa2ebf84c3.

The second glitch is an accel constraint violation that seems related to hunting for a constant-velocity input.
!limit3-accel-violation


评论 (5)

#1 – zultron 于 2017-12-11

Refs to #351, #240. Thanks, @SebKuzminsky. I’ll take a look.

One of these may have been fixed over the weekend by @dngarrett and @samcoinc (and maybe others).

Update: Sorry, the weekend fix appears in a0fb278, noted in the description.


#2 – zultron 于 2017-12-12

I have a fix for this, and will clean up and submit PR by tomorrow.

The fix is trivial; just a case of being sloppy with values persisting between calls.


#3 – zultron 于 2017-12-14

I’ve gone off in the weeds a bit on this one, but I’ll submit a PR by tomorrow for real. :P

In addition to the present fix, I also fixed the math a bit, and the overshoot problem is greatly reduced.


#4 – zultron 于 2018-01-12

So much for submitting a PR “by tomorrow for real”, 29 days later. My apologies.

PR #396 should fix these issues.


#5 – samcoinc 于 2018-01-12

Can’t rush into these things. :) The violation is certainly gone – initial testing looks awesome!.


原始Issue: https://github.com/LinuxCNC/linuxcnc/issues/378

喜欢 (0)