I have made some work on a micro controller based stepper generator and steps are now generated.
To keep stepper generator in sync with linuxcnc there is a need to calculate average phase and period of the message arrival times. I expect the same algorithm is rather useful to have then working with linuxcnc for other purposes and I will send the source code once implemented if somebody else is interested in it. Is is rather straightforward to calculate from for example the last 100 arrival times but a moving average algorithm would be preferred to reduce CPU load. Do anybody have any ideas? Regards Nicklas Karlsson ------------------------------------------------------------------------------ Find and fix application performance issues faster with Applications Manager Applications Manager provides deep performance insights into multiple tiers of your business applications. It resolves application problems quickly and reduces your MTTR. Get your free trial! http://pubads.g.doubleclick.net/ gampad/clk?id=1444514301&iu=/ca-pub-7940484522588532 _______________________________________________ Emc-users mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/emc-users
