Page 1 of 1

Re: SetM1VelocityPID

Posted: Tue Sep 27, 2016 12:01 pm
by Basicmicro Support
1. Make sure you have the latest arduino library straight from our website.
2. We dont recommend setting the PID constants in the arduino program. It is better to set them and test them using the IonMotion PC app and then save the settings to the Roboclaw so you dont need to hard code thes values in your arduino code.
3. I believe the syntax for the arduino library for the SetM#Velocity commands was rearranged in the last update. It sounds like the examples need to have the commands removed in general, but if you are going to hard code the PID values you should use the new syntax(Kp,Ki,Kd order)