On Thu, 30 Mar 2017 22:04:04 -0400 Gene Heskett <ghesk...@shentel.net> wrote:
> On Thursday 30 March 2017 15:07:41 John Kasunich wrote: > > > There was a time (in the late 1990's to early 2000's) when LinuxCNC > > (EMC back then) had three realtime threads. What we now know as the > > base and servo threads, and a third slower thread for the trajectory > > planner. Back in the day, computers couldn't necessarily do all the > > trajectory planner (and especially kinematics) math quick enough, so > > the planner ran at 1/10 the rate and the output was interpolated at > > the servo rate. > > > > The third thread went away in 2004 or so when EMC2 rewrote much of the > > motion controller. > > > > There is no mechanism for detecting unused ini file parameters, so it > > is quite possible that no code has actually used the parameters you > > mention in more than a decade. > > > > I'm not in a position to do it, but I wonder how hard it would be to > > grep thru the code to see if those parameters are used? If they're > > not, they should be deleted from the sample configs. > > > > John Kasunich > > Interesting comment, John K. > > So I fired up the editor and took both CYCLE_TIME settings in the .ini > file out of the ini file for my small mill. > > On running it, trajectory did not complain, but emcio did, saying it was > useing the default timing of .01 seconds, same as the ini file setting. > That did not prevent it from running. So I restored that one, but left > it commented out in the [TRAJ] section. > > Based on that, the [TRAJ] section CYCLE_TIME could probably go away. If there is no feedback it might be better to do more work at once. With a slower thread priority could be reduced. ------------------------------------------------------------------------------ Check out the vibrant tech community on one of the world's most engaging tech sites, Slashdot.org! http://sdm.link/slashdot _______________________________________________ Emc-users mailing list Emc-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/emc-users