are you ready? hold on to your hat, here we go: http://www.anderswallin.net/2011/05/emc2-tpruncycle-revisited/
if this looks approximately right to someone other than me then please, please document this at least on the wiki or maybe even start a section of the manual with the simple_tp material from the wiki and this new pic/math! (sorry I don't have time for this now) Anders 2011/5/18 sudjer <[email protected]>: > Hi there everyone, > When i read the source code in void tcRunCycle(TP_STRUCT *tp, TC_STRUCT *tc, > double *v, int *on_final_decel) , I can't understand the follows mean: > discr = 0.5 * tc->cycle_time * tc->currentvel - (tc->target - > tc->progress); > discr = 0.25 * pmSq(tc->cycle_time) - 2.0 / tc->maxaccel * discr; > newvel = maxnewvel = -0.5 * tc->maxaccel * tc->cycle_time > +tc->maxaccel * pmSqrt(discr); > although i have read Simple Tp > Notes(wiki.linuxcnc.org/emcinfo.pl?action=hist...p;id=Simple_Tp_Notes), and > understand it. > Is there anyone can explain it? > Thank you very much. > Best regards! ------------------------------------------------------------------------------ What Every C/C++ and Fortran developer Should Know! Read this article and learn how Intel has extended the reach of its next-generation tools to help Windows* and Linux* C/C++ and Fortran developers boost performance applications - including clusters. http://p.sf.net/sfu/intel-dev2devmay _______________________________________________ Emc-developers mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/emc-developers
