Skip to main content Link Menu Expand (external link) Document Search Copy Copied

DriveController& setThreshold(int threshold)

Sets the joystick threshold for the controller

Parameter

  • threshold - The threshold for the controller

Example

DriveController dc = DriveController(&chassis);
dc.setThreshold(20);