Hello,
Our team is trying to use PID for the first time and we’re having some trouble with it. We are running the Rev Robotics Neo motors using the SparkMax motor controllers via CAN, and have two Neo motors on each side of the drivetrain.
Do we have to tune one motor at a time, or can we tune the PID numbers for both at the same time? We have tried to construct a CANPIDController using the Java API and put the constants on Smart Dashboard while plotting the encoder velocity values. We tried the online tutorials of PID tuning but the motors started to get too hot.
We have a few questions:
- Are there any step by step instructions for us to follow to tune pid given our situation?
- Do we just have to tune one motor at a time?
- Is there anything in our process that seems off or wrong?
- Does brake or coast mode on the motor controllers matter?
Thanks for any help in advance!