roboclaw python library speed control
Posted: Mon Oct 26, 2020 3:44 pm
Hello,
I would like to use the built-in PID speed controller. I am using the function:
If I feed a value of 0, it's all good; the motors don't move. If I feed it 1 or higher, it goes to max speed!!!!!
I initially thought it was my code but then I tried it in a super simple program and it did the same thing.
I might just implement my own PID and use the encoder feedback/pwm commands but I would love to know if I did something wrong.
I would like to use the built-in PID speed controller. I am using the function:
Code: Select all
SpeedM1M2 #(also tried SpeedM1)
I initially thought it was my code but then I tried it in a super simple program and it did the same thing.
I might just implement my own PID and use the encoder feedback/pwm commands but I would love to know if I did something wrong.