diff options
author | Kevin O'Connor <kevin@koconnor.net> | 2017-09-30 01:58:14 -0400 |
---|---|---|
committer | Kevin O'Connor <kevin@koconnor.net> | 2017-09-30 19:37:37 -0400 |
commit | 776d8f9f79761fb3e9ae633290738a7c86118016 (patch) | |
tree | c0fb843685415ef9df962a691bed07ec4d50488e /src/endstop.c | |
parent | 61ee63f3583614346f52cd74fae2d37f399f5951 (diff) | |
download | kutter-776d8f9f79761fb3e9ae633290738a7c86118016.tar.gz kutter-776d8f9f79761fb3e9ae633290738a7c86118016.tar.xz kutter-776d8f9f79761fb3e9ae633290738a7c86118016.zip |
clocksync: Update clock synchronization code to use a linear regression
Implement a "moving" linear regression between the reported mcu clock
and the sent_time of the get_status message that generated that
report. Use this linear regression to make predictions on the
relationship between the system time and the mcu clock.
Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
Diffstat (limited to 'src/endstop.c')
0 files changed, 0 insertions, 0 deletions