From cb97d471cedf100d5ec7ecc5e866e1dc9d275f67 Mon Sep 17 00:00:00 2001 From: FTC Engineering Date: Wed, 18 Oct 2017 17:50:18 -0400 Subject: [PATCH] Updated Changing PID Coefficients (markdown) --- Changing-PID-Coefficients.md | 2 ++ 1 file changed, 2 insertions(+) diff --git a/Changing-PID-Coefficients.md b/Changing-PID-Coefficients.md index 57df631..85d0aed 100644 --- a/Changing-PID-Coefficients.md +++ b/Changing-PID-Coefficients.md @@ -2,6 +2,8 @@ The REV Robotics Expansion Hub allows a user to change the PID coefficients used The following op mode uses an extended or enhanced DcMotor class (called "DcMotorEx") to change the PID coefficients for the RUN_USING_ENCODER mode for a motor named "left_drive". The op mode uses the setPIDCoefficients method of the DcMotorEx class to change the values. This method is not available with the standard DcMotor class. +Note that changes made to the PID coefficients do not persist if you power cycle the REV Robotics Expansion Hub. If you need your changes to the PID to persist, you should consider modifying your op mode to store state information on the Android phone. The Android Developer website has a tutorial on how to save data from your app onto an Android device (see https://developer.android.com/training/basics/data-storage/index.html). + ``` package org.firstinspires.ftc.teamcode;