> From: [email protected] > To: [email protected] > Date: Tue, 15 Dec 2015 15:05:30 +0800 > Subject: [Emc-developers] interpolation algorithm of linuxcnc > > hi~ frieds > > > I am studying the interpolation algorithm of linuxcnc. Now I've had some > trouble:The formula inside the algorithm is difficult to understand. > > discr_term1 = pmSq(tc_finalvel); > discr_term2 = maxaccel * (2.0 * dx - tc->currentvel * tc->cycle_time); > tmp_adt = maxaccel * tc->cycle_time * 0.5; > discr_term3 = pmSq(tmp_adt); > discr = discr_term1 + discr_term2 + discr_term3; > > > > > in addition,is there any document that can help me to grasp the algorithm? If > you can send me something or tell me the address,that's really wonderful~ > best regards > > > paul > ------------------------------------------------------------------------------
Not sure if this is helpful (and it's quite old now) http://wiki.linuxcnc.org/cgi-bin/wiki.pl?Trapezoidal_Velocity_Profile_Trajectory_Planner The simple tp is used for jogging: http://wiki.linuxcnc.org/cgi-bin/wiki.pl?Simple_Tp_Notes hopefully others can help better then I. Chris M ------------------------------------------------------------------------------ _______________________________________________ Emc-developers mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/emc-developers
