I'm thinking about changing how that constant works.  Right now, it
represents how much of the segment has to be "consumed" by a blend arc
before we enable smoothing. If it's set at 0.50, this means smooth any
lines that are shortened by more than 50%. Smoothing in this case means
limiting the velocity to not exceed the initial or final velocity, to
remove the rapid acceleration and deceleration.

As a debugging constant, it worked fine, but as an INI setting, it does
seem hard to use. If we're lucky, there may be an algorithmic way to do
this. Maybe if a segment isn't long enough to reach a "cruise" phase at the
requested velocity, or if the velocity "bump" is less than some amount.


On Tue, Jan 7, 2014 at 11:45 AM, sam sokolik <[email protected]> wrote:

> I have a question about
>
> Controls how aggressive velocity smoothing is. It's a bit counterintuitive,
> a value of 0.5 means no smoothing, a value of 0.0 means every segment is
> "smoothed". Decrease this value if the velocity profile seems to be too
> "bumpy".
>
> ARC_BLEND_SMOOTHING_THRESHOLD = 0.4
>
> I see in the email you had the threshold set to .75? (I am confused..)
>
> sam
>
>
> On 1/7/2014 2:19 AM, Robert Ellenberg wrote:
> > Ok, good news on the testing front, I think I've finally eliminated the
> > little acceleration overages by making TP_TIME_EPSILON smaller, from
> 10^-7
> > to 10^-10 or so. Properly initializing the ABC and UVW parts of the blend
> > arc seem to have eliminated the graphical glitches as well.
> >
> > With these last issues being fixed, I've moved development over to the
> > "beta" branch here:
> >
> >
> https://github.com/robEllenberg/linuxcnc-mirror/tree/circular-blend-arc-beta
> >
> > The "beta" status means that it's been tested on multiple builds and
> shows
> > no apparent constraint violations or crashes. My top priority for the
> near
> > future will be squashing any bugs on this branch, though if there's time
> I
> > might add some additional features.
> >
> >
> > On Tue, Jan 7, 2014 at 2:03 AM, phill carter <[email protected]
> >wrote:
> >
> >> I'm still a few steps away from surface mount yet.
> >> All the gcode I have has probing for variable z height, I'll rip the
> >> probing out of one and post it.
> >>
> >>   On Tue, 7 Jan 2014 01:48:47 -0500
> >> Robert Ellenberg <[email protected]> wrote:
> >>
> >>> On Tue, Jan 7, 2014 at 1:33 AM, phill carter <
> [email protected]
> >>> wrote:
> >>>
> >>>> I do a bit of repair work around the home, a few pcb's and lots of
> >>>> learning and trying things out.
> >>>> What got me interested in what you are doing is my original pcb
> etching
> >>>> was slooowww so I figured your changes would help.
> >>>
> >>> Sounds like fun! Do you do any surface mount stuff? I bought a set of
> PCB
> >>> mills / drills recently, though I haven't had much time to make any
> >> boards
> >>> yet.
> >>>
> >>>
> >>>> It turns out I had my acceleration way too low. The pcb gcode I am
> >> using
> >>>> is all very short line-line transitions.
> >>>>
> >>> Would you mind sharing an example of such a program that ran really
> slow?
> >>> The greater variety of test cases I can find, the easier it will be to
> >>> improve and troubleshoot. For a mill with a low top speed, increasing
> >>> acceleration seems to be a viable solution, but it's probably not ideal
> >>> since it means you're hitting your drive system harder. If you could
> get
> >>> the same performance with lower acceleration, it could help your
> machine
> >> in
> >>> the long term.
> >>>
> >>
> ------------------------------------------------------------------------------
> >>> Rapidly troubleshoot problems before they affect your business. Most IT
> >>> organizations don't have a clear picture of how application performance
> >>> affects their revenue. With AppDynamics, you get 100% visibility into
> >> your
> >>> Java,.NET, & PHP application. Start your 15-day FREE TRIAL of
> >> AppDynamics Pro!
> >>
> http://pubads.g.doubleclick.net/gampad/clk?id=84349831&iu=/4140/ostg.clktrk
> >>> _______________________________________________
> >>> Emc-developers mailing list
> >>> [email protected]
> >>> https://lists.sourceforge.net/lists/listinfo/emc-developers
> >>
> >>
> ------------------------------------------------------------------------------
> >> Rapidly troubleshoot problems before they affect your business. Most IT
> >> organizations don't have a clear picture of how application performance
> >> affects their revenue. With AppDynamics, you get 100% visibility into
> your
> >> Java,.NET, & PHP application. Start your 15-day FREE TRIAL of
> AppDynamics
> >> Pro!
> >>
> http://pubads.g.doubleclick.net/gampad/clk?id=84349831&iu=/4140/ostg.clktrk
> >> _______________________________________________
> >> Emc-developers mailing list
> >> [email protected]
> >> https://lists.sourceforge.net/lists/listinfo/emc-developers
> >>
> >
> ------------------------------------------------------------------------------
> > Rapidly troubleshoot problems before they affect your business. Most IT
> > organizations don't have a clear picture of how application performance
> > affects their revenue. With AppDynamics, you get 100% visibility into
> your
> > Java,.NET, & PHP application. Start your 15-day FREE TRIAL of
> AppDynamics Pro!
> >
> http://pubads.g.doubleclick.net/gampad/clk?id=84349831&iu=/4140/ostg.clktrk
> > _______________________________________________
> > Emc-developers mailing list
> > [email protected]
> > https://lists.sourceforge.net/lists/listinfo/emc-developers
> >
> >
>
>
>
> ------------------------------------------------------------------------------
> Rapidly troubleshoot problems before they affect your business. Most IT
> organizations don't have a clear picture of how application performance
> affects their revenue. With AppDynamics, you get 100% visibility into your
> Java,.NET, & PHP application. Start your 15-day FREE TRIAL of AppDynamics
> Pro!
> http://pubads.g.doubleclick.net/gampad/clk?id=84349831&iu=/4140/ostg.clktrk
> _______________________________________________
> Emc-developers mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/emc-developers
>
------------------------------------------------------------------------------
Rapidly troubleshoot problems before they affect your business. Most IT 
organizations don't have a clear picture of how application performance 
affects their revenue. With AppDynamics, you get 100% visibility into your 
Java,.NET, & PHP application. Start your 15-day FREE TRIAL of AppDynamics Pro!
http://pubads.g.doubleclick.net/gampad/clk?id=84349831&iu=/4140/ostg.clktrk
_______________________________________________
Emc-developers mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/emc-developers

Reply via email to