Closed chenzc217 closed 1 year ago
Hello, which evaluation board do you want to use with the ramp? If you are e.g. using the TMC4671-EVAL then you can use "tmc/ramp/LinearRamp.h" as shown in the include of the eval board: https://github.com/trinamic/TMC-EvalSystem/blob/master/boards/TMC4671_eval.c.
Regards, Enrico
OK,thanks
There are 6 files in the X:\TMC\TMC-API-master\tmc\ramp folder, including two sets of files, one set of author is created by ed on 07, 23, 2018, and the other set of author is created by LK on 09 11, 2018. I think the newer the date, the more complete the function will be, but I only see the comment but not the content in LK's document. (// We're still too fast, we're going to miss the target position // Let the deceleration continue until velocity is zero, then either // home when within homing distance or start a new ramp (RAMP_DRIVING) // towards the target.) Which author's linear ramp generator file do I need to use? Please help me to use the ramp generator in my project