aboutsummaryrefslogtreecommitdiffstats
path: root/src/endstop.c
diff options
context:
space:
mode:
authorKevin O'Connor <kevin@koconnor.net>2017-09-30 01:58:14 -0400
committerKevin O'Connor <kevin@koconnor.net>2017-09-30 19:37:37 -0400
commit776d8f9f79761fb3e9ae633290738a7c86118016 (patch)
treec0fb843685415ef9df962a691bed07ec4d50488e /src/endstop.c
parent61ee63f3583614346f52cd74fae2d37f399f5951 (diff)
downloadkutter-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