From 379482635b73d3c5fa19ffa191b4c8aeef093292 Mon Sep 17 00:00:00 2001 From: Titan Robotics Club Date: Fri, 7 Jun 2024 20:46:38 -0700 Subject: [PATCH] Update README.md --- README.md | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/README.md b/README.md index dcc39a3..916a313 100644 --- a/README.md +++ b/README.md @@ -66,6 +66,10 @@ Once the drive base is fully functional, the next step is to create subsystems f RobotParams.SLIDE_STALL_DETECTION_DELAY, RobotParams.SLIDE_STALL_DETECTION_TIMEOUT, RobotParams.SLIDE_STALL_ERR_RATE_THRESHOLD); // + // If you are using motor native PID control, you need to set PID tolerance. + // + slideMotor.setPositionPidTolerance(RobotParams.SLIDE_TOLERANCE); + // // Stall protection will detect motor stall and cut power to protect it. This is also required if // you want to enable zero calibration by motor stall (e.g. don't have lower limit switch). // A motor is considered stalled if: