Re: [Emc-developers] FW: About cycle_time

2015-05-08 Thread matic bie
Can anyone help me ? > > Hi: nexttc->cycle_time = tp->cycleTime - tc->cycle_time; > http://git.linuxcnc.org/gitweb?p=linuxcnc.git;a=blob;f=src/emc/tp/tp.c;h=53cfc41aa66145539f1dcebe3a20066370ebba86;hb=f699c1cc1b108c871b2eb6607d8116dece7af6b3#l2969 > > What do the tp->cycleTime and tc->cycle_tim

[Emc-developers] FW: About cycle_time

2015-05-07 Thread matic bie
Hi:nexttc->cycle_time = tp->cycleTime - tc->cycle_time; http://git.linuxcnc.org/gitweb?p=linuxcnc.git;a=blob;f=src/emc/tp/tp.c;h=53cfc41aa66145539f1dcebe3a20066370ebba86;hb=f699c1cc1b108c871b2eb6607d8116dece7af6b3#l2969 What do the tp->cycleTime and tc->cycle_time represent, is the tp->cycleTi

Re: [Emc-developers] where the whole path is divided into segment by segment

2015-05-05 Thread matic bie
> From: bodge...@gmail.com > Date: Tue, 5 May 2015 14:01:03 +0100 > To: emc-developers@lists.sourceforge.net > Subject: Re: [Emc-developers] where the whole path is divided into segment > by segment > > On 5 May 2015 at 13:48, matic bie wrote: > > > ht

Re: [Emc-developers] where the whole path is divided into segment by segment

2015-05-05 Thread matic bie
> > http://git.linuxcnc.org/gitweb?p=linuxcnc.git;a=blob;f=src/emc/tp/tc_types.h;h=fe2ee4d7e474e250753a55b86e1def373d18f2cf;hb=f699c1cc1b108c871b2eb6607d8116dece7af6b3#l117 > > I still don't actually understand the question, but "progress" is the > position along the current motion segment. I don

Re: [Emc-developers] where the whole path is divided into segment by segment

2015-05-05 Thread matic bie
> From: bodge...@gmail.com > Date: Tue, 5 May 2015 11:51:40 +0100 > To: emc-developers@lists.sourceforge.net > Subject: Re: [Emc-developers] where the whole path is divided into segment > by segment > > On 5 May 2015 at 11:31, matic bie wrote: > > Does anyon

Re: [Emc-developers] where the whole path is divided into segment by segment

2015-05-05 Thread matic bie
> From: ghesk...@wdtv.com > To: emc-developers@lists.sourceforge.net > Date: Sun, 3 May 2015 10:44:22 -0400 > Subject: Re: [Emc-developers] where the whole path is divided into segment > by segment > > On Sunday 03 May 2015 09:21:55 matic bie wrote: > > > From: g

Re: [Emc-developers] where the whole path is divided into segment by segment

2015-05-03 Thread matic bie
> From: ghesk...@wdtv.com > To: emc-developers@lists.sourceforge.net > Date: Sun, 3 May 2015 06:22:32 -0400 > Subject: Re: [Emc-developers] where the whole path is divided into segment > by segment > > Ahh, I see. It will help if you mentally substitute the "0" with "where > it is at", its

Re: [Emc-developers] where the whole path is divided into segment by segment

2015-05-03 Thread matic bie
sts.sourceforge.net > Date: Sat, 2 May 2015 00:36:08 -0400 > Subject: Re: [Emc-developers] where the whole path is divided into segment > by segment > > On Saturday 02 May 2015 00:04:22 matic bie wrote: > > Can anyone help me? > > Welcome to the list! >

Re: [Emc-developers] where the whole path is divided into segment by segment

2015-05-01 Thread matic bie
Can anyone help me? > From: matic@hotmail.com > To: emc-developers@lists.sourceforge.net > Date: Wed, 29 Apr 2015 11:16:22 + > Subject: [Emc-developers] where the whole path is divided into segment by > segment > > Hi,allWhat puzzles me is that where the whole path is divided into s

[Emc-developers] where the whole path is divided into segment by segment

2015-04-29 Thread matic bie
Hi,allWhat puzzles me is that where the whole path is divided into segment by segment in linuxCNC code?can anyone explain? Best regards! -- One dashboard for servers and applications a

Re: [Emc-developers] TP_MIN_SEGMENT_CYCLES

2015-04-23 Thread matic bie
Thank you very much,Rob,what still puzzle me is: 1)As in tpCheckEndCondition(), it says like following:"} else if (dt < tp->cycleTime ) {tc_debug_print(" corrected v_f = %f, a = %f\n", v_f, a); tcSetSplitCycle(tc, dt, v_f);" so,is the tp->cycleTime

[Emc-developers] segmentTime

2015-04-09 Thread matic bie
Hi,As the code showed below in the images: In the first, the segmentTime is setted to be the servo_period.My question is :why is it setted to the servo_period? Can the segmentTime be changed, by other value? 1)static int setServoCycleTime(double secs) 2)int cubicAddPoint(

[Emc-developers] segmentTime

2015-04-09 Thread matic bie
Hi,As the code showed below in 1) and 2), in 1) ,the segmentTime is setted to be the servo_period.My question is :why is it setted to the servo_period? Can the segmentTime be changed, by other value? 1)motion.c:static int setServoCycleTime(double secs)for (t = 0; t < num_joints; t++)

Re: [Emc-developers] emcmotCommandHandler

2015-03-28 Thread matic bie
"task" reversally?2) From your description, can i conclude that the change of head++ and tail++ are made by hardware not by soft code? > On Sun, Mar 29, 2015 at 12:02:43AM +, matic bie wrote: > > Hi,friends: > > The source codes showed in the following picture, my pu

[Emc-developers] emcmotCommandHandler

2015-03-28 Thread matic bie
Hi,friends: The source codes showed in the following picture, my puzzling question : 1) I looked up all the project's codes ,but i did not find anywhere the "emcmotCommand->head" and "emcmotCommand->tail"changes. Can anyone know ?2)"emcmotDebug->split++", here what's the meaning of the word

[Emc-developers] get_pos_cmds()

2015-03-24 Thread matic bie
Hi, my friends: the source codes following: In the file motion/control.c,line1116:,in the function of get_pos_cmds(): the vel_req is calculated by the expression as showed above. my question is:what,s the meaning of the expression? or is it from a formula? If true,what,s the formula? Now,i can c