SimpleFOClibrary support for stepper motors

Hey @Owen_Williams,

This definitely makes sense!
Did you try to separate the motor.loopFOC() and motor.move(). Run loopFOC() in each loop() and move() with much lower frequency. This should do more or less the same thing.

I have done the same thing for my inverted pendulum project. You can see the code in:

1 Like

I had much better results with my robots slowing down motor.move(), but I was doing position control.
Do you think there might be a way to calculate the optimal frequency for motor.move()?