kjk25 / TMC2209_ESP32

a port of a TMC2209 Python Raspberry lib to Micropython esp32 Lolin32 Board
GNU General Public License v3.0
8 stars 5 forks source link

Are these equations correct? #1

Open PortRoyale opened 1 year ago

PortRoyale commented 1 year ago

For example, after referencing the speed profile document (https://web.archive.org/web/20140705143928/http://fab.cba.mit.edu/classes/MIT/961.09/projects/i0/Stepper_Motor_Speed_Profile.pdf) I have come the conclusion that they are not implemented correctly. I believe their should be a 'self._c_n_minus_1' term in accordance to the speed profiler. The homing function suffers and the computenewspeed. I am working on a fix, but does this sound right?