Hi there everyone,
When i read the source code invoid 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

Reply via email to