Re: [Emc-developers] feedback in tp

2015-11-22 Thread Robert Ellenberg
That's roughly the idea, at least for arc blending. The geometry is set when the new segment is added to the queue. The TP creates a new position in 2 main steps: 1. Plan motion in 1 dimension (distance along the motion segments). This is done in tpCalculateTrapezoidalAccel and

Re: [Emc-developers] feedback in tp

2015-11-21 Thread Jullian
To my comprehension, if there's no feedback in TP, i think that when the TCs are finalized, their trajectorys are also determined , although we calculate the current position every TP cycle time of 1ms. Am i right? Can Rob or any others familiar with this reply? Thanks, Jullian. On Thu, Nov

[Emc-developers] feedback in tp

2015-11-18 Thread Jullian
Hi, Recently i'm reading the code in emcmotcontroller() especially the TP. There's always a doubt puzzling me that: is the feedback processed in tpRunCycle() ? or it's not ? or when a TC is finalized, the TC's trajectory is also finalized ? if so, why is it done to the TP every 1ms? if the

Re: [Emc-developers] feedback in tp

2015-11-18 Thread Eric Keller
feedback isn't handled in the TP, but it needs to know the current position so that it can plan where to go. On Wed, Nov 18, 2015 at 3:53 AM, Jullian wrote: > Hi, > Recently i'm reading the code in emcmotcontroller() especially the TP. > There's always a doubt puzzling me

Re: [Emc-developers] feedback in tp

2015-11-18 Thread Jullian
Thanks,Eric, What i mean using feedback is also including the current position. Where or how is the current position handled in TP? On Wed, Nov 18, 2015 at 9:18 PM, Eric Keller wrote: > feedback isn't handled in the TP, but it needs to know the current > position so that it