On Mon, Feb 09, 2015 at 03:51:32PM +0800, Arnold kang wrote: > hi all, > i'm reading the linuxptp code, and read pi.c many times, but i'm not sure > PI work in code . please help me , thanks! > > ps, freq_est_interval = 0.016 / s->ki, why 0.016?
It's an experimentally determined value. With smaller ki the servo is slower in ajdusting frequency, so the estimation interval is made longer to get a more accurate starting value and decrease the overall time needed to lock. -- Miroslav Lichvar ------------------------------------------------------------------------------ Dive into the World of Parallel Programming. The Go Parallel Website, sponsored by Intel and developed in partnership with Slashdot Media, is your hub for all things parallel software development, from weekly thought leadership blogs to news, videos, case studies, tutorials and more. Take a look and join the conversation now. http://goparallel.sourceforge.net/ _______________________________________________ Linuxptp-devel mailing list Linuxptp-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/linuxptp-devel