Re: Speed accel deccel position function not working
Posted: Fri Nov 19, 2021 12:41 pm
1. You must have encoders on your motors.
2. They must be working properly with the Roboclaw(test using Motion Studio).
3. You must set the min and max position software limits(they default to 0 so the motors will not move.
4. You need to autotune or set the PID settings appropriately.
5. You must be able to move the motor properly using the Position Settings screen in Motion Studio. If it doesnt work here it isnt going to work in your code.
6. Then you should be able to use the position command to move properly.
If you think you have done all this please post your actual code and a screen shot of General Settings an d Position Settings in Motion Studio. and I will see if I can see a problem.
2. They must be working properly with the Roboclaw(test using Motion Studio).
3. You must set the min and max position software limits(they default to 0 so the motors will not move.
4. You need to autotune or set the PID settings appropriately.
5. You must be able to move the motor properly using the Position Settings screen in Motion Studio. If it doesnt work here it isnt going to work in your code.
6. Then you should be able to use the position command to move properly.
If you think you have done all this please post your actual code and a screen shot of General Settings an d Position Settings in Motion Studio. and I will see if I can see a problem.