hereforawhile@lemmy.ml to Programming@programming.dev · 21 hours agowhat's the coolest thing you have ever programmed?message-squaremessage-square41fedilinkarrow-up177arrow-down11file-text
arrow-up176arrow-down1message-squarewhat's the coolest thing you have ever programmed?hereforawhile@lemmy.ml to Programming@programming.dev · 21 hours agomessage-square41fedilinkfile-text
minus-squareCameronDev@programming.devlinkfedilinkarrow-up10·20 hours agoIt fits up to a 4th order polynomial (going beyond 4th gets a bit silly), depending on the number of known pins. https://github.com/cameroncros/BeagleSight/blob/master/app/beaglesightlibs/src/main/java/com/cross/beaglesightlibs/bowconfigs/BowConfig.kt Uses an apache math library to solve the best fit line.
It fits up to a 4th order polynomial (going beyond 4th gets a bit silly), depending on the number of known pins.
https://github.com/cameroncros/BeagleSight/blob/master/app/beaglesightlibs/src/main/java/com/cross/beaglesightlibs/bowconfigs/BowConfig.kt
Uses an apache math library to solve the best fit line.