Good news, I think I've solved the drift issue. The Line-Arc case didn't correctly handle segments that were "consumed" (i.e. merged into the arc blend), so it ended up moving twice the distance needed for these very short segments. Now it properly removes the previous segment like the Line-Line case. I'll push an update shortly that fixes this issue and the fmin issue. I'm not sure I can fix the little overages quite so easily, since they are due to imperfect tangency between the blends and circular segments. I've made a bunch of little tweaks that have improved it slightly, but there's something in the geometry I'm not accounting for properly. The good news is, since the violations are coming from the tangents, then we can fix it by scaling back acceleration if need be.
-Rob On Tue, Feb 18, 2014 at 2:13 PM, Robert Ellenberg <[email protected]> wrote: > I got that too, recently. That means I used fmin somewhere outside of > tp.c. This makes me wish that rtapi_math had fmin and fmax, since I use it > so often anyway. > On Feb 18, 2014 2:11 PM, "sam sokolik" <[email protected]> wrote: > >> I just tried to do a realtime build.. I get these errors >> >> 1. >> /home/samco/linuxcnc-arc-case/src/emc/tp/tc.c: In function >> 'tcFindBlendTolerance': >> 2. >> /home/samco/linuxcnc-arc-case/src/emc/tp/tc.c:391: error: implicit >> declaration of function 'fmin' >> 3. >> make[2]: *** [/home/samco/linuxcnc-arc-case/src/emc/tp/tc.o] Error 1 >> 4. >> make[1]: *** [_module_/home/samco/linuxcnc-arc-case/src] Error 2 >> 5. >> make: *** [modules] Error 2 >> 6. >> make: Leaving directory `/home/samco/linuxcnc-arc-case/src' >> 7. >> samco@samco-desktop:~/linuxcnc-arc-case/src$ >> >> sam >> >> >> >> On 2/18/2014 10:54 AM, Robert Ellenberg wrote: >> > Thanks for the additional info! I've been working on correcting the >> > overages, which seem to come from the blend arc not being perfectly >> tangent >> > to the arc segments. As for the "drift" seen in that image, that's a >> bigger >> > issue, because it means that we're losing or gaining distance somewhere. >> > I'm 90% sure it's a simple issue with the Line-Arc case, so if that's >> true, >> > I should be able to fix it pretty easily. I've been using this program >> as >> > well, which has a good combination of lines and arcs: >> > >> > https://www.dropbox.com/s/cae1gaez3xvi6ia/blur_torus.ngc >> > >> ------------------------------------------------------------------------------ >> > Managing the Performance of Cloud-Based Applications >> > Take advantage of what the Cloud has to offer - Avoid Common Pitfalls. >> > Read the Whitepaper. >> > >> http://pubads.g.doubleclick.net/gampad/clk?id=121054471&iu=/4140/ostg.clktrk >> > _______________________________________________ >> > Emc-developers mailing list >> > [email protected] >> > https://lists.sourceforge.net/lists/listinfo/emc-developers >> > >> > >> >> >> ------------------------------------------------------------------------------ >> Managing the Performance of Cloud-Based Applications >> Take advantage of what the Cloud has to offer - Avoid Common Pitfalls. >> Read the Whitepaper. >> >> http://pubads.g.doubleclick.net/gampad/clk?id=121054471&iu=/4140/ostg.clktrk >> _______________________________________________ >> Emc-developers mailing list >> [email protected] >> https://lists.sourceforge.net/lists/listinfo/emc-developers >> > ------------------------------------------------------------------------------ Managing the Performance of Cloud-Based Applications Take advantage of what the Cloud has to offer - Avoid Common Pitfalls. Read the Whitepaper. http://pubads.g.doubleclick.net/gampad/clk?id=121054471&iu=/4140/ostg.clktrk _______________________________________________ Emc-developers mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/emc-developers
