Announcement

Collapse
No announcement yet.

Turning off PID

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • Turning off PID

    Does anyone know how to turn off PID control in android studio?

  • #2
    Code:
     
     driveMotor.setMode(DcMotor.RunMode.RUN_WITHOUT_ENCODER);
    You can still read encoder values but the controller won't try to run to a specific position (RUN_TO_POSITION) or maintain a speed (RUN_USING_ENCODER) with PID.

    Comment

    Working...
    X