diff --git a/Changing-PIDF-Coefficients.md b/Changing-PIDF-Coefficients.md index 933ccdd..ad351eb 100644 --- a/Changing-PIDF-Coefficients.md +++ b/Changing-PIDF-Coefficients.md @@ -1,4 +1,4 @@ -The REV Robotics Expansion Hub allows a user to change the PIDF coefficients used for closed loop motor control. The PIDF coefficients are specific to each channel (motor port) and to each RunMode. +The REV Robotics Expansion Hub allows a user to change the PIDF coefficients used for closed loop motor control. The PIDF coefficients are specific to each channel (motor port) and to each RunMode. The following sample OpMode uses an extended or enhanced DcMotor class (called "DcMotorEx") to change the PIDF coefficients for the RUN_USING_ENCODER RunMode for a motor named "left_drive". The OpMode uses the setPIDFCoefficients method of the DcMotorEx class to change the values. This method is not available with the standard DcMotor class.