The realtime now builds.  Yay!





On 2/19/2014 3:40 PM, Robert Ellenberg wrote:
> Excellent! I think I fixed the build issue, and that rtapi error as well. I
> left an error message in there that was no longer valid, so that's been
> removed. To fix the build issue, I made a few tweaks to rtapi_math.h to
> include fmin and fmax. I don't know if this is the best long term solution
> since there's probably a reason it was omitted. However, since I'm using it
> anyway, it might as well be there for now.
>
> My next step is to squash all this down onto v2.5_branch so that it can be
> merged into future releases. I had some issues building v2.5_branch
> ('failed to remake Makefile'), but if I can get it built, it shouldn't be
> much work to get it running.
>
> -Rob
>
>
> On Wed, Feb 19, 2014 at 10:41 AM, sam sokolik <[email protected]>wrote:
>
>> I get 2 'aborting after length change!' on tort.ngc.   I was wondering
>> why it runs almost all paraboc blends until it dawned on me that none of
>> the arc-arc, arc-line segments are coplanar..  :) The tool path and
>> actual path do line up now. Yay!
>>
>> sam
>> On 2/19/2014 7:07 AM, sam sokolik wrote:
>>> I do get the same (I think) fmin error on the reatime build though.
>>>
>>> make[1]: Leaving directory `/usr/src/linux-headers-2.6.32-122-rtai'
>>> /home/samco/linuxcnc-arc-case/src/emc/tp/tc.c: In function
>>> ‘tcFindBlendTolerance’:
>>> /home/samco/linuxcnc-arc-case/src/emc/tp/tc.c:397: error: implicit
>>> declaration of function ‘fmin’
>>> make[2]: *** [/home/samco/linuxcnc-arc-case/src/emc/tp/tc.o] Error 1
>>> make[1]: *** [_module_/home/samco/linuxcnc-arc-case/src] Error 2
>>> make: *** [modules] Error 2
>>> make: Leaving directory `/home/samco/linuxcnc-arc-case/src'
>>> samco@samco-desktop:~/linuxcnc-arc-case/src$ git pull
>>> Already up-to-date.
>>> samco@samco-desktop:~/linuxcnc-arc-case/src$ git describe
>>> v2.5.3-2703-g0b74121
>>> samco@samco-desktop:~/linuxcnc-arc-case/src$
>>>
>>> sam
>>>
>>> On 2/18/2014 5:29 PM, Robert Ellenberg wrote:
>>>> 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
>>>>
>>>>
>>>
>> ------------------------------------------------------------------------------
>>> 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


------------------------------------------------------------------------------
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

Reply via email to