Threading air.. The motion seems a lot more consistent - no funny blip the original did. run after run looked pretty much identical in halscope.
http://electronicsam.com/images/KandT/testing/robthreading/latest/newthreadingfix.png motion.spindle-tracking-gain set to .5 http://electronicsam.com/images/KandT/testing/robthreading/latest/newthreadingfixmotion.spindle-tracking-gain.5.png I am still getting the error about the spindle going too fast.. You can see the threading is happening at 19.12 ipm and the axis max vel is 30ipm. I tried a similar config and got the same result (could be both configs have some odd issue we have not figured out.) http://electronicsam.com/images/KandT/testing/robthreading/latest/newthreadingfix2Error.png Current 2.7 behavior with the blip at the beginning (again - didn't see this with your latest push) http://electronicsam.com/images/KandT/testing/robthreading/latest/current2.png Again - great work! sam On 12/11/2016 08:17 AM, Robert Ellenberg wrote: > Ahh, that would have been smart to include before: > > - sim_spindle_encoder's position signal is now quantized based on > encoder resolution. > - Use motion.spindle-speed-in as the velocity reference for spindle > position tracking (falls back to old velocity calculation if this pin is > unconnected) > - Tweak position error correction math to reduce acceleration jitter > - Add a HAL pin, motion.spindle-tracking-gain (range 0.0 to 1.0) to > control how aggressive position tracking is. 1.0 is stock behavior, 0.0 is > no position tracking. > - Fix "sync_accel" phase of position tracking for low-count encoders. > - Experimental fix for issue 167 > <https://github.com/LinuxCNC/linuxcnc/issues/167> by popping an error > message to the user and reducing spindle speed (if possible) > - Fix for issue 68 <https://github.com/LinuxCNC/linuxcnc/issues/68> by > disabling blending at start of G33 (to be consistent w/ 2.6.x) > > Backend changes: > > - Group some spindle status variables into struct: > - Motion spindle command outputs are in a struct called "spindle_cmd" > in emcStatus > - motion spindle inputs are now in a struct called "spindle_fb" > - Math tweaks to rigid tapping / position tracking to prevent > discontinuities due to sign changes. > > -Rob > > On Sun, Dec 11, 2016 at 8:20 AM andy pugh <bodge...@gmail.com> wrote: > > On 11 December 2016 at 06:30, Robert Ellenberg <rwe...@gmail.com> wrote: >> For anyone interested in testing, my latest branch based on Peter's >> suggestion, and a bunch of other spindle tracking fixes is here: > Can you explain what is changed and improved? > > -- > atp > "A motorcycle is a bicycle with a pandemonium attachment and is > designed for the especial use of mechanical geniuses, daredevils and > lunatics." > — George Fitch, Atlanta Constitution Newspaper, 1916 > > ------------------------------------------------------------------------------ > Developer Access Program for Intel Xeon Phi Processors > Access to Intel Xeon Phi processor-based developer platforms. > With one year of Intel Parallel Studio XE. > Training and support from Colfax. > Order your platform today.http://sdm.link/xeonphi > _______________________________________________ > Emc-developers mailing list > Emc-developers@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/emc-developers > ------------------------------------------------------------------------------ > Developer Access Program for Intel Xeon Phi Processors > Access to Intel Xeon Phi processor-based developer platforms. > With one year of Intel Parallel Studio XE. > Training and support from Colfax. > Order your platform today.http://sdm.link/xeonphi > _______________________________________________ > Emc-developers mailing list > Emc-developers@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/emc-developers ------------------------------------------------------------------------------ Developer Access Program for Intel Xeon Phi Processors Access to Intel Xeon Phi processor-based developer platforms. With one year of Intel Parallel Studio XE. Training and support from Colfax. Order your platform today.http://sdm.link/xeonphi _______________________________________________ Emc-developers mailing list Emc-developers@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/emc-developers