When simulating the robot with Gazebo, the robot would drift over time with no inputs. This PR increases the Kp and Kd values for the wheel, bump_caster, and caster. This change was inspired by other "fixes" throughout forums. The main idea is to increase stiffness (Kp) and then reduce any oscillations by increasing the dampening coefficient (Kd).
Before the change, after launching the sim, the robot would drift about 0.5-1m after ~5 min. After the change, there does not appear to be any movement after ~10 min.
When simulating the robot with Gazebo, the robot would drift over time with no inputs. This PR increases the Kp and Kd values for the wheel, bump_caster, and caster. This change was inspired by other "fixes" throughout forums. The main idea is to increase stiffness (Kp) and then reduce any oscillations by increasing the dampening coefficient (Kd).
Before the change, after launching the sim, the robot would drift about 0.5-1m after ~5 min. After the change, there does not appear to be any movement after ~10 min.