I think I found the problem. My refactor of the code that calculates arc
feed in canon assumed that CANON_AXIS_# was zero-indexed. As a result, it
was looking at the wrong pair of axes when finding limits.

Does anyone know why the constants in canon.hh typically start at one
instead of zero? It makes using these constants as indices of an array more
difficult, particular with modular arithmetic. Similarly, there seem to be
a bunch of enums that would do that already there, but commented out.

On Mar 15, 2014 3:10 PM, <sa...@empirescreen.com> wrote:

> both master and 2.5.3 act the same to me.  (I don't think the current tp
> has had any changes for a long time..)
>
> sam
>
> On Sat, 15 Mar 2014 15:06:38 -0400
>  Robert Ellenberg <rwe...@gmail.com> wrote:
> > By "current", do you mean 2.5.3, or master? I'd like to run that
> comparison
> > myself to see what's going on. It shouldn't be limited by Z axis velocity
> > at all with the new calculation, if the move is X and Y only.
> > On Mar 15, 2014 3:01 PM, <sa...@empirescreen.com> wrote:
> >
> > > I think there is still an issue on how it picks calculates the max
> > > velocity for a move when there are slower axis's.  Looking at steve.ngc
> > > again - if I make both x and y at 140ipm - and z is at 50ipm - it runs
> the
> > > whole profile at 50ipm (with a few short spikes faster..)
> > >
> > > I could not log the whole run because of the speed..
> > > http://imagebin.org/299492
> > >
> > > Even if I have no z moves in the profile - it still runs mostly at
> 50ipm
> > >
> > > If I set the z axis so it is the same velocity - then it works as
> > > expected.  (runs the profile at 140ipm)
> > >
> > > The current TP actually does better trying to get at the 140ipm - just
> a
> > > lot more jerky as it slows down for the blends..
> > >
> > > it runs it quite a bit faster.. 18 vs 24sec
> > > http://imagebin.org/299491
> > >
> > > thanks!
> > > sam
> > >
> > > On Wed, 12 Mar 2014 09:29:15 -0500
> > >  sam sokolik <sa...@empirescreen.com> wrote:
> > > > Yay!  Thanks rob!  I found out from seb that scratch debs get deleted
> > > > after 1 week.  (but we can force a rebuild)  He is thinking of making
> > > > the time frame longer.
> > > >
> > > > sam
> > > > On 3/11/2014 11:21 PM, Robert Ellenberg wrote:
> > > > > I just updated the RC3 branch with the latest experimental stuff.
> I'm
> > > not
> > > > > sure what happened to the debs, but since I pushed new commits, I
> think
> > > > > they're in the queue to be built. The name will be different, so
> I'll
> > > post
> > > > > a link to the 10.04 deb when it's done. All the scratch debs for
> 10.04
> > > RT
> > > > > are here if you want to take a look:
> > > > >
> > > > > http://buildbot.linuxcnc.org/dists/lucid/scratch-rt/
> > > > >
> > > > >
> > > > > On Tue, Mar 11, 2014 at 10:50 PM, sam sokolik <
> sa...@empirescreen.com
> > > >wrote:
> > > > >
> > > > >> Ok - I was just going to point someone to the Debs - but they
> don't
> > > seem
> > > > >> to be there...  (and I don't understand how to find out why ;) )
> > > > >>
> > > > >>
> > > > >>
> > >
> http://buildbot.linuxcnc.org/dists/lucid/scratch-rt/binary-i386/linuxcnc_2.6.0~pre~circular.blend.arc.rc3~12a6c8b_i386.deb
> > > > >>
> > > > >> also - rob - are you going to push the experimental3 changes to
> rc3?
> > > > >>
> > > > >> sam
> > > > >>
> > > > >>
> > > > >>
> > > > >> On 03/05/2014 09:08 PM, Robert Ellenberg wrote:
> > > > >>> Thanks to Seb's help, circular-blend-arc-rc3 is now available as
> a
> > > debian
> > > > >>> package in the scratch/rt and scratch/sim folders. The suffix is
> RC3
> > > > >>> instead of RC1 because I rebased a few times until we found a
> master
> > > > >> commit
> > > > >>> that passed all the tests.
> > > > >>>
> > > > >>> Since I made a bit of a mess pushing these branches, I'd like to
> > > clean
> > > > >> up a
> > > > >>> bit by deleting circular-blend-arc-rc1. It's been supersede by
> RC3,
> > > so
> > > > >>> leaving it in the repo will just cause confusion. My plan is to
> > > delete it
> > > > >>> by this Friday unless someone objects.
> > > > >>>
> > > > >>> In the meantime, for anyone who was holding out for the debian
> > > packages,
> > > > >>> you should be able to test the new TP. For safety, please run any
> > > > >> programs
> > > > >>> in a simulation build before risking your expensive hardware :)
> > > > >>>
> > > > >>> Setting up is pretty straightforward:
> > > > >>>
> > > > >>> 1) Download and install the .deb file for your system.
> > > > >>> 10.04 32 bit RT:
> > > > >>>
> > > > >>
> > >
> http://buildbot.linuxcnc.org/dists/lucid/scratch-rt/binary-i386/linuxcnc_2.6.0~pre~circular.blend.arc.rc3~12a6c8b_i386.deb
> > > > >>> 10.04 32 bit sim:
> > > > >>>
> > > > >>
> > >
> http://buildbot.linuxcnc.org/dists/lucid/scratch-sim/binary-i386/linuxcnc-sim_2.6.0~pre~circular.blend.arc.rc3~12a6c8b_i386.deb
> > > > >>> For other builds, go here and find your distribution /
> architecture:
> > > > >>> http://buildbot.linuxcnc.org/dists/
> > > > >>>
> > > > >>> 2) Update your machine configuration (ini file) with the
> following
> > > > >> settings
> > > > >>> under [TRAJ]:
> > > > >>>
> > > > >>> ARC_BLEND_ENABLE = 1
> > > > >>> ARC_BLEND_FALLBACK_ENABLE = 0
> > > > >>> ARC_BLEND_OPTIMIZATION_DEPTH = 50
> > > > >>> ARC_BLEND_GAP_CYCLES = 4
> > > > >>> ARC_BLEND_RAMP_FREQ = 20
> > > > >>>
> > > > >>> For more detail on what these settings mean, look here:
> > > > >>>
> > > > >>
> > >
> http://www.linuxcnc.org/index.php/english/forum/10-advanced-configuration/27368-new-trajectory-planner-testersprograms-wanted?start=120#44419
> > > > >>
> > >
> http://www.linuxcnc.org/index.php/english/forum/10-advanced-configuration/27368-new-trajectory-planner-testersprograms-wanted?start=130#44474
> > > > >>>
> > > > >>>
> > > > >>> On Wed, Mar 5, 2014 at 9:42 PM, sam sokolik <
> sa...@empirescreen.com>
> > > > >> wrote:
> > > > >>>> Ok - I finally got a chance to test some more real hardware.
>  This
> > > is a
> > > > >>>> bastard router that has 3 different steppers/drive (it was a
> > > converted
> > > > >>>> step/repeat machine.)  I built robs latest (RC3) from the
> linuxcnc
> > > git
> > > > >>>> and ran some of the test programs.  some good news one bad.
> > > > >>>>
> > > > >>>> Good news.  The motion is very smooth.  The program I was
> testing
> > > was
> > > > >>>> the LHchips4.ngc.  It sounds very nice.
> > > > >>>>
> > > > >>>> http://electronicsam.com/images/KandT/testing/LHchips4.ngc
> > > > >>>>
> > > > >>>> I found one issue.  A cutting profile containing more than 1
> axis
> > > will
> > > > >>>> only go as fast as the slowest axis.  This machine has 3
> different
> > > axis
> > > > >>>> velocities
> > > > >>>>
> > > > >>>> X 150ipm
> > > > >>>> Y 78IPM
> > > > >>>> Z 50IPM
> > > > >>>>
> > > > >>>> On the 'belly' of chips - there are long x-z profiles (mostly X
> > > moves).
> > > > >>>> The profiles would peak at 50ipm.  (they should peak at
> something
> > > > >>>> between X and Z.  The current TP actually runs that profile
> faster
> > > > >>>> (closer to 100ipm)  There are long XY profiles also - they peak
> at
> > > 78ipm
> > > > >>>> but should peak pretty close to 150ipm in some areas..
> > > > >>>>
> > > > >>>> I talked to Rob about this - he said I should post here in case
> > > others
> > > > >>>> have seen this issue and didn't know what was happening.  He has
> > > some
> > > > >>>> Ideas on solutions and will keep us posted.
> > > > >>>>
> > > > >>>> sam
> > > > >>>>
> > > > >>>> On 03/03/2014 05:12 PM, Robert Ellenberg wrote:
> > > > >>>>> Hi All,
> > > > >>>>>
> > > > >>>>> I just created a "release candidate" branch for circular arc
> > > blending:
> > > > >>>>>
> > > > >>>>>
> > > > >>
> > >
> http://git.linuxcnc.org/gitweb?p=linuxcnc.git;a=shortlog;h=refs/heads/circular-blend-arc-rc1
> > > > >>>>> It's identical to my github branch that Sam and others have
> been
> > > > >> testing.
> > > > >>>>> There was one small hiccup in pushing the new branch:
> > > > >>>>>
> > > > >>>>> remote: fatal: bad object
> 0000000000000000000000000000000000000000
> > > > >>>>>
> > > > >>>>> However, it looks like the build failed here:
> > > > >>>>>
> > > > >>>>>
> > > > >>
> > >
> http://buildbot.linuxcnc.org/buildbot/builders/1400.rip-wheezy-rtpreempt-amd64/builds/193
> > > > >>>>> I'm not sure how to interpret this error, but I suspect that
> since
> > > I
> > > > >>>> forked
> > > > >>>>> from master back in October, there have been fixes that my
> branch
> > > is
> > > > >>>>> missing.
> > > > >>>>>
> > > > >>>>> As a possible solution, I've been able to rebase the RC branch
> > > onto the
> > > > >>>>> lastest master with minimal changes. If there is a recent build
> > > that we
> > > > >>>>> know is solid, I can rebase my branch onto that and push it.
> If I
> > > go
> > > > >> down
> > > > >>>>> this route, should I increment the branch's name, or just
> > > overwrite the
> > > > >>>>> "bad" branch?
> > > > >>>>>
> > > > >>>>> -Rob
> > > > >>>>>
> > > > >>
> > >
> ------------------------------------------------------------------------------
> > > > >>>>> Subversion Kills Productivity. Get off Subversion & Make the
> Move
> > > to
> > > > >>>> Perforce.
> > > > >>>>> With Perforce, you get hassle-free workflows. Merge that
> actually
> > > > >> works.
> > > > >>>>> Faster operations. Version large binaries.  Built-in WAN
> > > optimization
> > > > >>>> and the
> > > > >>>>> freedom to use Git, Perforce or both. Make the move to
> Perforce.
> > > > >>>>>
> > > > >>
> > >
> http://pubads.g.doubleclick.net/gampad/clk?id=122218951&iu=/4140/ostg.clktrk
> > > > >>>>> _______________________________________________
> > > > >>>>> Emc-developers mailing list
> > > > >>>>> Emc-developers@lists.sourceforge.net
> > > > >>>>> https://lists.sourceforge.net/lists/listinfo/emc-developers
> > > > >>>>>
> > > > >>>>
> > > > >>>>
> > > > >>
> > >
> ------------------------------------------------------------------------------
> > > > >>>> Subversion Kills Productivity. Get off Subversion & Make the
> Move to
> > > > >>>> Perforce.
> > > > >>>> With Perforce, you get hassle-free workflows. Merge that
> actually
> > > works.
> > > > >>>> Faster operations. Version large binaries.  Built-in WAN
> > > optimization
> > > > >> and
> > > > >>>> the
> > > > >>>> freedom to use Git, Perforce or both. Make the move to Perforce.
> > > > >>>>
> > > > >>>>
> > > > >>
> > >
> http://pubads.g.doubleclick.net/gampad/clk?id=122218951&iu=/4140/ostg.clktrk
> > > > >>>> _______________________________________________
> > > > >>>> Emc-developers mailing list
> > > > >>>> Emc-developers@lists.sourceforge.net
> > > > >>>> https://lists.sourceforge.net/lists/listinfo/emc-developers
> > > > >>>>
> > > > >>
> > >
> ------------------------------------------------------------------------------
> > > > >>> Subversion Kills Productivity. Get off Subversion & Make the
> Move to
> > > > >> Perforce.
> > > > >>> With Perforce, you get hassle-free workflows. Merge that actually
> > > works.
> > > > >>> Faster operations. Version large binaries.  Built-in WAN
> optimization
> > > > >> and the
> > > > >>> freedom to use Git, Perforce or both. Make the move to Perforce.
> > > > >>>
> > > > >>
> > >
> http://pubads.g.doubleclick.net/gampad/clk?id=122218951&iu=/4140/ostg.clktrk
> > > > >>> _______________________________________________
> > > > >>> Emc-developers mailing list
> > > > >>> Emc-developers@lists.sourceforge.net
> > > > >>> https://lists.sourceforge.net/lists/listinfo/emc-developers
> > > > >>>
> > > > >>
> > > > >>
> > > > >>
> > >
> ------------------------------------------------------------------------------
> > > > >> Learn Graph Databases - Download FREE O'Reilly Book
> > > > >> "Graph Databases" is the definitive new guide to graph databases
> and
> > > their
> > > > >> applications. Written by three acclaimed leaders in the field,
> > > > >> this first edition is now available. Download your free book
> today!
> > > > >> http://p.sf.net/sfu/13534_NeoTech
> > > > >> _______________________________________________
> > > > >> Emc-developers mailing list
> > > > >> Emc-developers@lists.sourceforge.net
> > > > >> https://lists.sourceforge.net/lists/listinfo/emc-developers
> > > > >>
> > > > >
> > >
> ------------------------------------------------------------------------------
> > > > > Learn Graph Databases - Download FREE O'Reilly Book
> > > > > "Graph Databases" is the definitive new guide to graph databases
> and
> > > their
> > > > > applications. Written by three acclaimed leaders in the field,
> > > > > this first edition is now available. Download your free book today!
> > > > > http://p.sf.net/sfu/13534_NeoTech
> > > > > _______________________________________________
> > > > > Emc-developers mailing list
> > > > > Emc-developers@lists.sourceforge.net
> > > > > https://lists.sourceforge.net/lists/listinfo/emc-developers
> > > > >
> > > > >
> > > >
> > > >
> > > >
> > >
> ------------------------------------------------------------------------------
> > > > Learn Graph Databases - Download FREE O'Reilly Book
> > > > "Graph Databases" is the definitive new guide to graph databases and
> > > their
> > > > applications. Written by three acclaimed leaders in the field,
> > > > this first edition is now available. Download your free book today!
> > > > http://p.sf.net/sfu/13534_NeoTech
> > > > _______________________________________________
> > > > Emc-developers mailing list
> > > > Emc-developers@lists.sourceforge.net
> > > > https://lists.sourceforge.net/lists/listinfo/emc-developers
> > >
> > >
> > >
> > >
> ------------------------------------------------------------------------------
> > > Learn Graph Databases - Download FREE O'Reilly Book
> > > "Graph Databases" is the definitive new guide to graph databases and
> their
> > > applications. Written by three acclaimed leaders in the field,
> > > this first edition is now available. Download your free book today!
> > > http://p.sf.net/sfu/13534_NeoTech
> > > _______________________________________________
> > > Emc-developers mailing list
> > > Emc-developers@lists.sourceforge.net
> > > https://lists.sourceforge.net/lists/listinfo/emc-developers
> > >
> >
> ------------------------------------------------------------------------------
> > Learn Graph Databases - Download FREE O'Reilly Book
> > "Graph Databases" is the definitive new guide to graph databases and
> their
> > applications. Written by three acclaimed leaders in the field,
> > this first edition is now available. Download your free book today!
> > http://p.sf.net/sfu/13534_NeoTech
> > _______________________________________________
> > Emc-developers mailing list
> > Emc-developers@lists.sourceforge.net
> > https://lists.sourceforge.net/lists/listinfo/emc-developers
>
>
>
> ------------------------------------------------------------------------------
> Learn Graph Databases - Download FREE O'Reilly Book
> "Graph Databases" is the definitive new guide to graph databases and their
> applications. Written by three acclaimed leaders in the field,
> this first edition is now available. Download your free book today!
> http://p.sf.net/sfu/13534_NeoTech
> _______________________________________________
> Emc-developers mailing list
> Emc-developers@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/emc-developers
>
------------------------------------------------------------------------------
Learn Graph Databases - Download FREE O'Reilly Book
"Graph Databases" is the definitive new guide to graph databases and their
applications. Written by three acclaimed leaders in the field,
this first edition is now available. Download your free book today!
http://p.sf.net/sfu/13534_NeoTech
_______________________________________________
Emc-developers mailing list
Emc-developers@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-developers

Reply via email to