On Fri, Jun 30, 2017, at 05:46 PM, Les Newell wrote: > Is it possible for a real time HAL module to read config values from > disk? I guess I could do it the ugly way and have two modules, one in > user space to read the disk and pass values to the mealtime module. > > My lathe is pretty worn near the headstock so it tends to turn tapers > when working near the chuck. I want to write a kinematics module to > compensate for this taper, basically adding an offset to X depending on > the Z position. To do this I need to pass values to the kinematics > module in a similar way to leadscrew compensation. > > In the previous setup I had a simple kinematics-ish module just before X > PID but it was a hack and didn't work very well, with all of the values > hard coded. It also did ugly things when homing. > > Les
How many points do you need? If 16 or less, check out the lincurve component http://linuxcnc.org/docs/html/man/man9/lincurve.9.html -- John Kasunich jmkasun...@fastmail.fm ------------------------------------------------------------------------------ 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